@extends('operations.layout.mainlayout') @section('content') {{-- @if(session('role') != 12)--}} {{-- {{exit("

Unauthorized access

")}}--}} {{-- @endif--}}

Reports - Totals

Date From :
Date To :
Hospital :
@foreach($orders as $order) @endforeach
User Cash Visa Total Invoice Amount Invoice Payment
{{$order->USERNAME}} {{$order->TOTAL_CASH / 100}} {{$order->TOTAL_VISA / 100}} {{($order->TOTAL_CASH / 100) + ($order->TOTAL_VISA / 100)}} {{empty($order->TOTAL_INVOICE) ? "0" : $order->TOTAL_INVOICE}} @if(session('role') == 4) @endif
Totals {{$cash_total}} {{$visa_total}} {{$total}} {{$total_invoice}}
@endsection