@if(in_array('invoices',$modules) && in_array('total_paid_invoices',$activeWidgets))
@lang('modules.dashboard.totalPaidInvoices')
{{ $totalPaidInvoice }}
@endif @if(in_array('expenses',$modules) && in_array('total_expenses',$activeWidgets))
@lang('modules.dashboard.totalExpenses')
{{ currency_formatter($totalExpenses,$global->currency->currency_symbol)}}
@endif @if(in_array('payments',$modules) && in_array('total_earnings',$activeWidgets))
@lang('modules.dashboard.totalEarnings')
{{ currency_formatter($totalEarnings,$global->currency->currency_symbol) }}
@endif @if(in_array('payments',$modules) && in_array('expenses',$modules) && in_array('total_profit',$activeWidgets))
@lang('modules.dashboard.totalProfit')
{{ currency_formatter($totalProfit,$global->currency->currency_symbol) }}
@endif @if(in_array('invoices',$modules) && in_array('total_pending_amount',$activeWidgets))
@lang('modules.dashboard.totalPendingAmount')
{{ currency_formatter($totalPendingAmount,$global->currency->currency_symbol) }}
@endif
@if(in_array('invoices',$modules) && in_array('invoice_overview',$activeWidgets))

@lang('modules.dashboard.invoiceOverview')


@foreach($invoiceOverviews as $key => $invoiceOverview)
{{ $invoiceOverview['count'] }} @lang('modules.dashboard.'.$key) {{ $invoiceOverview['percent'] }}%
@endforeach
@endif @if(in_array('estimates',$modules) && in_array('estimate_overview',$activeWidgets))

@lang('modules.dashboard.estimateOverview')


@foreach($estimateOverviews as $key => $estimateOverview)
{{ $estimateOverview['count'] }} @lang('modules.dashboard.'.$key) {{ $estimateOverview['percent'] }}%
@endforeach
@endif @if(in_array('leads',$modules) && in_array('proposal_overview',$activeWidgets))

@lang('modules.dashboard.proposalOverview')


@foreach($proposalOverviews as $key => $proposalOverview)
{{ $proposalOverview['count'] }} @lang('modules.dashboard.'.$key) {{ $proposalOverview['percent'] }}%
@endforeach
@endif
@if(in_array('invoices',$modules) && in_array('invoice_tab',$activeWidgets))
# @lang('app.invoice') # @lang('app.project') @lang('app.client') @lang('modules.invoices.total') @lang('modules.invoices.invoiceDate') @lang('app.status') @lang('app.action')
{{-- Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. --}}
@endif @if(in_array('estimates',$modules) && in_array('estimate_tab',$activeWidgets))
# @lang('app.estimate') # @lang('app.client') @lang('modules.invoices.total') @lang('modules.estimates.validTill') @lang('app.status') @lang('app.action')
@endif @if(in_array('expenses',$modules) && in_array('expense_tab',$activeWidgets))
# @lang('modules.employees.title') @lang('modules.expenses.itemName') @lang('app.price') @lang('modules.expenses.purchaseDate') @lang('app.status') @lang('app.action')
@endif @if(in_array('payments',$modules) && in_array('payment_tab',$activeWidgets))
# @lang('app.project') @lang('app.invoice') @lang('modules.invoices.amount') @lang('modules.payments.paidOn') @lang('app.status') @lang('app.action')
@endif @if(in_array('payments',$modules) && in_array('due_payments_tab',$activeWidgets))
# @lang('app.project') @lang('app.invoice') @lang('modules.invoices.amount') @lang('modules.payments.paidOn') @lang('app.status') @lang('app.action')
@endif @if(in_array('leads',$modules) && in_array('proposal_tab',$activeWidgets))
# @lang('app.lead') @lang('modules.invoices.total') @lang('modules.estimates.validTill') @lang('app.status') @lang('app.action')
@endif
@if(in_array('payments',$modules) && in_array('earnings_by_client',$activeWidgets))

@lang('modules.dashboard.earningsByClient')

@if(!empty(json_decode($earningsByClient)))
@lang('app.note'): @lang('messages.earningChartNote')
@else
@lang('messages.noEarningRecordFound')
@endif
@endif @if(in_array('payments',$modules) && in_array('projects',$modules) && in_array('earnings_by_projects',$activeWidgets))

@lang('modules.dashboard.earningsByProjects')

@if(!empty(json_decode($earningsByProjects)))
@else
@lang('messages.noEarningRecordFound')
@endif
@endif
{{-- {!! $dataTable->scripts() !!} --}} {{-- --}} {{-- {!! $dataTable->scripts() !!} --}}