@lang('messages.earningChartNote') ({{ $global->currency->currency_code }})
@if (in_array('invoices', $modules) && (in_array('total_paid_invoices', $activeWidgets) || in_array('total_unpaid_invoices', $activeWidgets)))
@lang('app.menu.invoices')
@if (in_array('total_paid_invoices', $activeWidgets))

{{ $totalPaidInvoice }} @lang('modules.dashboard.totalPaidInvoices')

@endif @if (in_array('total_unpaid_invoices', $activeWidgets))

{{ $totalUnPaidInvoice }}@lang('modules.dashboard.totalUnpaidInvoices')

@endif
@endif @if (in_array('invoices', $modules) && (in_array('total_expenses', $activeWidgets) || in_array('total_earnings', $activeWidgets)))
@endif @if (in_array('invoices', $modules) && in_array('total_pending_amount', $activeWidgets))
@endif
@if (in_array('invoices', $modules) && in_array('invoice_overview', $activeWidgets))
@endif @if (in_array('estimates', $modules) && in_array('estimate_overview', $activeWidgets))
@endif @if (in_array('leads', $modules) && in_array('proposal_overview', $activeWidgets))
@endif @if (in_array('payments', $modules) && in_array('earnings_by_client', $activeWidgets))
@endif @if (in_array('payments', $modules) && in_array('projects', $modules) && in_array('earnings_by_projects', $activeWidgets))
@endif