@extends('admin.templates.layout') @section('head') @endsection @section('content')
@csrf @if($id) @endif
Account Credentials
@if($id) Leave blank to keep unchanged @endif
Business Details
@if($vendor && $vendor->logo_url)
Logo
@endif Recommended: Square image (512x512px)
@if($vendor && $vendor->banner_url)
Banner
@endif Recommended: Landscape image (1200x400px)
Business Verification
Contact Person
Location & Contact
Opening Hours

Set your regular operating hours. Toggle the switch to mark a day as closed.

@foreach($days as $day) @php $oh = $opening_hours[$day] ?? null; $isOpen = $oh ? !$oh['is_closed'] : true; // Default open $start = $oh['start_time'] ?? '09:00'; $end = $oh['end_time'] ?? '17:00'; @endphp
to
Closed
@endforeach
Certificates & Compliance
Required Documents
@foreach([ 'pricing_service_catalogue' => 'Pricing / Service Catalogue', 'certificate_of_incorporation' => 'Certificate of Incorporation', 'proof_of_business_address' => 'Proof of Business Address', 'government_photo_id' => 'Government-issued Photo ID' ] as $field => $label)
$field) required @endif > @if($vendor && $vendor->$field) @endif
@endforeach @foreach([ 'food_hygiene_certificate' => 'Food Hygiene & Safety Certificate', 'public_liability_insurance' => 'Public Liability Insurance', 'trade_license' => 'Trade-specific License', 'halal_certification' => 'Halal Certification' ] as $field => $label) @php $hasFile = $vendor && $vendor->$field ? 'true' : 'false'; @endphp @endforeach
{{-- Additional Documents Section Removed --}}
@stop @section('script') @stop