@if (in_array('invoices', $modules) && (in_array('total_paid_invoices', $activeWidgets) || in_array('total_unpaid_invoices', $activeWidgets)))
@lang('app.menu.invoices')
@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