Report Parameters
Report Parameters

@error('selectedBranch') {{ $message }} @enderror @if($branchSearchVisible == true)
  • @if(auth()->user()->access_scope == 0) @endif @if(auth()->user()->access_scope == 1 || auth()->user()->access_scope == 0) @endif @if(auth()->user()->access_scope == 2 || auth()->user()->access_scope == 0) @endif @if(auth()->user()->access_scope == 3 || auth()->user()->access_scope == 0) @endif @foreach($branch_selection as $branch) @endforeach
@endif
@error('start_date') {{ $message }} @enderror
@error('end_date') {{ $message }} @enderror
Generating Report..
Generating CSV File..
Daily Sales Breakdown
{{isset($selectedBranch) ? $selectedBranch : ''}}
Report Date: {{ date('M j, Y g:i:s a',strtotime(now()))}} Generated By: {{ auth()->user()->name}}
Coverage: {{date('M j, Y',strtotime($start_date))}} - {{date('M j, Y',strtotime($end_date))}}
*Note: Coverage date is based on Transaction Date.
@forelse ($data as $index => $d) @empty @endforelse @if(!empty($data)) @else @endif
Transaction Date Gross Discounts Diplomat Service Charge VATable VAT Amount Non-VAT Zero-Rated VAT Exempt SC-PWD VAT Exempt Cash Card Other Sales GC AR Net Sales
{{ $index + 1 }} {{ $d->t_date}} {{ number_format($d->s_gross_amount,2) }} {{ number_format($d->s_discount_amount + $d->s_item_discount_amount,2) }} {{ number_format($d->s_diplomat_amount,2) }} {{ number_format($d->s_service_charge_amount,2)}} {{ number_format($d->s_vatable,2)}} {{ number_format($d->s_vatable *.12,2)}} {{ number_format($d->s_no_vat,2)}} {{ number_format($d->s_zero_rated_amount,2) }} {{ number_format($d->s_vat_exempt,2)}} {{ number_format($d->s_sc_vat_exempt,2)}} {{ number_format($d->cash,2)}} {{ number_format($d->card,2)}} {{ number_format($d->other_sales,2)}} {{ number_format($d->gc,2)}} {{ number_format($d->ar,2)}} {{ number_format($d->s_net_amount,2)}}
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
TOTAL {{ number_format($data->sum('s_gross_amount'),2)}} {{ number_format($data->sum('s_discount_amount') + $data->sum('s_item_discount_amount'),2)}} {{ number_format($data->sum('s_diplomat_amount'),2)}} {{ number_format($data->sum('s_service_charge_amount'),2)}} {{ number_format($data->sum('s_vatable'),2)}} {{ number_format($data->sum('s_vatable') * .12,2)}} {{ number_format($data->sum('s_no_vat'),2)}} {{ number_format($data->sum('s_zero_rated_amount'),2)}} {{ number_format($data->sum('s_vat_exempt'),2)}} {{ number_format($data->sum('s_sc_vat_exempt'),2)}} {{ number_format($data->sum('cash'),2)}} {{ number_format($data->sum('card'),2)}} {{ number_format($data->sum('other_sales'),2)}} {{ number_format($data->sum('gc'),2)}} {{ number_format($data->sum('ar'),2)}} {{ number_format($data->sum('s_net_amount'),2)}}
TOTAL 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
@push('custom-scripts') @endpush