@lang('modules.dashboard.totalRevenue')
{{ global_currency_format($earningsStats['total_amount'], global_setting()->default_currency_id) }}
@lang('modules.dashboard.salesThisMonth')
{{ global_currency_format($earningsStats['current_month_earnings'], global_setting()->default_currency_id) }}
@if($earningsStats['last_month_earnings'] > 0) @php $monthlyChange = (($earningsStats['current_month_earnings'] - $earningsStats['last_month_earnings']) / $earningsStats['last_month_earnings']) * 100; @endphp{{ $monthlyChange >= 0 ? '+' : '' }}{{ number_format($monthlyChange, 1) }}% @lang('modules.dashboard.sincePreviousMonth')
@endif@lang('modules.billing.total')
{{ $earningsStats['total_invoices'] }}
@lang('modules.billing.receipt')
@lang('modules.dashboard.totalRestaurants')
{{ $earningsStats['total_restaurants'] }}
@lang('modules.dashboard.totalPaidRestaurantCount')