@extends('layouts.dashboard') @section('title', 'Restaurants - DineSync') @section('eyebrow', 'Platform') @section('page-title', 'Restaurants') @push('styles') @endpush @section('content')
Restaurantbeheer

Jouw restaurants

Bekijk en beheer alle restaurants die aan jouw DineSync-account gekoppeld zijn.

Nieuw restaurant
Totaal restaurants {{ $restaurants->count() }}
Actieve restaurants {{ $restaurants->where('active', true)->count() }}
Actieve medewerkers {{ $restaurants->sum('active_members_count') }}
{{ $restaurants->count() }} {{ $restaurants->count() === 1 ? 'restaurant' : 'restaurants' }}
@if($restaurants->isEmpty())

Nog geen restaurants

Voeg je eerste restaurant toe en start daarna met het beheren van rollen, medewerkers en operationele modules.

Eerste restaurant toevoegen
@else
@foreach($restaurants as $restaurant) @php $serviceModeLabel = match($restaurant->service_mode) { 'ayce' => 'All you can eat', 'a_la_carte' => 'À la carte', 'hybrid' => 'Hybride', default => ucfirst(str_replace('_', ' ', $restaurant->service_mode)), }; @endphp
{{ $serviceModeLabel }}

{{ $restaurant->name }}

{{ $restaurant->active ? 'Actief' : 'Inactief' }}
Medewerkers {{ $restaurant->active_members_count ?? 0 }}
Valuta {{ $restaurant->currency }}
Tijdzone {{ $restaurant->timezone }}
@if($restaurant->email) {{ $restaurant->email }} @endif @if($restaurant->phone) {{ $restaurant->phone }} @endif @if(!$restaurant->email && !$restaurant->phone) Geen contactgegevens ingesteld @endif
@endforeach
@endif
@endsection @push('scripts') @endpush