@php($labels = $doc['labels']) @php($totals = $doc['totals'])
{{ $labels['totals'] }} | |
| {{ $labels['subtotal'] }} | {{ $totals['subtotal'] }} |
| {{ $labels['discount'] }} | {{ $totals['discount_total'] }} |
| {{ $labels['shipping'] }} | {{ $totals['shipping_amount'] }} |
| {{ $labels['tax_mode'] }} | {{ ($doc['tax']['mode'] ?? '') === 'inclusive' ? $labels['tax_included'] : $labels['tax_added'] }} |
| {{ $labels['tax_rate'] }} | {{ $doc['tax']['rate'] }}% |
| {{ $labels['taxable_amount'] }} | {{ $totals['taxable_amount'] }} |
| {{ $labels['tax'] }} | {{ $totals['tax_amount'] }} |
| {{ $labels['shipping_tax'] }} | {{ $totals['shipping_tax_amount'] }} |
| {{ $labels['grand_total'] }} | {{ $totals['grand_total'] }} |
| {{ $labels['paid_amount'] }} | {{ $totals['paid_amount'] }} |
| {{ $labels['refunded_amount'] }} | {{ $totals['refunded_amount'] }} |
| {{ $labels['outstanding_amount'] }} | {{ $totals['outstanding_amount'] }} |
| {{ $labels['gateway'] }} | {{ $labels['payment_number'] }} | {{ $labels['reference'] }} | {{ $labels['payment_status'] }} | {{ $labels['amount'] }} |
|---|---|---|---|---|
| {{ $payment['gateway'] ?: '—' }} | {{ $payment['payment_number'] ?: '—' }} | {{ $payment['reference'] ?: '—' }} | {{ $payment['status'] }} | {{ $payment['amount'] }} |
{{ $doc['order']['notes'] }}
@endif