@include('Partials.Pages.index_top')
@lang('category') |
@lang('name') |
@lang('available') |
@lang('lent') |
@lang('reserved') |
@lang('total') |
@lang('action') |
@foreach($data as $cabel)
{{$cabel->category->name}}
|
{{$cabel->name}}
|
{{$cabel->total - (count($cabel->loans) + count($cabel->reservations))}}
|
{{count($cabel->loans)}}
|
{{count($cabel->reservations)}}
|
{{$cabel->total}}
|
@can('cabels_edit')
@lang('edit')
@endcan
@can('cabels_restore')
@lang('restore')
@endcan
@can('cabels_delete_force')
@lang('delete_force')
@endcan
|
@endforeach
@include('Partials.Pages.display')
@endsection
@section('scripting')
@endsection