@if ($transactions->count() > 0) @foreach ($transactions as $transaction) @endforeach @else @endif
Date Type de dépense Description Bénéficiaire Entrées Sorties Solde
{{ \Carbon\Carbon::parse($transaction->date)->format('d/m/Y') }} @if ($transaction->depense_id == null) - @else {{ $transaction->depense->type_depense->name ?? '-' }} @endif @if ($transaction->type === 'entry' && $transaction->source_type === 'payment') Encaissement {{ $transaction->vente_paiement->vente->customer->fullname }} @elseif ($transaction->type === 'entry' && $transaction->source_type === 'approvisionnement') Caisse approvisionnée @else {{ $transaction->depense->desc ?? '-' }} @endif @if ($transaction->type === 'entry' && $transaction->source_type === 'payment') {{ $transaction->vente_paiement->user->name }} @elseif ($transaction->type === 'entry' && $transaction->source_type === 'approvisionnement') {{ $transaction->approvisionnement->beneficiary }} @else {{ $transaction->depense->beneficiary ?? '-' }} @endif {{ $transaction->type === 'entry' || $transaction->type === 'approvisionnement' ? number_format($transaction->amount, 0, ',', ' ') . ' FCFA' : 0 }} {{ $transaction->type === 'outing' ? number_format($transaction->amount, 0, ',', ' ') . ' FCFA' : 0 }} {{ number_format($transaction->solde, 0, ',', ' ') . ' FCFA' }}
Total {{ number_format($totalEntrees, 0, ',', ' ') . ' FCFA' }} {{ number_format($totalSorties, 0, ',', ' ') . ' FCFA' }}
Solde Jour {{ number_format($soldeFinal, 0, ',', ' ') . ' FCFA' }}
Solde Final {{ number_format($transaction->solde, 0, ',', ' ') . ' FCFA' }}
Aucun élément trouvé.