@if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('appointments-read'))
@section('externalcss')
@endsection
@foreach($sessions as $key => $session)
@php
$hour = \Carbon\Carbon::parse($session['session_start_time'])->hour;
$bgColor = '';
if ($hour < 12) {
$bgColor = 'bg-warning text-dark'; // Morning (Before 12 PM) - Yellow
} elseif ($hour >= 12 && $hour < 17) {
$bgColor = 'bg-primary text-dark'; // Afternoon (12 PM - 5 PM) - Blue
} else {
$bgColor = 'bg-dark text-white'; // Evening/Night (5 PM - 11:59 PM) - Dark
}
@endphp
{{$session['session_name']}}
{{$session['doctor_name']}}
{{\Carbon\Carbon::parse($session['session_date'])->format('d-M-Y')}}
{{\Carbon\Carbon::parse($session['session_start_time'])->format('h:i A')}}
TO {{\Carbon\Carbon::parse($session['session_end_time'])->format('h:i A')}}
@endforeach
@if($session_id != null)
@if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('appointments-create'))
@if($doctinfo !="")
@if($doctinfo['prescription_custom_format'] !="")
Print Prescription
@endif
@endif
Book Appointment
@endif
@endif
@if(sizeof($newstatusdata)>0)
@foreach($newstatusdata as $key => $tabledata)
Token-{{$tabledata['token_id']}}
@if($tabledata['transaction_id'] != null)
@endif
@if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('manage_organisation-delete'))
@endif
{{$tabledata['patient_name']}}
Mob : {{$tabledata['phone_no']}}
@endforeach
@else
No Patients Available
@endif
@if(sizeof($inqueuestatusdata)>0)
@foreach($inqueuestatusdata as $key => $tabledata)
Token-{{$tabledata['token_id']}}
@if($tabledata['transaction_id'] != null)
@endif
{{--
--}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- --}}
@if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('manage_organisation-delete'))
@endif
{{$tabledata['patient_name']}}
Mob : {{$tabledata['phone_no']}}
@endforeach
@else
No Patients Available
@endif
@if(sizeof($consultationstatusdata)>0)
@foreach($consultationstatusdata as $key => $tabledata)
Token {{$tabledata['token_id']}}
@if($tabledata['transaction_id'] != null)
@endif
@if($tabledata['status']==2)
Called
@elseif($tabledata['status']==3)
Started
@elseif($tabledata['status']==4)
Hold
@elseif($tabledata['status']==5)
Recalled
@else
@if($tabledata['expected_date_time'] !="")
ETC : {{\Carbon\Carbon::parse($tabledata['expected_date_time'])->diffInRealMinutes()}} Min
@else
Not Yet Started
@endif
@endif
{{$tabledata['patient_name']}}
Mob : {{$tabledata['phone_no']}}
Blood Pressure
: {{$tabledata['blood_pressure']}}
Pulse Rate
: {{$tabledata['pulse_rate']}}
RR
: {{$tabledata['rr']}}
Temparature
: {{$tabledata['temparature']}}
SPO2
: {{$tabledata['spo2']}}
Weight
: {{$tabledata['weight']}}
@endforeach
@else
No Patients Available
@endif
@if(sizeof($reportchekstatusdata)>0)
@foreach($reportchekstatusdata as $key => $tabledata)
Token-{{$tabledata['token_id']}}
@if($tabledata['transaction_id'] != null)
@endif
Checkout
{{-- Start
Hold
Recall
Report Check
End --}}
{{$tabledata['patient_name']}}
Mob : {{$tabledata['phone_no']}}
@endforeach
@else
No Patients Available
@endif
Status
Token ID
Session Date
Session Time
Session Name
Patient Name
Phone No
@if(sizeof($consultationcompleted)>0)
@foreach($consultationcompleted as $tabledata)
@if($tabledata['status']=='7')
Completed
@elseif($tabledata['status']=='0')
Cancelled
@else
In Consultation
@endif
{{$tabledata['token_id']}}
{{\Carbon\Carbon::parse($tabledata->getSession->session_date)->format('d-M-Y')}}
{{\Carbon\Carbon::parse($tabledata->token_details->start_time)->format('H:i A')}} - {{\Carbon\Carbon::parse($tabledata->token_details->end_time)->format('H:i A')}}
{{$tabledata->getSession->session_name}}
{{$tabledata['patient_name']}}
{{$tabledata['phone_no']}}
@endforeach
@else
No Data
Available
@endif
{{--
Action
Status
Token ID
Session Date
Session Time
Session Name
Patient Name
Phone No
@if(sizeof($datatables)>0)
@foreach($datatables as $tabledata)
@if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('appointments-update'))
@endif
--}}{{-- @if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('appointments-update'))--}}{{--
--}}{{-- --}}{{--
--}}{{-- --}}{{--
--}}{{-- --}}{{--
--}}{{-- --}}{{--
--}}{{-- --}}{{--
--}}{{-- --}}{{--
--}}{{-- --}}{{--
--}}{{-- --}}{{--
--}}{{-- --}}{{--
--}}{{-- --}}{{--
--}}{{-- @endif--}}{{--
@if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('manage_organisation-delete'))
@endif
@if($tabledata['status'])
Active
@else
Inactive
@endif
{{$tabledata['token_id']}}
{{\Carbon\Carbon::parse($tabledata->getSession->session_date)->format('d-M-Y')}}
{{\Carbon\Carbon::parse($tabledata->token_details->start_time)->format('H:i A')}} - {{\Carbon\Carbon::parse($tabledata->token_details->end_time)->format('H:i A')}}
{{$tabledata->getSession->session_name}}
{{$tabledata['patient_name']}}
{{$tabledata['phone_no']}}
@endforeach
@else
No Data
Available
@endif
{{$datatables->links('livewire.pagination-livewire')}}
--}}
@if($doctinfo !="")
@if($doctinfo['prescription_custom_format'] !="")
@endif
@endif
@if($generatebill)
{{-- --}}
@if($org_logo)
@if($org_logo)
@else
@endif
@endif
@if($orginfo)
{{$orgunitinfo->unit_name}}
{{$orgunitinfo->address}}, {{$orgunitinfo->city}}, {{$orgunitinfo->state}}, {{$orgunitinfo->country}} - {{$orgunitinfo->pincode}}
@endif
@if($generatebill)
{!!DNS1D::getBarcodeHTML($patientinfo['patient_information']['patient_id'],'C39',1.5,30)!!}
*{{$patientinfo['patient_information']['patient_id']}}*
@endif
Bill of Cash
Receipt
Please bring this recipt for report collection
Invoice No
@if($patientinfo['billinfo'])
: {{$patientinfo['billinfo']['invoice_no']}}
@endif
Patient Name
: {{$patientinfo['patient_name']}}
Patient ID
: {{$patientinfo['patient_information']['patient_id']}}
Age & Sex
: {{$patientinfo['patient_information']['age']}}
Years
/ {{$patientinfo['patient_information']['gender']}}
Contact Number
: {{$patientinfo['phone_no']}}
GST No
: Not Applicable
Date & Time
: {{\Carbon\Carbon::parse($patientinfo['billinfo']['created_at'])->format('d-m-Y h:i A')}}
SAC Code
:
@if($orgunitinfo['sac_code'])
{{$orgunitinfo['sac_code']}}
@else
Not Available
@endif
CIN No
:
@if($orgunitinfo['cin_no'])
{{$orgunitinfo['cin_no']}}
@else
Not Available
@endif
SL No.
CODE
SERVICE
PRICE (₹)
@foreach($patientinfo['billdetailsinfo'] as $key => $patientbillinfo)
{{$key+1}}
{{$patientbillinfo['getServiceInfo']['service_shortname']}}
{{$patientbillinfo['getServiceInfo']['service_name']}}
{{number_format($patientbillinfo['getServiceInfo']['service_cost'],2)}}
@endforeach
Sub Total :
{{number_format($patientinfo['billinfo']['subtotal_amount'],2)}}
Discount
({{$patientinfo['billinfo']['discount_rate']}}%) :
{{number_format($patientinfo['billinfo']['discount_amount'],2)}}
Total Amount :
{{number_format($patientinfo['billinfo']['taxabale_amount'],2)}}
{{--
GST :
INR {{$patientinfo['billinfo']['total_gst_amount']}}
--}}
Payable Amount :
{{number_format($patientinfo['billinfo']['total_net_amount'],2)}}
Amount Payable In Words
: {{$patientinfo['totalamountinwords']}}
** Declaration - This is a computer generated receipt and does not require signature/stamp.
@else
@endif
{{--
DR.
Manish Gupta
GASTRO LIVER AND ENDOSCOPY CENTER
PLOT NO- 100, INDIRAPURAM, GHAZIABAD, UP- 201014
DMC - NO :- 46544
OCMR NO :- 16502
@if($patient_id)
{!!DNS1D::getBarcodeHTML($patient_id,'C39',1.5,50)!!}
*{{$patient_id}}*
@endif
8:00 AM - 1:00 PM / 7:00 PM - 9.00 PM
(Daily Except Sunday)
Patient Name : {{$patient_name}}
Age : {{$age}}
Gender : {{$gender}}
Phone No. : {{$phone_no}}
Address : {{$patient_address}}
Blood Pressure : {{$blood_pressure}} mmHg
Pulse Rate : {{$pulse_rate}} bpm
Respiration Rate : {{$rr}} /minute
Temperature : {{$temparature}} F
SPO2 : {{$spo2}} %
Weight : {{$weight}} kg
Appetite : {{$appetite}}
Sleep : {{$sleep}}
Stool : {{$stool}}
--}}
@if ($patient_data)
{{ $orgunit->unit_name }}
{{ $orgunit->address }},{{ $orgunit->city }}
Tel No - {{ $orgunit->mobile_no }}
Email - {{ $orgunit->email_id }}
{{-- Sri Durga Medical hall
Dolasahi Gate Bazar, Dolasahi Bhadrak
Tel No - 9776672605 , 9853076359 , 9937706884
Email - sridurgamedical2018@gmail.com --}}
@if ($org_logo)
@endif
@if ($patient_data)
{!! DNS1D::getBarcodeHTML($patient_data['patient_id'], 'C39', 0.8, 35) !!}
*{{ $patient_data['patient_id'] }}*
@endif
Doctor Name-
{{$dr_data['doctor_name']}}
Dept-
@if($specialist != null){{$specialist['specializations']}} @else NA @endif
Patient Name-
{{$patient_data['patient_name']}}
BP- {{$appointment_data['blood_pressure']}}
PULSE - {{$appointment_data['pulse_rate']}}
WT- {{$appointment_data['weight']}}
SPO2 - {{$appointment_data['spo2']}}
@endif
{{--Omm Pharma prescription design end--}}
@if ($patient_data)
{{--
{{ $orgunitinfo->unit_name }}
{{ $orgunitinfo->address }},{{ $orgunitinfo->city }}
Tel No - {{ $orgunitinfo->mobile_no }}
Email - {{ $orgunitinfo->email_id }}
--}}{{-- Sri Durga Medical hall
Dolasahi Gate Bazar, Dolasahi Bhadrak
Tel No - 9776672605 , 9853076359 , 9937706884
Email - sridurgamedical2018@gmail.com --}}{{--
@if ($org)
@endif
@if ($patient_data)
{!! DNS1D::getBarcodeHTML($patient_data['patient_id'], 'C39', 1.0, 35) !!}
*{{ $patient_data['patient_id'] }}*
@endif
--}}
OPD PRESCRIPTION
Patient Name
: @if($patient_data != null){{$patient_data['patient_name']}} @else NA @endif
Mobile
: @if($patient_data != null){{$patient_data['phone_no']}}@else NA @endif
Age/Gender
: {{$patient_data != null ? $patient_data['age'].'/'.$patient_data['gender']:'NA'}}
Doctor
: {{$dr_data != null ? $dr_data['doctor_name']:null}}
UHID
: {{$patient_data != null ? $patient_data['patient_id'] :'NA'}}
Visit Date
: {{$appointment_data!= null ? \Carbon\Carbon::parse($appointment_data['created_at'])->format('d-M-Y h:i A') : 'NA' }}
Specialist
: {{$dr_data['speciality_name'] != null ? $dr_data['speciality_name']:'NA'}}
Dr Regd No
: {{$dr_data['regd_no'] != null ? $dr_data['regd_no']:'NA'}}
Height : @if($appointment_data){{$appointment_data['height']}} @endif ft
Weight : @if($appointment_data){{$appointment_data['weight']}} @endif kg
BP : @if($appointment_data){{$appointment_data['blood_pressure']}}mm/hg @else mm/hg @endif
{{--
SPO2 - @if($appointment_data) {{$appointment_data['spo2']}} @endif
--}}
{{--
--}}
@endif
{{--Omm Pharma prescription design end--}}
@if($pat_data)
Patient ID
: {{$pat_data['patient_id']}}
Patient Name
: {{$pat_data['patient_name']}}
Phone No.
: {{$pat_data['phone_no']}}
Email Id
: {{$pat_data['email_id']}}
Gender
: {{$pat_data['gender']}}
Age
: {{$pat_data['age']}}
Marital Status
: {{$pat_data['marital_status']}}
Blood Group
: {{$pat_data['blood_group']}}
@else
@if($btndisplay)
Add New Patient
Please wait...
@else
Patient Details Not Found
{{--
--}}
{{-- 1. Enter Patient Mobile No. --}}
{{-- 2. If Patient Found Select Patient. --}}
{{-- 3. If Not Then Register Patient With Required Details, Then Select --}}
{{-- 4. Lock Token No. (Once Selected It will be lock.) --}}
{{-- 5. Then Submit For Save Data.--}}
{{--
--}}
@endif
@endif
Available Tokens
@if($pat_data)
@foreach($toknes as $token)
Token {{$token['token_id']}}
{{Carbon\Carbon::parse($token['start_time'])->format('h:i A')}}
@endforeach
@else
Available Tokens Will Show After Patient Selected.
@endif
{{--
--}}
{{-- --}}
{{-- Book --}}
{{-- Please wait...--}}
{{-- --}}
{{-- --}}
{{--
--}}
{{-- @if(env('USE_OTP_FOR_APPOINTMENT') == true)--}}
{{-- @if ($send_button == true)--}}
{{--
--}}
{{-- --}}
{{-- Send OTP --}}
{{-- Please wait...--}}
{{-- --}}
{{-- --}}
{{--
--}}
{{-- @elseif ($resend == true && $pat_data == null)--}}
{{--
--}}
{{-- --}}
{{-- Resend OTP --}}
{{-- Please wait...--}}
{{-- --}}
{{-- --}}
{{--
--}}
{{-- @endif--}}
{{-- @else--}}
{{-- --}}
{{-- --}}{{-- @elseif ($verify == true)--}}
{{--
--}}
{{-- --}}
{{-- Verify --}}
{{-- --}}
{{--
--}}
{{-- @endif--}}
{{-- @if(env('USE_OTP_FOR_INCLINIC_APPOINTMENT') == true)--}}
{{-- @if($otp_field == true)--}}
{{-- --}}
{{--
--}}
{{--
--}}
{{--
--}}
{{-- Expires In : --}}
{{--
--}}
{{-- @if ($invalidotp == true)--}}
{{--
--}}
{{-- Invalid Verification Code --}}
{{--
--}}
{{-- @endif--}}
{{--
--}}
{{-- @if ($verify == true)--}}
{{--
--}}
{{-- --}}
{{-- Verify --}}
{{-- Please wait...--}}
{{-- --}}
{{-- --}}
{{--
--}}
{{-- @endif--}}
{{--
--}}
{{-- @endif--}}
{{-- @endif--}}
{{--
Patient Name
@error('patient_name') {{ $message }} @enderror
--}}
@if($modelid)
@endif
Discard
@if($pat_data)
@if($modelid)
Update
Please wait...
@else
Submit
Please wait...
@endif
@endif
{{ __('Are you sure you want to delete this data ? Once the data is deleted, all of its resources and data will be permanently deleted.') }}
@if($modelid)
@endif
Discard
@if($modelid)
Update
Please wait...
@else
Submit
Please wait...
@endif
@if ($patient_info)
@foreach ($patient_info as $key=> $pat_info)
{{$pat_info->patient_name }}
Gender : {{$pat_info->gender}}
Age : {{$pat_info->age}}
Blood Group : {{$pat_info->blood_group}}
Marital Status : {{$pat_info->marital_status}}
@endforeach
{{--
--}}
Add New Patient
Please wait...
{{--
--}}
@endif
@else