
<?php $this->load->view("common/header"); ?>
<div style="top:5px;" class="panel-tools open">
<button data-toggle="dropdown" class="btn btn-blue dropdown-toggle" onClick="window.print()">
<i class="fa fa-print"></i>
</button>
</div>

<style type="text/css">
h3
{
	margin-top:10px;
}
th{
	text-align:center !important;
}
.report_view_th{
	color:#000 !important;
	text-align:center !important;	
}
body{
	background-color:#fff !important;
	font-size:12px;
	
}
p{
	margin:0;
}
.modal-body {
  padding: 2px 15px 15px;
  position: relative;
}
body .modal {
/* new custom width */
width: 750px;
/* must be half of the width, minus scrollbar on the left (30px) */
margin-left: -375px;
}
.print-table td, th{
	padding:1px;
	vertical-align:top !important;
}
thead { display: table-header-group; }
tfoot { display: table-footer-group; }
.width_cus{
	width:100px !important;
}
.width_qty{
	width:100px !important;
}
</style>

<!--https://css-tricks.com/almanac/properties/p/page-break/-->

<!--onLoad="window.print()-->
<body onLoad="window.print()">

     <?php // $this->load->view("common/report_header.php"); //print_r($user_details);?>
     <h5  align="center"> PAYMENT RECEIPT</h5>
     <br>
    <?php // print_r ($payment_details);?>
  <div class="row">
  <div class="col-xs-12">
<div class="col-xs-12">



<?php if(isset($payment_details['cus_name'])) {?>

<p><strong>Name: <?php echo $payment_details['cus_name']; ?></strong> 
<p>Date: 

<?php date_default_timezone_set('Asia/Colombo');
$date = date('m/d/Y h:i:s a', time());





echo $date ?></p>
<p>Invoice: <strong><?php echo $payment_details['sale_reference_no']; ?></strong> </p>

<p>Cash Collector :  <strong> <?php echo $payment_details['user_first_name']; ?> </strong></p>


                
 <div class="row">
 <div class="col-xs-12"> 
<div class="col-xs-12">
 <br>
 <p>Paymment Ref. No :  <strong> <?php echo $payment_details['sale_pymnt_id']; ?></strong></p>
 
 <p>Paymment :  <strong> Rs. <?php echo $payment_details['sale_pymnt_amount']; ?></strong></p>



 </div>
 </div>
 </div>
 

<?php } 

else { echo " No Payment Detected ";} 

?>




</div>

</div>
</div>

<div class="print-start">


  
</div>



                 
 <div class="row">
 <br>
 









<div class="col-xs-12">
 <p class="text-center" style="font-size:17px;"><br>

<strong>Thank You! </strong></p>
 </div>
<!--print-start-->   

 </body>



