@extends('layouts.app') @section('content')
| N.C. | Fecha | Comprobante afectado | Motivo | Total | Estado | Acciones |
|---|---|---|---|---|---|---|
| {{ $cn->full_number }} | {{ $cn->created_at->format('d/m/Y H:i') }} | {{ $cn->order?->full_number ?? '#' . $cn->order_id }} |
{{ $cn->reason_code }}
{{ $cn->reason_description }}
|
S/ {{ number_format($cn->total, 2) }} | @php $color = $cn->sunat_status === 'ACCEPTED' ? 'success' : ($cn->sunat_status === 'OBSERVED' ? 'warning' : ($cn->sunat_status === 'PENDING' ? 'secondary' : 'danger')); @endphp {{ $cn->sunat_status }} | |
| Sin notas de crédito. | ||||||