@extends('layouts.app') @section('content')
Showing all Categories {{-- --}}
{{-- @if(config('usersmanagement.enableSearchUsers')) @include('partials.search-users-form') @endif --}}
@foreach($categories as $category) @if($category->status == 1) @else @endif {{-- --}} @endforeach
Total {{ $categories->count()}} Categories found
Sl. Id Name Status Create Date Update Date Action
{{$loop->iteration}} {{$category->id}} {{$category->category_name}}ActiveInactive{{date_format(date_create($category->created_at), 'd M, y h:i A')}} {{date_format(date_create($category->updated_at), 'd M, Y h:i A')}} {!! trans('clienttype.buttons.show') !!} Edit Category
{{-- {!! Form::open(array('url' => 'categories/' . $category->id, 'class' => '', 'title' => 'Delete')) !!} {!! Form::hidden('_method', 'DELETE') !!} {!! Form::button(' Delete Category', array('class' => 'btn btn-danger btn-sm','type' => 'button', 'data-bs-toggle' => 'modal', 'data-bs-target' => '#confirmDelete', 'data-bs-title' => 'Delete Category', 'data-bs-message' => 'Are you sure to delete this category ?')) !!} {!! Form::close() !!} --}}
@csrf @method('DELETE')
{{-- @if(config('users.enablePagination')) {{ $categories->links() }} @endif --}}
@include('modals.modal-delete') @endsection @section('footer_scripts') @include('scripts.delete-modal-script') {{-- @include('scripts.change-modal-link-script') --}} @endsection