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

{{__("Support Locations")}}

{{__("Control And View All Support Locations")}}

@endsection @section("content") @include("includes.dialog")
@if(hasPermissions(["edit-delivery-price", "delete-delivery-price"])) @endif @foreach($locations as $location) @if(hasPermissions(["edit-delivery-price", "delete-delivery-price"])) @endif @endforeach
#{{__("ID")}} {{__("Location")}} {{__("Support")}}{{__("Control")}}
{{$location->id}} {{ $location->country . (!empty($location->governorate) ? " - " . $location->governorate : null) . (!empty($location->locality) ? " - " . $location->locality : null) . (!empty($location->sub_locality) ? " - " . $location->sub_locality : null) . (!empty($location->neighborhood) ? " - " . $location->neighborhood : null) }} {{$location->support ? "Yes" : "No"}} @if(hasPermissions("edit-delivery-price")) id)}}" class="control-link edit"> @endif @if(hasPermissions("delete-delivery-price"))
id)}}" method="post" id="delete{{$location->id}}" style="display: none" data-swal-title="{{__("Delete Location")}}" data-swal-text="{{__("Are Your Sure To Delete This Location ?")}}" data-yes="{{__("Yes")}} data-no="{{__("No")}} data-success-msg="{{__('the location has been deleted succssfully')}}">@csrf @method("delete")
@endif
@endsection @section("scripts") @endsection