@if ($activeTab === 'taches')
| # |
Reference |
Date |
Type |
Quantité |
Prix unitaire |
Total |
Statut |
Actions |
@if ($taches->count() > 0)
@foreach ($taches as $key => $tache)
| {{ $key + 1 }} |
{{ $tache->reference }} |
{{ \Carbon\Carbon::parse($tache->date)->format('d/m/y')}} |
{{ $tache->type }} |
{{ $tache->nombre }} |
{{ number_format($tache->prix, 0, '.', ' ') }} GNF |
{{ number_format($tache->total, 0, '.', ' ') }} GNF |
@if ($tache->is_paid == 0)
Non payé
@else
Payé
@endif
|
|
@endforeach
@else
| Aucune tâche disponible. |
@endif
{{ $taches->links() }}
@endif
@if ($activeTab === 'paiements')
| # |
Date de paiement |
Montant à regler |
Accompte |
Montant total payé |
Reliquat |
Statut |
Actions |
@if ($paiement_en_cours->count() > 0)
@foreach ($paiement_en_cours as $key => $paiement)
| {{ $key + 1 }} |
{{ \Carbon\Carbon::parse($paiement->date)->format('d/m/Y') }} |
{{ number_format($paiement->amount, 0, '.', ' ') }} GNF |
{{ number_format($paiement->accompte, 0, '.', ' ') }} GNF |
{{ number_format($paiement->total_net_payer, 0, '.', ' ') }} GNF |
{{ number_format($paiement->reliquat, 0, '.', ' ') }} GNF |
@if ($paiement->reliquat == 0)
Payé
@elseif ($paiement->reliquat < $paiement->amount)
Partiel
@endif
|
|
@endforeach
@else
| Aucun paiement disponible. |
@endif
{{ $paiement_en_cours->links() }}
@endif
@if ($activeTab === 'accomptes')
| # |
Date |
Acompte |
@if ($acomptes->count() > 0)
@foreach ($acomptes as $key => $acompte)
| {{ $key + 1 }} |
{{ \Carbon\Carbon::parse($acompte->date)->format('d/m/y')}} |
{{ number_format($acompte->accompte, 0, '.', ' ') }} GNF |
@endforeach
|
|
Total = {{ number_format($acomptes_sum, 0, '.', ' ') }} GNF |
@else
| Aucune tâche disponible. |
@endif
{{ $acomptes->links() }}
@endif
@if ($activeTab === 'historiques')
| # |
Date |
Début |
Fin |
Type |
Quantité |
Prix |
Total |
Accomptes |
Total net payer |
@if ($paiements->count() > 0)
@foreach ($paiements as $key => $paiement)
| {{ $key + 1 }} |
{{ \Carbon\Carbon::parse($paiement->date)->format('d/m/y')}} |
{{ \Carbon\Carbon::parse($paiement->start_date)->format('d/m/y')}} |
{{ \Carbon\Carbon::parse($paiement->end_date)->format('d/m/y')}} |
{{ $paiement->type }} |
{{ $paiement->quantity }} |
{{ number_format($paiement->price, 0, '.', ' ') }} GNF |
{{ number_format($paiement->amount, 0, '.', ' ') }} GNF |
{{ number_format($paiement->accompte, 0, '.', ' ') }} GNF |
{{ number_format($paiement->total_net_payer, 0, '.', ' ') }} GNF |
@endforeach
@else
| Aucune tâche disponible. |
@endif
{{ $paiements->links() }}
@endif