{{ $invoice->number }}
Emitido: {{ $invoice->issue_date }}
Cliente
{{ $invoice->serviceOrder->customer->phone }}
Vehículo
{{ $invoice->serviceOrder->vehicle->license_plate }}
@money($payment->amount)
@php $paymentStatusConfig = match($payment->status) { 'confirmado' => ['class' => 'bg-green-500/10 text-green-500 border-green-500/20', 'label' => 'CONFIRMADO'], 'rechazado' => ['class' => 'bg-red-500/10 text-red-500 border-red-500/20', 'label' => 'RECHAZADO'], default => ['class' => 'bg-yellow-500/10 text-yellow-500 border-yellow-500/20', 'label' => 'PENDIENTE'], }; @endphp {{ $paymentStatusConfig['label'] }}{{ $payment->notes }}
@endif @if($payment->isConfirmed() && $payment->confirmed_at)Confirmado el {{ $payment->confirmed_at->format('d/m/Y H:i') }}
@endifNo se han registrado pagos para esta factura.
@endforelse