@lang('View Delivery Locations')
@can('delete', App\DeliveryLocation::class) {{csrf_field()}}
@endcan
@lang('Advanced Search')
@can('delete', App\DeliveryLocation::class) @endcan @if((Auth::user()->can('update', App\DeliveryLocation::class)) || (Auth::user()->can('delete', App\DeliveryLocation::class))) @endif @if(count($deliveryLocations) > 0) @foreach($deliveryLocations as $location) @can('delete', App\DeliveryLocation::class) @endcan @php $status = 'Inactive'; if ($location->status == 1){ $status = 'active'; } @endphp @if((Auth::user()->can('update', App\DeliveryLocation::class)) || (Auth::user()->can('delete', App\DeliveryLocation::class))) @endif @endforeach @endif
@lang('ID') @lang('Country') @lang('State') @lang('City') @lang('Zip Code') @lang('Status') @lang('Created Date')@lang('Action')
{{$location->id}} {{$location->country}} {{$location->state}} {{$location->city}} {{$location->pincode}} {{$status}} {{$location->created_at}} @can('update', App\DeliveryLocation::class) @endcan   @can('delete', App\DeliveryLocation::class) @endcan