<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script>

		<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">
		<link href="assets/css/main.css" rel="stylesheet" type="text/css">
		<link href="assets/css/my-custom-styles.css" rel="stylesheet" type="text/css">
		<link href="css/jquery.toast.min.css" rel="stylesheet" type="text/css">
		<link rel="stylesheet" href="css/jquery-confirm.min.css">
		<meta charset="utf-8">
<!------ Include the above in your HEAD tag ---------->
<style>
.invoice-title h2, .invoice-title h3 {
    display: inline-block;
}

.table > tbody > tr > .no-line {
    border-top: none;
}

.table > thead > tr > .no-line {
    border-bottom: none;
}

.table > tbody > tr > .thick-line {
    border-top: 2px solid;
}
</style>
<meta charset="utf-8">
<body onafterprint="afterprint()">
<div class="container">
    <div class="row">
        <div class="col-xs-12">
    		<div class="invoice-title">
					<center>
					<img src="img/printlogo.png">

					</center>
				<hr>
    		</div>
			<div class="row">
    			<div class="col-xs-3">
    				<strong  style="font-size: 16px;">{{ __('mylanguage.billno') }}:</strong> <label   style="font-size: 16px;">{{ $data['trn_billno'] }}</label>
    			</div>
    			<div class="col-xs-6">
					<center><b style="font-size: large;">CASH VOUCHER</b></center>
    			</div>
    			<div class="col-xs-3">

    			</div>
			</DIV>
    		<div class="row">
    			<div class="col-xs-6">
    				<address>
						<strong style="font-size: 16px;">{{ __('mylanguage.name') }}:</strong>  <label   style="font-size: 16px;">{{ $data['cst_name'] }}</label>
    				</address>
    			</div>
    			<div class="col-xs-6 text-right">
    				<address>
						<strong  style="font-size: 16px;">{{ __('mylanguage.date') }}:</strong> <label   style="font-size: 16px;"><?php echo date("d-m-Y",strtotime($data['trn_date'])); ?></label> <label   style="font-size: 13px;"><?php echo  date(" h:i A"); ?></label>
    				</address>
    			</div>
    		</div>
    	</div>
    </div>
	<div class="row">
    	<div class="col-md-12">
			<div>
				<?php echo $data['transrecord']; ?>
			</div>
    	</div>
		<div class="col-xs-6 " >
			<address>
				<label style="border:1px solid #cecece; border-radius: 15px;padding-left:10px;padding-right:10px; font-size: 16px; ">
				<b>Cheque detail:</b> <br>
				<label   id="trnnote">{{ $data['trn_note'] }}</label>
				</label>
			</address>
		</div>
		<div class="col-xs-6">
			<address class="text-right">
				<label style="border:1px solid #cecece; border-radius: 15px;padding-left:10px;padding-right:10px; font-size: 16px; "><?php /*{{ __('mylanguage.Paid_amount') }}<br>*/ ?><label id="receiptamt1"><label><span style="font-size: x-large;font-family: latolight;font-size: 26px;font-weight: 500;line-height: 1.1; padding-left: 5px;">Rs.</span><br><span style="font-size: 10px;padding-left: 5;">Payable</span></label> <label style="font-size: x-large;font-family: latolight;font-size: 36px;font-weight: 500;line-height: 1.1;">{{ $data['bilr_gtotal'] }}/-</label></label></label>
			</address>
		</div>
	</div>
	<div class="row">
	<br><br>
	</div>
	<div class="row">
		<div class="col-xs-4" style="font-size: 16px; "> 
		<b>{{ __('incexp.secretary') }}</b>
		</div>
		<div class="col-xs-4" style="font-size: 16px; ">
		<center><b>{{ __('incexp.treasurer') }}</b></center>
		</div>
		<div class="col-xs-4" style="text-align: right;font-size: 16px;">
		<b>{{ __('incexp.receiver') }}</b>
		</div>
	</div>
</div>


<script>
$(document).ready(function()
{
	window.print();
	url = "http://localhost/MosqueDesk/filegenerator/?transaction_id=<?php echo $_GET['transaction_id']; ?>";
//window.close(url);
});
function afterprint()
{
	window.close();
}
</script>