@extends('layouts.user', ['header' => true, 'nav' => true, 'demo' => true, 'settings' => $settings]) @section('content')
@foreach ($categories as $category) @php $time = strtotime($category->created_at); $newformat = date('Y-m-d h:i A',$time); @endphp @endforeach
{{ __('S.No') }} {{ __('Created At') }} {{ __('CategoryID') }} {{ __('Name') }} {{ __('Status') }} {{ __('Actions') }}
{{ $loop->iteration }}{{ $newformat }} {{ $category->category_id }} {{ $category->category_name }} @if ($category->status == 0) {{ __('Disabled') }} @else {{ __('Enabled') }} @endif
@include('user.includes.footer')
{{-- Status --}} {{-- Delete --}} {{-- Custom JS --}} @section('scripts')