@extends('layouts.admin') @section('content')
No hay notas de débito registradas.
@else| Código Generación | Cliente | Venta Relacionada | Fecha | Total | Estado DTE | Acciones |
|---|---|---|---|---|---|---|
| {{ $debitNote->codigo_generacion ?? '—' }} | {{ $debitNote->customer->nombre ?? 'Sin cliente' }} | {{ $debitNote->sale->invoice_number ?? 'N/A' }} | {{ \Carbon\Carbon::parse($debitNote->debit_note_date)->format('d/m/Y') }} | ${{ number_format($debitNote->total_amount, 2) }} | @if($status === 'PENDIENTE') @else {{ $status }} @endif | Ver @php $canDelete = $debitNote->created_at->greaterThan(now()->subHours(24)); @endphp @if ($canDelete) @else @endif |