CONCEPTOS
@foreach ($invoice->items as $item) {{----}} @endforeach
Cantidad Clave Prod/Serv Descripción Clave Unidad Precio Unitario s/n Desc. Descuento Importe
{{ $item->quantity ?? 1 }} {{ $item->product_code ?? '-' }} {{ $item->description }} {{ $item->unit_code }} ${{ number_format($item->unit_price, 2) }} ${{ number_format($item->discount_rate, 2) }} ${{ number_format($item->subtotal - $item->discount_rate, 2) }}${{ number_format($item->total ?? 0, 2) }}
Subtotal: ${{ number_format($invoice->total - $invoice->tax, 2) }}
IVA : ${{ $invoice->tax }}
Total: ${{ number_format($invoice->total, 2) }}