@extends('layouts.admin.app') @section('content')
@if( Session::get('permissions.user_type') == 'A' )
@foreach (['danger', 'warning', 'success', 'info'] as $msg) @if(Session::has('alert-' . $msg))

{{ Session::get('alert-' . $msg) }}

@endif @endforeach
Category
@if(count($result) > 0)
@php $i=1; @endphp @foreach($result as $key => $data) @endforeach
No. Name Slug Banner Created Date Status Action
{{ $i + $key }} {{$data->name}} {{$data->slug}} @if($data->image != null ) @endif {{date('d-m-Y', strtotime($data->created_at))}} {{-- --}}
@else
No Data Found...
@endif
@endif
@endsection