@extends('layouts.master') @section('title') Edit Branch - {{ $branch->branch_name }} @endsection @section('content') @php $oldCountry = old('country', $branch->region); $oldState = old('state', $branch->state); $oldCity = old('city', $branch->city); $countries = \App\Models\Country::all(); $states = \App\Models\State::where('country_id', $oldCountry)->get(); $cities = \App\Models\City::where('state_id', $oldState)->get(); @endphp
🏢
Branch Details Editing

Update branch information and contact details

🪑
Table Management

Manage tables on your branch for advanced seating

👥
Team Members

Manage team members working in this branch

Current Information
Branch Code: {{ $branch->branch_code }}
Status: {{ ucfirst($branch->status) }}
Created: {{ $branch->created_at->format('M d, Y') }}
Reservations: {{ $branch->reservation_enabled ? 'Enabled' : 'Disabled' }}
@csrf @method('PUT')

Edit Branch - {{ $branch->branch_name }}

@error('branch_name')
{{ $message }}
@enderror
@error('address')
{{ $message }}
@enderror
@error('country')
{{ $message }}
@enderror
@error('state')
{{ $message }}
@enderror
@error('city')
{{ $message }}
@enderror
@error('pincode')
{{ $message }}
@enderror
Contact Details
@error('branch_contact_name')
{{ $message }}
@enderror
@error('branch_contact_phone')
{{ $message }}
@enderror
@error('branch_contact_email')
{{ $message }}
@enderror
Additional Setup
reservation_enabled) ? 'checked' : '' }}>
Cancel
@endsection @section('script') @endsection