@extends('layouts.admin-simple') @section('title', 'Item Categories') @section('breadcrumb') @endsection @section('page-title')

Item Categories

Manage item categories and types of goods

@can('warehouse.item-categories.create')
@endcan
@endsection @section('content')
clearClear
category Item Categories List {{ $categories->total() }} Total
Showing {{ $categories->firstItem() ?? 0 }} - {{ $categories->lastItem() ?? 0 }} of {{ $categories->total() }}
@forelse($categories as $category) @empty @endforelse
Category Info Type of Goods Status Items Count Created Date Actions
category
{{ $category->category_name }}
{{ $category->category_code ?: 'N/A' }}
{{ $category->description ?: 'No description' }}
{{ $category->type_of_goods }} @if($category->status === 'active') Active @else Inactive @endif {{ $category->active_items_count ?? 0 }} items
{{ $category->created_at->format('M d, Y H:i') }}
by Admin
visibility @can('warehouse.item-categories.edit') edit @endcan @can('warehouse.item-categories.delete') @endcan
category

No item categories found.

@if($categories->hasPages())

Showing page {{ $categories->currentPage() }} of {{ $categories->lastPage() }}

@endif
{{ $categories->links('pagination::bootstrap-4') }}
@endsection @push('styles') @endpush @push('scripts') @endpush