@extends(backpack_view('blank')) @section('content')
| Invoice # | Billing Period | Date | Status | Subtotal | GST / Tax | Total | Actions |
|---|---|---|---|---|---|---|---|
| {{ $invoice->number ?? '-' }} |
@if($periodStart && $periodEnd)
{{ \Carbon\Carbon::createFromTimestamp($periodStart)->format('d M Y') }}
to {{ \Carbon\Carbon::createFromTimestamp($periodEnd)->format('d M Y') }} @else - @endif |
{{ \Carbon\Carbon::createFromTimestamp($invoice->created)->format('d M Y') }} | @switch($invoice->status) @case('paid') Paid @break @case('open') Open @break @case('draft') Draft @break @case('void') Void @break @default {{ ucfirst($invoice->status) }} @endswitch | ${{ number_format($invoice->subtotal / 100, 2) }} {{ strtoupper($invoice->currency) }} | ${{ number_format($tax / 100, 2) }} {{ strtoupper($invoice->currency) }} | ${{ number_format($invoice->total / 100, 2) }} {{ strtoupper($invoice->currency) }} | @if($invoice->hosted_invoice_url) View @endif |