@extends('pdf.base') @section('title', 'Factura ' . $invoice->invoice_number) @section('content')
| Fecha emisi贸n: | {{ $invoice->created_at->format('d/m/Y') }} |
| Fecha pago: | {{ $invoice->paid_at->format('d/m/Y') }} |
| M茅todo: | {{ $invoice->payment_method === 'stripe' ? 'Tarjeta (Stripe)' : ($invoice->payment_method === 'paypal' ? 'PayPal' : 'Transferencia') }} |
| Descripci贸n | Cant. | Precio Unit. | Total |
|---|---|---|---|
| {{ $item['description'] }} | {{ $item['quantity'] }} | ${{ number_format($item['unit_price'], 2) }} | ${{ number_format($item['total'], 2) }} |
{{ $invoice->notes }}
@endif @if(!empty($settings['note'])){{ $settings['note'] }}
@endif| Subtotal: | ${{ number_format($invoice->subtotal, 2) }} |
| {{ $tax['name'] }}{{ isset($tax['rate']) ? ' (' . $tax['rate'] . '%)' : '' }}: | ${{ number_format($tax['amount'], 2) }} |
| Tarifa: | ${{ number_format($invoice->tax, 2) }} |
| TOTAL: | ${{ number_format($invoice->total, 2) }} |