@extends('admin.layouts.app') @section('main_content')

{{ translate($title) }}

@if(request()->routeIs("admin.shipping.zone.edit")) {{ translate('Update Zone') }} @else {{ translate('Add Zone') }} @endif
@if(request()->routeIs("admin.shipping.zone.edit")) @endif
@php $route = route('admin.shipping.zone.store'); if(request()->routeIs("admin.shipping.zone.edit")){ $updateableZone = $zones->where("id",request()->route('id'))->first(); $route = route('admin.shipping.zone.update'); } @endphp
@csrf @if(request()->routeIs("admin.shipping.zone.edit")) @endif
name : old('name') }}" type="text" class="form-control" id="name" name="name" placeholder="{{ translate('Enter Name') }}" required>
@if(!request()->routeIs("admin.shipping.zone.edit"))
@endif
{{ translate('Zone List') }}
@forelse ($zones as $zone) @empty @endforelse
# {{ translate('Name') }} {{ translate('Visible/Hidden') }} {{ translate('Action') }}
{{ $loop->iteration }} {{ $zone->name }}
status == '1' ? 'checked' : '' }} id="status-switch-{{ $zone->id }}">
@if (permission_check('manage_zones')) @endif
@include('admin.partials.not_found')
{{ $zones->links() }}
@include('admin.modal.delete_modal') @endsection @push('script-push') @endpush