@extends('layouts.app') @section('title') {{ __('messages.currency_reports') }} @endsection @section('content')

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

@if (count($currencyData['totalInvoices']) > 0) @foreach ($currencyData['totalInvoices'] as $currencyId => $amount)

{{ getInvoiceCurrencyAmount($amount, $currencyId) }}

@endforeach @else

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

@endif

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

@if (count($currencyData['paidInvoices']) > 0) @foreach ($currencyData['paidInvoices'] as $currencyId => $amount)

{{ getInvoiceCurrencyAmount($amount, $currencyId) }}

@endforeach @else

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

@endif

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

@if (count($currencyData['dueInvoices']) > 0) @foreach ($currencyData['dueInvoices'] as $currencyId => $dueInvoiceAmount)

{{ getInvoiceCurrencyAmount($dueInvoiceAmount, $currencyId) }}

@endforeach @else

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

@endif
@endsection