@php
$branch = auth()->user()->branch;
@endphp
Sales Report
{{$branch->name}}
@php
$date = explode("--",$report['date']);
@endphp
@isset($date[1])
Date: {{Common::DateFormat($date[0])}} - {{Common::DateFormat($date[1])}}
@else
Date: {{Common::DateFormat($date[0])}}
@endif
------------------------------------------------------
Total sales for the day: {{($report['sales']??'0.00').' '.@$branch->currency_symbol}}
Total sales in Cash: {{($report['cash']??'0.00').' '.@$branch->currency_symbol}}
Total sales in Card: {{($report['card']??'0.00').' '.@$branch->currency_symbol}}
------------------------------------------------------
Total Sales by Service
@foreach($report['items'] as $item)
{{$item['menu_name']}}: {{($item['amount']??'0.00').' '.@$branch->currency_symbol}}
@endforeach
------------------------------------------------------
Total Voids/Cancelled: {{($report['cancelled']??'0.00').' '.@$branch->currency_symbol}}
Total Item Voids: {{($report['voids']??'0.00').' '.@$branch->currency_symbol}}
{{--
| Date |
@php
$date = explode("--",$report['date']);
@endphp
@isset($date[1])
{{Common::DateFormat($date[0])}} - {{Common::DateFormat($date[1])}} |
@else
{{Common::DateFormat($date[0])}} |
@endisset
| Total |
{{$report['sales_count']}} |
| Amount |
{{$report['sales']}} |
| Detail |
Amount |
| Total Sales |
{{$report['sales']}} |
@if($report['cash']>0)
| {{$report['cash']??0}} |
@endif
@if($report['card']>0)
| Total Card |
{{$report['card']??0}} |
@endif
| Sale by Service |
@foreach($report['items'] as $item)
| {{$item['menu_name']}} |
{{$item['amount']}} |
@endforeach
--}}