@extends('admin.layouts.app') @section('title', 'Manage Branches') @section('header_title', 'Branch Operations') @section('content')

Restaurant Branches

Manage locations, dining & delivery hours, contact numbers, and interactive map pins

{{ $activeBranches }} of {{ $totalBranches }} branches active
Add New Branch
@if(request('search') || request('status')) Reset @endif
@forelse($branches as $index => $branch) @empty @endforelse
Pin # Branch & Area Address Contact Hours Map Pin (X / Y) Status Actions
{{ $branch->sort_order ?: ($branches->firstItem() + $index) }}
{{ $branch->name }} @if($branch->is_open) OPEN NOW @endif
@if($branch->area) {{ $branch->area }} • @endif {{ $branch->slug }}
{{ $branch->address }}
{{ $branch->city ?? 'Dhaka' }}
{{ $branch->phone }}
{{ substr($branch->opening_time, 0, 5) }} – {{ substr($branch->closing_time, 0, 5) }}
Daily Schedule
X: {{ $branch->map_x }}% • Y: {{ $branch->map_y }}% @if($branch->latitude && $branch->longitude)
GPS: {{ number_format($branch->latitude, 4) }}, {{ number_format($branch->longitude, 4) }}
@endif
@csrf @method('PATCH')
@csrf @method('DELETE')
🏮
No branches found

Try clearing your search query or add a new branch location.

Add First Branch
@if($branches->hasPages())
{{ $branches->links('admin.partials.pagination') }}
@endif
📍

Live Storefront Map Sync

Every active branch added, edited, or removed here is dynamically displayed in the interactive map pins and branch list on the homepage (/#visit).

View Live Map →
@endsection