@csrf @if(isset($branch)) @method('PUT') @endif
@php $selectedDeliveryAreaIds = collect(old('delivery_area_ids', $selectedDeliveryAreaIds ?? []))->map(fn ($id) => (int) $id)->all(); @endphp
{{ isset($branch) ? 'Selected zones will become this branch territory. Unselected current zones will be removed from this branch.' : 'Select one or more delivery zones for this branch.' }}
Share of the store earning commission credited to this branch.
Calculated automatically as the remainder.
@unless(isset($branch))

@endunless
@if($errors->any())
{{ $errors->first() }}
@endif
Cancel