%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="container"> <div class="row"> <div class="col col-lg-12"> <div class="login-header"> <!-- <p>Already a Member?</p> <button type="button" class="btn btn-primary header-btn" onclick="window.location.href = 'login.html';">Login </button>--> </div> </div> </div> </div> <div class="container"> <div class="row"> <?php $testDetails = getTestDetails($response['test_id']); ?> <div class=" col-lg-12"> <div class="login-rectangle"> <a href="<?=base_url('dashboard')?>" class="backtodash"><i class="fa fa-arrow-left" aria-hidden="true"></i> Go to dashboard </a> <div id="divToPrint"> <div class="login-logo"> <img src="https://shardahospital.org/images/logo_new.png"> </div> <div class="login-sec"> <h2> Covid-19 <?=$testDetails[0]->title?> Vaccination <br />Registration : <?php echo $response['order_status']; ?></h2> <p>Please carry your photo ID proof for Covid-19 Vaccination.</p> <!--<h2> Token - <?=$userData['order_id']?></h2>--><br /> </div> <div class="login-sec"> <?php $order_status = $response['order_status']; if(($order_status==="APPROVED")) { echo '<center class="alert alert-success">Thank you for your booking. Your Transaction is successful.</center>'; } else if($order_status==="Failure" || $order_status==="Fail" || $order_status==="FAILED") { echo '<center class="alert alert-danger">Thank you for your booking. However, the transaction has been FAILED.</center>'; } else if($order_status==="Hacked") { echo '<center class="alert alert-danger">It seems you have tried to hack into the system and tamper with the details. The amount has been deducted from your account. Kindly get in touch to get your refund.</center>'; } else if($order_status==='DECLINED') { echo '<center class="alert alert-danger">'.$response['PaymentFailureMsg'].'</center>'; } else{ $security_error = '<center class="alert alert-danger">Security Error. Illegal access detected. Please Try again later.</center>'; }?> </div> <div class="user-detail"> <h4>Transaction Detail</h4> <div class="table-detail-in"> <table> <tr> <th>#</th> <th>Transaction ID</th> <th>Order ID</th> <th>Transaction Date</th> <th>Bank Reference Number</th> <th>Amount</th> <th>Status</th> </tr> <tr> <td>1.</td> <td><?php echo $response['payment_tracking_number']; ?></td> <td><?php echo $response['order_id']; ?></td> <td><?php echo $response['trans_date']; ?></td> <td><?php echo $response['bank_ref_no']; ?></td> <td><?php echo $response['currency']." ".$response['amount']; ?></td> <td><?php echo $response['order_status']; ?> <br/><small><?php echo $response['PaymentFailureMsg']; ?></small></td> </tr> </table> </div> </div> <div class="user-detail"> <h4>Registration Detail</h4> <div class="table-detail-in"> <table> <tr> <th>#</th> <th>Name</th> <th>Phone</th> <th>ID Proof Number</th> <th>Address</th> <th>Age/Gender:</th> <th>Vaccine</th> <th>Appointment Date</th> <th>Slot Time</th> </tr> <?php $slotArray = getSlotDetails($response['slot_id']); ?> <tr> <td>1.</td> <td><?=$userData['full_name']?></td> <td><?=$userData['contact_number']?></td> <td><?=$userData['aadhar_number']?></td> <td><?=$response['address']?>-<?=$response['pincode']?></td> <td><?=$userData['age']?> Years/<?=$userData['gender']?> </td> <td><?=$testDetails[0]->title?> </td> <td><?=date('d M Y',$response['slot_date'])?> </td> <td><?=$slotArray[0]->title?> </td> </tr> </table> </div> </div> <?php echo link_tag('assests/css/style.css'); ?> <script src="<?php echo base_url('assests/js/jquery-1.12.4.js'); ?>"></script> </div> <div class="user-detail"> <div class="row"> <div class=" col-lg-4"></div> <div class=" col-lg-4"><br /> <button onclick="PrintDiv();">Print Receipt</button> </div> </div> </div> <div class="login-pin"></div> </div> </div> <div class="col col-lg-3"></div> </div> </div> <script type="text/javascript"> function PrintDiv() { var divToPrint = document.getElementById('divToPrint'); var popupWin = window.open('', '_blank', 'width=300,height=300'); popupWin.document.open(); popupWin.document.write('<html><body onload="window.print()">' + divToPrint.innerHTML + '</html>'); popupWin.document.close(); } </script>