@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
@if ($event->client != 'CCT')
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 }} Prise en charge {{ $compta_pec->total_cash_amount }} {{ $compta_pec->total_cheque_amount }} {{ $compta_pec->total_virement_amount }} {{ $compta_pec->total_global_amount }}
Complé. Perso {{ $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 booking {{ 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, '.', '') }}
@endif @if ($event->client == 'CCT')
Catégorie Espèce Chèque Virement Montant Total
Self-payer 0 0 {{ $compta_pec_self->total_virement_amount - $compta_pec->total_virement_amount }} {{ $compta_pec_self->total_global_amount - $compta_pec->total_global_amount }}
Prise en charge CCT 0 0 {{ $compta_pec->total_virement_amount }} {{ $compta_pec->total_global_amount }}
Total booking 0 0 {{ $compta_pec_self->total_virement_amount }} {{ $compta_pec_self->total_global_amount }}
Solde CCT 0 0 {{ $totalSolde }} {{ $totalSolde }}
Total 0 0 {{ $compta_pec_self->total_virement_amount + $totalSolde }} {{ $compta_pec_self->total_global_amount + $totalSolde }}
@endif
{{-- --}} {{-- --}} {{-- --}} @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 ?? 0 }}
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->validated_participants_count }} {{ $workshop->present_and_validated_participants_count }}
@endforeach
--}} @endsection @section('scripts') @endsection