@extends('portal.ninja2020.layout.app') @section('meta_title', ctrans('texts.invoices')) @push('head') @endpush @section('header') {{ Breadcrumbs::render('invoices') }} @if($errors->any())
@foreach($errors->all() as $error)

{{ $error }}

@endforeach
@endif

{{ ctrans('texts.invoices') }}

{{ ctrans('texts.list_of_invoices') }}

@endsection @section('body')
{{ ctrans('texts.with_selected') }}
@csrf
@foreach($invoices as $invoice) @endforeach
{{ ctrans('texts.invoice_number') }} {{ ctrans('texts.invoice_date') }} {{ ctrans('texts.balance') }} {{ ctrans('texts.due_date') }} {{ ctrans('texts.status') }}
{{ $invoice->number }} {{ $invoice->due_date }} {{ 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()) @endif @lang('texts.view')
{{ $invoices->links('portal.ninja2020.vendor.pagination') }}
@endsection @push('footer') @endpush