@extends('layouts.admin') @section('title','Geography') @section('heading','Geography & serviceability') @section('content')

Country

@csrf

Region / state

@csrf

City

@csrf

New service zone

@csrf

Click the map to place a radius centre or add polygon vertices. Polygon zones require at least three points and support up to 200.

0 points

Coverage hierarchy

Review, edit and retire platform or Vendor-owned zones.

@foreach($countries as $country)@foreach($country->regions as $region)@foreach($region->cities as $city)@foreach($city->zones as $zone)@endforeach @endforeach @endforeach @endforeach @if($countries->flatMap->regions->flatMap->cities->flatMap->zones->isEmpty())@endif
Country / region / cityZoneShapeServices & feesStatusActions
{{ $city->name }}
{{ $region->name }}, {{ $country->name }}
{{ $zone->name }}
{{ $zone->vendors->isEmpty() ? 'Platform-wide' : $zone->vendors->pluck('name')->join(', ') }}
{{ ucfirst($zone->shape_type) }} @if($zone->shape_type==='radius') / {{ $zone->radius_km }} km @else / {{ count($zone->polygon ?? []) }} points @endif@foreach($zone->services as $service){{ $service->service_type }} / {{ $service->base_fee }} @endforeach{{ $zone->is_active?'Active':'Inactive' }}
@csrf @method('delete')
No service zones configured.
@endsection