@php $meta = old() ? old() : (is_array($application->onboarding_meta ?? null) ? $application->onboarding_meta : []); if (!is_array($meta)) { $meta = []; } $bankDetails = old() ? old() : json_decode($application->bank_details ?? '[]', true); if (!is_array($bankDetails)) { $bankDetails = []; } $selectedType = old('partner_type', $application->partner_type ?: 'restaurant'); $selectedAreaId = old('area_id', $application->area_id); $selectedArea = $deliveryAreas->firstWhere('id', (int) $selectedAreaId); @endphp
Store Registration Workflow
{{ $selectedArea?->name ?? 'Use current location to detect zone' }} Auto
Auto-assigned from current coordinates for store coverage and review mapping.
Zone will be fetched automatically from the current location.

Timings, Delivery, Menu, Commission

Media & Compliance Uploads
@foreach ([ 'logo_image' => 'Logo Image', 'banner_image' => 'Banner Image', 'cover_image' => 'Cover Image', 'interior_image' => 'Interior Photo', 'food_image' => 'Food Photo', 'kitchen_image' => 'Kitchen Photo', 'gst_certificate' => 'GST Certificate', 'fssai_license' => 'FSSAI License', 'bank_proof' => 'Bank Proof', 'shop_license' => 'Shop License', ] as $field => $label)
@if(!empty($meta[$field] ?? $application->{$field} ?? null))
Current file available
@endif
@endforeach
Driver Registration Workflow
{{ $selectedArea?->name ?? 'Use current location to detect zone' }} Auto
Auto-assigned from current coordinates for dispatch geo-zone review.
Zone will be fetched automatically from the current location.

Permissions, Banking & Documents
@foreach ([ 'profile_photo' => 'Profile Photo', 'vehicle_image' => 'Vehicle Image', 'license_document' => 'License Document', 'aadhar_card' => 'Aadhaar Card', 'pan_card' => 'PAN Card', 'vehicle_rc' => 'Vehicle RC', 'insurance_document' => 'Insurance Document', ] as $field => $label)
@if(!empty($application->{$field}))
Current file available
@endif
@endforeach
Workflow Notes
This admin workflow is fully wired to the same partner application model used by the driver and restaurant apps. Editing here updates the real review payload and approval mapping.
@if ($errors->any())
Please fix the following issues:
@endif @push('scripts') @php $deliveryAreaPayload = $deliveryAreas->map(function ($area) { return [ 'id' => $area->id, 'name' => $area->name, 'description' => $area->description, 'area_type' => $area->area_type, 'latitude' => $area->latitude, 'longitude' => $area->longitude, 'radius_km' => $area->radius_km, 'polygon_coordinates' => $area->polygon_coordinates, ]; })->values(); @endphp @endpush