{{ ($reservation->status < 40 ? 'Devis N° ' : 'Facture N° ') . $reservation->refrence_facture }}

Logo
Date Réservation {{ \Carbon\Carbon::parse($reservation->date_reservation)->format('d-m-Y') }}
Date de validité de devis {{ \Carbon\Carbon::parse($reservation->date_reservation)->addDays(7)->format('d-m-Y') }}
Status {{ App\Helpers\ArticleData::STATUS_RESERVATIONS[$reservation->status] }}
Chambre {{ optional($reservation->box)->libelle }}
Montant à payer {{ number_format($reservation->total, 2, ',', ' ') }} DH
Montant régler {{ number_format($reservation->reglement, 2, ',', ' ') }} DH
Reste à payer {{ number_format($reservation->reliquat, 2, ',', ' ') }} DH
{{ optional($reservation->client)->name }}
Code client {{ optional($reservation->client)->id }}
{{ optional($reservation->client)->address }}
Tel {{ optional($reservation->client)->phone }}
Mail : {{ optional($reservation->client)->email }}
Details de votre reservation :
@foreach ($reservation->detailsReservations as $detail) @endforeach @if ($accessoirces->count() > 0) @foreach ($accessoirces as $accessoire) @endforeach @endif
Description Arrivé Depart Qte PU Remise (%) Total
{{ \App\Helpers\ArticleData::TYPE_RACES[optional($detail->pet)->type] }} - {{ optional($detail->pet)->nom }} {{ \Carbon\Carbon::parse($detail->date_debut)->format('d-m-Y')}} {{ \Carbon\Carbon::parse($detail->date_fin)->format('d-m-Y')}} {{ $detail->nb_jour }} {{ number_format($detail->mt_jour, 2, ',', ' ') }} {{ $detail->remise . '%'}} {{ number_format($detail->total, 2, ',', ' ') }}
{{ optional($accessoire->article)->libelle }} {{ $accessoire->qte }} {{ number_format($accessoire->prix, 2, ',', ' ') }} {{ $accessoire->remise }} % {{ number_format($accessoire->total, 2, ',', ' ') }}
Total HT {{ number_format($total, 2, ',', ' ' ) }}
Total TVA {{ number_format($total * 0.2, 2, ',', ' ') }}
Total {{ number_format( $total + ($total * 0.2), 2, ',', ' ') }}