@extends('layouts.app') @section('content')

{{ __('Unit List') }}

@hasPermission('admin.unit.create') @endhasPermission
@hasPermission('admin.unit.toggle') @endhasPermission @hasPermission('admin.unit.edit') @endhasPermission @forelse($units as $key => $unit) @php $serial = $units->firstItem() + $key; @endphp @hasPermission('admin.unit.toggle') @endhasPermission @hasPermission('admin.unit.edit') @endhasPermission @empty @endforelse
{{ __('SL') }} {{ __('Name') }}{{ __('Status') }}{{ __('Action') }}
{{ $serial }} {{ $unit->name }}
{{ __('No Data Found') }}
{{ $units->withQueryString()->links() }}
@csrf
@csrf @method('PUT')
@endsection @push('scripts') @endpush