@extends("layouts.admin.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")

{{__("item-units")}}

{{__("all-item-units")}}

@endsection @section("content")
@if(isPermissionsAllowed("create-item-unit")) @endif
@csrf {{__("Export As Excel")}}
@if(isPermissionsAllowed("edit-item-unit","delete-item-unit")) @endif @foreach($units as $unit) @if(isPermissionsAllowed("edit-item-unit","delete-item-unit")) @endif @endforeach
# {{__("unit-name")}}{{__("control")}}
{{$serial_number++}} {{$unit->unit_name}} @if(isPermissionsAllowed("edit-item-unit")) id)}}" class="control-link edit"> @endif @if($unit->delete == 1) @if(isPermissionsAllowed("delete-item-unit"))
id)}}" method="post" id="delete{{$unit->id}}" style="display: none" data-swal-title="{{__("delete-item-unit")}}" data-swal-text="{{__("are-you-sure-to-delete-this-item-unit?")}}" data-yes="{{__("yes")}}" data-no="{{__("no")}}" data-success-msg="{{__("the-item-unit-has-been-deleted-successfully")}}">@csrf @method("delete")
@endif @endif
@endsection