@extends('Reports.template') @section('title') @php if($NHFilter == 'N') $title = "List of Narcotics items issued "; else if($NHFilter == 'H') $title = "List of Highrisk items issued "; else if($NHFilter == 'L') $title = "List of LASA items issued "; else if ($NHFilter == 'H1') $title = "List of Schedule ".$NHFilter." items issued "; @endphp {{$title}} @endsection @section('ExternalCss') @parent @endsection @section('Content')
@php $currentTime = \Carbon\Carbon::now(); @endphp @php $UHID = 0; $custId = 0; foreach ($reportData as $reportDataKey => $reportDataValue) { echo ""; if($reportDataValue->patient_id!=''){ echo ""; }else if($reportDataValue->ph_cust_id!=''){ echo ""; }else{ echo ""; } echo ""; if($reportDataValue->ipd_reg_id != 0){ echo ""; }else{ echo ""; } if($reportDataValue->patient_id){ if($reportDataValue->patient_id != $UHID){ echo ""; $UHID = $reportDataValue->patient_id; }else{ echo ""; } }else if($reportDataValue->ph_cust_id){ if($reportDataValue->ph_cust_id != $UHID){ echo ""; $custId = $reportDataValue->ph_cust_id; }else{ echo ""; } }else{ echo ""; } echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } @endphp
@if($businessEntityMasterData[0]->logo != null) Pharmacy Logologo )}}" /> @endif
{{ $businessEntityMasterData[0]->name }}
{{$businessEntityMasterData[0]->add1. " " .$businessEntityMasterData[0]->add2 ." ".$businessEntityMasterData[0]->city." : " .$businessEntityMasterData[0]->pincode }}
{{"Phone : ".$businessEntityMasterData[0]->tel1}}
{{$title}}
Period: {{\Helper::getDisplayDate($fromDate)}} To: {{\Helper::getDisplayDate($toDate)}} Run Date : {{$currentTime->format('d/m/Y H:i:s ')}}
UH/Cust ID OP ID IP ID Patient/Customer Name Product Name Tran Id Tran Date Quantity Prescribed By
".$reportDataValue->patient_id."*".$reportDataValue->ph_cust_id."".$reportDataValue->opd_reg_id."".$reportDataValue->ipd_reg_id."".$reportDataValue->patient_name."".$reportDataValue->ph_cust_name."".$reportDataValue->product_name."".$reportDataValue->trn_type."/".$reportDataValue->trn_fyear."/".$reportDataValue->trn_id."".\Helper::getDisplayDate($reportDataValue->trn_date)."".$reportDataValue->quantity."".$reportDataValue->doctor_name."
Back
@endsection @section('BootstrapModals') @endsection @section('ExternalJs') @endsection