Etat de caisse

Date du : {{ \Carbon\Carbon::parse($start_date)->format('d/m/Y') }} au {{ \Carbon\Carbon::parse($end_date)->format('d/m/Y') }}

Solde Initial : {{ number_format($soldeInitial, 0, ',', ' ') . ' GNF' }}

@if ($transactions->count() > 0) @foreach ($transactions as $transaction) @endforeach @else @endif
Date Description Bénéficiaire Entrées Sorties Solde
{{ \Carbon\Carbon::parse($transaction->date)->format('d-m-Y') }} @if ($transaction->type === 'entry' && $transaction->source_type === 'payment') Encaissement {{ $transaction->paiement->client->fullname }} @elseif ($transaction->type === 'entry' && $transaction->source_type === 'approvisionnement') Caisse approvisionnée @else @if ($transaction->depense->source_type == 'worker_payment') {{ $transaction->depense->desc ?? '' }} @else {{ $transaction->depense->desc ?? '' }} @endif @endif @if ($transaction->type === 'entry' && $transaction->source_type === 'payment') {{ $transaction->paiement->beneficiary }} @elseif ($transaction->type === 'entry' && $transaction->source_type === 'approvisionnement') {{ $transaction->approvisionnement->user->fullname }} @else @if ($transaction->depense->source_type == 'worker_payment') {{ $transaction->depense->tailleur->first_name ?? '' }} {{ $transaction->depense->tailleur->last_name ?? '' }} @else {{ $transaction->depense->tailleur->first_name ?? '' }} {{ $transaction->depense->tailleur->last_name ?? '' }} @endif @endif {{ $transaction->type === 'entry' || $transaction->type === 'approvisionnement' ? number_format($transaction->amount, 0, ',', ' ') . ' GNF' : 0 }} {{ $transaction->type === 'outing' ? number_format($transaction->amount, 0, ',', ' ') . ' GNF' : 0 }} {{ number_format($transaction->solde, 0, ',', ' ') . ' GNF' }}
Total {{ number_format($sum_entrances, 0, ',', ' ') . ' GNF' }} {{ number_format($sum_outings, 0, ',', ' ') . ' GNF' }}
Solde Jour {{ number_format($soldeFinal, 0, ',', ' ') . ' GNF' }}
Solde Final {{ number_format($transaction->solde, 0, ',', ' ') . ' GNF' }}
Aucun élément trouvé.