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

Unauthorized access

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

Invoicing Report


Date from
Date to
Medical Complex
Reservation ID
@foreach($orders as $order) @endforeach
Sample ID Patient Name Payment Method Net Total Paid Cash Visa Remaining Status Date Paid By Open/Closed
{{$order->ID}} {{$order->NAME}} {{$order->pAYMENTMETHOD->DESC_EN}} {{$order->OUTSOURCE_PRICE}} {{$order->OUTSOURCE_AMOUNT / 100}} {{$order->CASH_AMOUNT / 100}} {{$order->VISA_AMOUNT / 100}} {{$order->OUTSOURCE_PRICE - ($order->OUTSOURCE_AMOUNT / 100)}} {{$order->lABORDERSTATU->DESC_EN}} {{$order->PAID_TIME}} {{empty($order->SystemUser->USERNAME) ? "" : $order->SystemUser->USERNAME}} @if(($order->OUTSOURCE_AMOUNT/100) < $order->OUTSOURCE_PRICE) Open @else Closed @endif
Totals {{$net_total}} {{$paid_total}} {{$cash_total}} {{$visa_total}} {{$net_total - $paid_total}}
@if(session('role') == 4)
@endif
@endsection