Transaction ID | EnteredBy | Date | Category | Outlet | @if(auth()->user()->role == "Administrator")Channel | @endifPayment 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()) | @if(auth()->user()->role == "Administrator") | @endif | @convert($all_sales->sum('discount')) | @convert($all_sales->sum('total_cost_order') - $all_sales->sum('discount')) | @convert($all_sales->sum('total_cost_order')) |