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

{{__("main-classifications")}}

{{__("all-main-classifications")}}

@endsection @section("content")
@if(isPermissionsAllowed("create-main-classification")) @endif
@csrf {{__("Export As Excel")}}
@if(isPermissionsAllowed("view-and-control-items")) @endif @if(isPermissionsAllowed("edit-main-classification", "delete-main-classification")) @endif @foreach($classifications as $classification) @if(isPermissionsAllowed("edit-main-classification", "delete-main-classification")) @endif @endforeach
# {{__("code")}} {{__("en-name")}} {{__("ar-name")}}{{__("view-items")}}{{__("control")}}
{{$serial_number++}} {{$classification->code}} {{$classification->name}} {{$classification->name_ar}} $classification->id])}}" class="btn btn-primary mb-3">{{__("view-items")}} @if(isPermissionsAllowed("edit-main-classification")) id)}}" class="control-link edit"> @endif @if(isPermissionsAllowed("delete-main-classification")) @if($classification->delete == 1)
id)}}" method="post" id="delete{{$classification->id}}" style="display: none" data-swal-title="{{__("delete-classification")}}" data-swal-text="{{__("are-you-sure-to-delete-this-classification?")}}" data-yes="{{__("yes")}}" data-no="{{__("no")}}" data-success-msg="{{__("the-classification-has-been-deleted-successfully")}}">@csrf @method("delete")
@endif @endif
@endsection