%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
<div class="doctor-detail"> <div class="container"> <div class="row"> <div class="col-md-4"> <div class="doc-info"> <div class="image"> <img src="<?php echo base_url('assests/images'); ?>/doc.png"> </div> <div class="conant"> <h4><?=$doctorDetails->fullname?></h4> <p><?=$doctorDetails->departmentname?></p> <ul> <li><?=$doctorDetails->specialisationname?></li> <li><?php $languagesArray = array(); foreach($doctorDetails->languagelist as $lobj) { $languagesArray[] = $lobj->LanguageName; } echo implode(', ', $languagesArray); ?></li> </ul> <div class="heading-line"> <h5>About </h5> </div> <p><?=$doctorDetails->fullname ?> is a Consultant at Sharda Hospital with impeccable educational and practical background. Apart from his interest in <?=$doctorDetails->specialisationname ?>, he has been a part of renowned hospital which makes him a pro in this field. Dr. <?=$doctorDetails->firstname ?> is actively taking part in development to <?=$doctorDetails->departmentname?> unit in Sharda Hospital</p> </div> </div> </div> <div class="col-md-8"> <div class="doc-conformation"> <h2>Basic Info</h2> <table class=""> <tr> <td width="30%">HIS Id</td> <td><?=$recordsDetails->his_id?></td> </tr> <tr> <td width="30%">Name</td> <td><?=$recordsDetails->full_name?></td> </tr> <tr> <td>Date of Birth</td> <td><?=$recordsDetails->dob?></td> </tr> <tr> <td>Age</td> <td><?=$recordsDetails->age?></td> </tr> <tr> <td>Phone No</td> <td><?=$recordsDetails->mobile_number?></td> </tr> <tr> <td>Address</td> <td><?=$recordsDetails->address?></td> </tr> </table> <h2>Appointment Info</h2> <table class=""> <tr> <td width="30%">Appointment ID</td> <td><?php echo $recordsDetails->order_id; ?></td> </tr> <tr> <td width="30%">Appointment Date</td> <td><?php $appointmentDate = explode(' ', $recordsDetails->slot_id); echo $appointmentDate[0]; ?></td> </tr> <tr> <td>Appointment slot</td> <td><?=str_replace(array($appointmentDate[0], '::'),array('',' - '),$recordsDetails->slot_id)?></td> </tr> </table> <form action="<?=base_url('payment/payonline')?>" method="POST" enctype="multipart/form-data"> <h2>Payment Info</h2> <table class=""> <tr> <td width="30%">consultancy Fee </td> <td><?=$recordsDetails->amount?> INR</td> </tr> </table> <div class="clearfix"></div> <!-- Payment Gateway Hidden Fields --> <input type="hidden" name="merchant_param1" value="" /> <input type="hidden" name="merchant_param2" value="Sharda Doctor Slot Booking" /> <input type="hidden" name="merchant_param3" value="<?php echo $recordsDetails->order_id; ?>" /> <input type="hidden" name="merchant_param4" value="Doctor Appointment" /> <input type="hidden" name="tid" id="tid" value="<?=time()?>" readonly /> <input type="hidden" name="merchant_id" value="160146" /> <input type="hidden" name="order_id" value="<?php echo $recordsDetails->order_id; ?>" readonly /> <input type="hidden" name="redirect_url" value="<?php echo base_url('payment/handle_response'); ?>" readonly /> <input type="hidden" name="cancel_url" value="<?php echo base_url('payment/handle_response'); ?>" readonly /> <input type="hidden" name="amount" value="<?php echo number_format((float)$recordsDetails->amount,2,'.','');?>" readonly /> <input type="hidden" name="language" value="EN"/> <input type="hidden" name="customer_identifier" value=""/> <div class="pay-radio"> <label > <input type="radio" name="payment_method" id="payment_method" required /> <img src="<?php echo base_url('assests/images'); ?>/Paytm_Logo.png"> </label> </div> <div id="payment_msg"></div> <input type="hidden" name="uid" id="uid" value="<?=$recordsDetails->id?>" /> <input type="hidden" name="bid" id="bid" value="<?=$recordsDetails->his_id?>" /> <button type="submit" onclick="return validatebooking()" class="button1">Confirm & Pay <span><i class="bi bi-arrow-right-short"></i></span></button> <div class="clearfix"></div> <div class="user-detail"> <label><input type="checkbox" id="terms" name="terms" value="1" Checked> I accept the <a href="https://shardahospital.org/pages/terms-conditions" target="_blank"> Terms & Conditions</a> and <a href="https://shardahospital.org/pages/privacy-policy" target="_blank"> Privacy Policy</a>.</label> <div id="terms_div"></div> </div> </form> </div> </div> </div> </div> </div> <script> var countdown = 15 * 60 * 1000; var timerId = setInterval(function(){ countdown -= 1000; var min = Math.floor(countdown / (60 * 1000)); //var sec = Math.floor(countdown - (min * 60 * 1000)); // wrong var sec = Math.floor((countdown - (min * 60 * 1000)) / 1000); //correct if (countdown <= 0) { alert("15 min!"); clearInterval(timerId); //doSomething(); } else { $("#countTime").html(min + "m " + sec + "s"); } }, 1000); function validatebooking() { var payment = $("input[name='payment_method']:checked").val(); payment = (typeof payment === "undefined") ? '' : payment; $("#payments_msg").remove(); $("#checkbox_msg").remove(); var error_flag = 'N'; if(payment=='') { $("<span style='color:red;' id='payments_msg'>Please select payment method.</span>").insertAfter("#payment_msg"); error_flag = 'Y'; } if($("#terms").prop('checked') == false){ $("<span style='color:red;' id='checkbox_msg'>Please accept the Terms & Conditions checkbox.</span>").insertAfter("#terms_div"); error_flag = 'Y'; } if(error_flag == 'Y') { return false; } return true; } </script>