@if ($invoices->count() > 0) @foreach ($invoices as $key => $invoice) @php $billInfo = $invoice->mapType()->getBillingInfo(); @endphp @if (request()->show_customer) @endif {{-- --}} @endforeach
@switch($invoice->status) @case(Acelle\Model\Invoice::STATUS_PAID) credit_score @break @case(Acelle\Model\Invoice::STATUS_NEW) add_circle_outline @break @default remove_circle_outline @endswitch #{{ $invoice->uid }}
{{ trans('messages.invoice.type.' . $invoice->type) }}
{{ $invoice->customer->displayName() }} login
{{ trans('messages.customer') }}
{{ Auth::user()->admin->formatDateTime($invoice->created_at, 'datetime_full') }}
{{ trans('messages.created_at') }}
{{ $billInfo['total'] }}
{{ trans('messages.invoice.amount') }}
@if ($invoice->getPaymentMethod()) {{ $invoice->getPaymentMethod() }}
{{ trans('messages.payment_method') }}
@endif
@if ($invoice->getPendingTransaction()) {{ trans('messages.invoice.status.pending') }} @else {{ trans('messages.invoice.status.' . $invoice->status) }} @endif
@include('elements/_per_page_select', ["items" => $invoices]) @elseif (!empty(request()->keyword) || !empty(request()->filters))
assignment_turned_in {{ trans('messages.no_search_result') }}
@else
assignment_turned_in {{ trans('messages.subscription_empty_line_1_admin') }}
@endif