@forelse($invoices as $invoice) @empty @endforelse
{{ ctrans('texts.invoice_number') }} {{ ctrans('texts.po_number') }} {{ ctrans('texts.invoice_date') }} {{ ctrans('texts.amount') }} {{ ctrans('texts.balance') }} {{ ctrans('texts.due_date') }} {{ ctrans('texts.status') }}
{{ $invoice->number }} {{ $invoice->po_number }} {{ $invoice->translateDate($invoice->date, $invoice->client->date_format(), $invoice->client->locale()) }} {{ App\Utils\Number::formatMoney($invoice->amount, $invoice->client) }} {{ App\Utils\Number::formatMoney($invoice->balance, $invoice->client) }} {{ $invoice->translateDate($invoice->due_date, $invoice->client->date_format(), $invoice->client->locale()) }} {!! App\Models\Invoice::badgeForStatus($invoice->status) !!} @if($invoice->isPayable() && $invoice->balance > 0 && $gateway_available)
@csrf
@endif {{ ctrans('texts.view') }}
{{ ctrans('texts.no_results') }}
@if($invoices && $invoices->total() > 0) @endif {{ $invoices->links('portal/ninja2020/vendor/pagination') }}
@push('footer') @endpush