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