{{--

{{ __('messages.admin_dashboard.total_amount') }}

@if (count($totalInvoices) > 0) @foreach ($totalInvoices as $currencyId => $amount)
{{ getInvoiceCurrencyAmount($amount, $currencyId) }}
@endforeach @else

{{ __('messages.invoice.nothing_amount_yet') }}

@endif

{{ __('messages.admin_dashboard.total_paid') }}

@if (count($paidInvoices) > 0) @foreach ($paidInvoices as $currencyId => $amount)
{{ getInvoiceCurrencyAmount($amount, $currencyId) }}
@endforeach @else

{{ __('messages.invoice.nothing_paid_yet') }}

@endif

{{ __('messages.admin_dashboard.total_due') }}

@if (count($dueInvoices) > 0) @foreach ($dueInvoices as $currencyId => $dueInvoiceAmount)
{{ getInvoiceCurrencyAmount($dueInvoiceAmount, $currencyId) }}
@endforeach @else

{{ __('messages.invoice.nothing_due_yet') }}

@endif
--}}
@if (count($currencyDetails) > 0) @foreach ($currencyDetails as $currencyId => $value) @endforeach @else @endif
Currency Total Amount Total Paid Total Due
{{ getInvoiceCurrencyIcon($currencyId) }}
{{ formatTotalAmount($value['total']) }}
{{ formatTotalAmount($value['paid']) }}
{{ formatTotalAmount($value['due']) }}
{{ __('messages.invoice.nothing_amount_yet') }}