@include('partials.header')

Caisse Services — {{ $magasin->name }}

@include('pos.partials.mode-switch', [ 'posMode' => 'service', 'servicesModuleEnabled' => true, ]) Retour
@if ($services->isEmpty())

Aucune prestation active.

@if (in_array(Auth::user()->role->name ?? '', ['Administrateur', 'Gestionnaire']))

Configurez votre catalogue pour commencer.

Aller au catalogue @else

Contactez un gestionnaire pour configurer le catalogue.

@endif
@else

Tapez pour rechercher une prestation

@foreach ($services as $service) @endforeach

Panier

Nom Quantité Montant Action

Le panier est vide

Montant Total : 0 FCFA

Commande en attente

@if ($ordersPause->isNotEmpty())
@foreach ($ordersPause as $order) @endforeach
Date Total Actions
{{ $order->created_at->translatedFormat('d M Y') }} {{ number_format($order->montant_total, 0, ' ', ' ') }} FCFA
@else

Pas de commande en attente

@endif
@if (Auth::user()->role->name !== 'Caissiere')

Services validées

@if ($ordersRecent->isNotEmpty())
@foreach ($ordersRecent as $order) @endforeach
Date Total Actions
{{ $order->created_at->translatedFormat('d M Y') }} {{ number_format($order->montant_total, 0, ' ', ' ') }} FCFA
@foreach ($ordersRecent as $order) @include('services.partials.receipt-modal', [ 'order' => $order, ]) @endforeach @else

Pas encore de prestation

@endif
@endif
@endif
@include('services.partials.modals')