@php $totalAmount = 0; // Initialize total amount variable @endphp @foreach($recoveries as $item) @php // Add the current item's amount to the total $totalAmount += $item->advance; @endphp @endforeach
Nom de logement Client créer par Payé le crée le Montant à payer Montant payé
{{ $item->property }} {{ $item->l_name }} {{ $item->f_name }} {{ $item->name }} {{ date('d-m-Y', strtotime($item->paid_at)) }} {{ date('d-m-Y H:i:s', strtotime($item->created_at)) }} {{ $item->total_price ?? number_format(0, 2) }} TND {{ $item->advance ?? number_format(0, 2) }} TND
Total: {{ number_format($totalAmount, 2) }} TND
Valider la caisse