@extends('layouts.provider') @section('title', 'Détail de la facture') @section('page-title', 'Finances > Détail de la facture') @section('content')
{{ $invoice->client->full_name ?? 'N/A' }}
{{ $invoice->notes }}
@endif| N° | Date | Compte | Méthode | Montant | Référence | Actions |
|---|---|---|---|---|---|---|
| @if($payment->isReversal()) {{ str_pad($paymentNumbers[$payment->id] ?? 0, 2, '0', STR_PAD_LEFT) }} @else {{ str_pad($paymentNumbers[$payment->id] ?? 0, 2, '0', STR_PAD_LEFT) }} @endif | {{ $payment->payment_date->format('d/m/Y') }} @if($payment->isReversed()) (Annulé) @endif | {{ $payment->treasuryAccount->name ?? '-' }} | @switch($payment->payment_method) @case('cash') Espèces @break @case('bank_transfer') Virement @break @case('check') Chèque @break @case('card') Carte @break @endswitch | {{ $payment->amount < 0 ? '-' : '' }}{{ format_currency(abs($payment->amount)) }}{{ $invoice->currency }} |
@if($payment->isReversal())
{{ $reversalReferences[$payment->id] ?? '' }}
@else
{{ $payment->reference ?? '-' }}
@endif
@if($payment->isReversal() && $payment->reversal_reason)
{{ Str::limit($payment->reversal_reason, 30) }}
@endif
|
@if($payment->canBeReversed())
@endif
|
| {{ str_pad($paymentNumbers[$withholdingPayment->id] ?? 0, 2, '0', STR_PAD_LEFT) }} | {{ $withholdingPayment->payment_date->format('d/m/Y') }} | - | {{ $withholdingPayment->notes ?? 'Retenue' }} | -{{ format_currency($withholdingPayment->amount) }}{{ $invoice->currency }} | {{ $withholdingPayment->reference ?? '-' }} | - |
Aucun paiement enregistré