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

Unauthorized access

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

Send out Report


Date from
Date to
Company
Sendout No
@foreach($orders as $order) @if(!empty($order->eNDUSERLABORDERPACKAGE->SAMPLE_ID)) @else @endif @endforeach
Sample ID Test ID Test Patient Name Payment Method Net Total Paid Cash Visa Remaining Status Date Sendout By Open/Closed
{{$order->eNDUSERLABORDERPACKAGE->SAMPLE_ID}}{{$order->eNDUSERLABORDERPACKAGE->ID}}{{$order->PACKAGE_ID}} {{$order->eNDUSERLABORDERPACKAGE->lABCATEGORYPACKAGE->NAME_EN}} {{$order->eNDUSERLABORDERPACKAGE->NAME}} {{$order->pAYMENTMETHOD->DESC_EN}} {{$order->SENDOUT_PRICE}} {{$order->SENDOUT_AMOUNT / 100}} {{$order->SENDOUT_CASH_AMOUNT / 100}} {{$order->SENDOUT_VISA_AMOUNT / 100}} {{$order->SENDOUT_PRICE - ($order->SENDOUT_AMOUNT / 100)}} {{$order->eNDUSERLABORDERPACKAGE->lABORDERSTATU->DESC_EN}} {{$order->SENDOUT_TIME}} {{empty($order->sendoutby->USERNAME) ? "" : $order->sendoutby->USERNAME}} @if(($order->SENDOUT_AMOUNT/100) < $order->SENDOUT_PRICE) Open @else Closed @endif
Totals {{$net_total}} {{$paid_total}} {{$cash_total}} {{$visa_total}} {{$net_total - $paid_total}}
@endsection