Printed by: {{auth()->user()->name}}
Printed Date: 2024-11-23 05:15:01 PM
{{$app->app_name}},
SALES TRANSACTION - [ORDER SUMMARY]
REPORT ON SALES FROM: @if(Auth()->user()->role == "Administrator") ALL BRANCHES @elseif(Auth()->user()->role == "Branch Officer") {{@strtoupper(auth()->user()->branch)}} @else {{@strtoupper(auth()->user()->name)}} @endif
Report Date
{{request()->date == null ? $dayClose->day_close : request()->date}}
@foreach($all_sales as $list) @endforeach
#Tran. ID Date Category Quantity Discount Amount Recieved Total Cost
#{{$list->order_id}} {{$list->created_at}} {{@strtoupper($list->category)}} {{$list->branch}} {{empty($app->currency) ? "GHS" : $app->currency}}@convert($list->discount) {{empty($app->currency) ? "GHS" : $app->currency}}@convert($list->total_cost_order-$list->discount) {{empty($app->currency) ? "GHS" : $app->currency}}@convert($list->total_cost_order)
ORDERS: @convert($all_sales->count()) DISCOUNT: @convert($all_sales->sum('discount')) TOTAL AMOUNT RECIEVED: @convert($all_sales->sum('total_cost_order') - $all_sales->sum('discount')) TOTAL COST: @convert($all_sales->sum('total_cost_order'))