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

{{__("Tracking Shipments")}}

{{__("All Tracking Shipments")}}

@endsection @section("content") @include("includes.dialog")
@if(isPermissionsAllowed("control-tracking-shipments"))
@csrf {{__("Export As Excel")}}
@endif
{{-- --}} @if(isPermissionsAllowed("control-tracking-shipments")) @endif @foreach($shipments as $shipment) {{-- --}} @if(isPermissionsAllowed("control-tracking-shipments")) @endif @endforeach
{{__("ID")}}{{__("Serial Number")}} {{__("Title")}} {{__("URL")}} {{__("Image")}}{{__("Control")}}
{{$shipment->id}}{{$serial_number++}} {{$shipment->title}} {{$shipment->url}} @if($shipment->getFirstMediaFile()) @endif id)}}" class="control-link edit">
id)}}" method="post" id="delete{{$shipment->id}}" style="display: none" data-swal-title="{{__("Delete Tracking Shipment")}}" data-swal-text="{{__("Are You Sure To Delete This Tracking Shipment?")}}" data-yes="{{__("Yes")}}" data-no="{{__("No")}}" data-success-msg="{{__("the Tracking Shipment has been deleted successfully")}}">@csrf @method("delete")
@endsection @section("scripts") @endsection