Printed by: {{auth()->user()->name}}
Printed Date: 2024-11-23 08:13:43 PM
{{$app->app_name}},
Order Transactions
Report on Sales From: @if(Auth()->user()->role == "Administrator") All Outlets @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}}
@if(auth()->user()->role == "Administrator") @endif @foreach($all_sales as $list) @endforeach @if(auth()->user()->role == "Administrator") @endif
Transaction ID EnteredBy Date Category OutletChannelPayment Status Discount
{{empty($app->currency) ? "GHS" : $app->currency}}
Amount Recieved
{{empty($app->currency) ? "GHS" : $app->currency}}
Total Cost
{{empty($app->currency) ? "GHS" : $app->currency}}
{{$list->order_id}} {{@strtoupper($list->user->name)}} {{$list->created_at}} {{@strtoupper($list->category)}} {{$list->branch}} @if(auth()->user()->role == "Administrator") {!!$list->channel == 1 ? '' . "Installed App" . '' : '' . "Website" . '' !!} @endif {!!$list->status == 5 ? '' . " On Hold" . '' : '' . " Paid" . '' !!} @convert($list->discount) @convert($list->total_cost_order-$list->discount) @convert($list->total_cost_order)
Total: @convert($all_sales->count()) @convert($all_sales->sum('discount')) @convert($all_sales->sum('total_cost_order') - $all_sales->sum('discount')) @convert($all_sales->sum('total_cost_order'))