@extends('Layouts.master') @section('content')
@include('Partials.Pages.index_top') @foreach($data as $cabel) @endforeach
@lang('category') @lang('name') @lang('available') @lang('lent') @lang('reserved') @lang('total') @lang('action')
{{$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
@include('Partials.Pages.display')
@endsection @section('scripting') @endsection