@extends('backend.layouts.master') @section('title') Booking @endsection @section('body') @endsection @section('content') {{-- @component('components.breadcrumb') @slot('page_title') Dashboard @endslot @slot('subtitle') Dashboard @endslot @endcomponent --}}
Booking
Catégorie Espèce Chèque Virement Montant Total
{{ $compta_selfpayer->total_self_payer }} Self-payer {{ $compta_selfpayer->total_cash_amount }} {{ $compta_selfpayer->total_cheque_amount }} {{ $compta_selfpayer->total_virement_amount }} {{ $compta_selfpayer->total_global_amount }}
{{ $compta_pec->total_prise_en_charge }} PEC {{ $compta_pec->total_cash_amount }} {{ $compta_pec->total_cheque_amount }} {{ $compta_pec->total_virement_amount }} {{ $compta_pec->total_global_amount }}
Complé. PEC {{ $compta_pec_self->total_cash_amount }} {{ $compta_pec_self->total_cheque_amount }} {{ $compta_pec_self->total_virement_amount }} {{ $compta_pec_self->total_global_amount }}
{{ $compta_orga->total_orga }} {{ $event->client }} {{ $compta_orga->total_cash_amount }} {{ $compta_orga->total_cheque_amount }} {{ $compta_orga->total_virement_amount }} {{ $compta_orga->total_global_amount }}
Complé. Organisation {{ $compta_orga_self->total_cash_amount }} {{ $compta_orga_self->total_cheque_amount }} {{ $compta_orga_self->total_virement_amount }} {{ $compta_orga_self->total_global_amount }}
Total {{ number_format($compta_selfpayer->total_cash_amount + $compta_pec->total_cash_amount + $compta_pec_self->total_cash_amount + $compta_orga->total_cash_amount + $compta_orga_self->total_cash_amount, 3, '.', '') }} {{ number_format($compta_selfpayer->total_cheque_amount + $compta_pec->total_cheque_amount + $compta_pec_self->total_cheque_amount + $compta_orga->total_cheque_amount + $compta_orga_self->total_cheque_amount, 3, '.', '') }} {{ number_format($compta_selfpayer->total_virement_amount + $compta_pec->total_virement_amount + $compta_pec_self->total_virement_amount + $compta_orga->total_virement_amount + $compta_orga_self->total_virement_amount, 3, '.', '') }} {{ number_format($compta_selfpayer->total_global_amount + $compta_pec->total_global_amount + $compta_pec_self->total_global_amount + $compta_orga->total_global_amount + $compta_orga_self->total_global_amount, 3, '.', '') }}
{{-- --}} {{-- --}} {{-- --}} @foreach ($hotels as $hotel) @php $roomTypeCount = count($hotel->roomTypes); @endphp @foreach ($hotel->roomTypes as $index => $roomType) @if ($index === 0) {{-- --}} @endif {{-- --}} {{-- --}} @endforeach @endforeach {{-- --}} {{-- --}}
Hôtel Capacité obtenue Contingent venteDisponibleType de chambreCapacitéDisponibleRéservation Validé Check-in Nuitée
{{ $hotel->name }} {{ $hotel->capacity }} {{ $hotel->contingent }} {{ $hotel->contingent }} {{ $roomType->type }}{{ $roomType->capacity }}{{ $roomType->capacity - $roomType->total_reservations > 0 ? $roomType->capacity - $roomType->total_reservations : 0 }} {{ $roomType->total_reservations }} {{ $roomType->reservations_with_code }} {{ $roomType->checked_reservations }} {{ $roomType->total_nights_booked }}
Total {{ $totalCapacity }}{{ $totalCapacity - $totalReservations > 0 ? $totalCapacity - $totalReservations : 0 }} {{ $totalReservations }} {{ $reservationsWithCode }} {{ $checkedReservations }} {{ $totalNightsBooked }}
{{--
@foreach ($chunks as $chunk)
@foreach ($chunk as $workshop) @endforeach
{{ $chunk->first()->label }} Capacité Disponible Pré-inscrits Validés Présents
{{ $workshop->titre }} {{ $workshop->capacity }} {{ $workshop->capacity - $workshop->participants->count() > 0 ? $workshop->capacity - $workshop->participants->count() : 0 }} {{ $workshop->participants->count() }} {{ $workshop->participants->whereNotNull('code')->where('code', '!=', '')->count() }} {{ $workshop->presentAndValidatedParticipants->count() }}
@endforeach
--}} @endsection @section('scripts') @endsection