@foreach ($reservation->detailsReservations as $detail)
{{ \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, ',', ' ') }} |
@endforeach
@if ($accessoirces->count() > 0)
@foreach ($accessoirces as $accessoire)
{{ optional($accessoire->article)->libelle }} |
|
|
{{ $accessoire->qte }} |
{{ number_format($accessoire->prix, 2, ',', ' ') }} |
{{ $accessoire->remise }} % |
{{ number_format($accessoire->total, 2, ',', ' ') }} |
@endforeach
@endif
|
|
|
|
|
Total HT |
{{ number_format($total, 2, ',', ' ' ) }} |
|
|
|
|
|
Total TVA |
{{ number_format($total * 0.2, 2, ',', ' ') }} |
|
|
|
|
|
Total |
{{ number_format( $total + ($total * 0.2), 2, ',', ' ') }} |