@t('Sales Summary')

@if ($period == 'current')

@if (isset($stats->{$venue_id}->today)) {{ amount($stats->{$venue_id}->today, ['Currency' => oa($currency)])}} @else {{ amount(0, ['Currency' => oa($currency)])}} @endif

@if (isset($stats->{$venue_id}->this_week)) {{ amount($stats->{$venue_id}->this_week, ['Currency' => oa($currency)])}} @else {{ amount(0, ['Currency' => oa($currency)])}} @endif

@if (isset($stats->{$venue_id}->this_month)) {{ amount($stats->{$venue_id}->this_month, ['Currency' => oa($currency)])}} @else {{ amount(0, ['Currency' => oa($currency)])}} @endif

@else

@if (isset($stats->{$venue_id}->h24)) {{ amount($stats->{$venue_id}->h24, ['Currency' => oa($currency)])}} @else {{ amount(0, ['Currency' => oa($currency)])}} @endif

@if (isset($stats->{$venue_id}->d7)) {{ amount($stats->{$venue_id}->d7, ['Currency' => oa($currency)])}} @else {{ amount(0, ['Currency' => oa($currency)])}} @endif

@if (isset($stats->{$venue_id}->d30)) {{ amount($stats->{$venue_id}->d30, ['Currency' => oa($currency)])}} @else {{ amount(0, ['Currency' => oa($currency)])}} @endif

@endif