Print
@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}}
{{-- @php $date = explode("--",$report['date']); @endphp @isset($date[1]) @else @endisset @if($report['cash']>0) @endif @if($report['card']>0) @endif @foreach($report['items'] as $item) @endforeach
Date{{Common::DateFormat($date[0])}} - {{Common::DateFormat($date[1])}}{{Common::DateFormat($date[0])}}
Total {{$report['sales_count']}}
Amount {{$report['sales']}}
Detail Amount
Total Sales {{$report['sales']}}
{{$report['cash']??0}}
Total Card {{$report['card']??0}}
Sale by Service
{{$item['menu_name']}} {{$item['amount']}}
--}}