@extends("layouts.dashboard.app") @section("page-title") {{__('Delivery Price')}} @endSection @section("page-nav-title")

{{__('All Delivery Price Locations')}}

{{__('Control and view all Delivery Price Locations')}}

@endsection @section("content") @include("layouts.main-parts.page-message")
@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')}} {{__('Price')}} {{__('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->price >=0 ? $location->price . " JOD" : null}} {{$location->supported == 1 ? "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