<!--onLoad="window.print()"-->
<?php //$this->load->view("common/header"); ?>
<style type="text/css">
/*.table-responsive {
	border: 0px solid #000 !important;
}
.report_view_th {
	color: #000 !important;
	font-size: 12px;
}
.menu_type {
	font-size: 11px;
	text-decoration: underline;
	font-weight: 600;
}
.warehouse_name_print {
	height: 100px;
}
.our_com_des {
	font-size: 9px;
	text-align: center;
	color: #333;
}
.table-responsive td {
	font-size: 11px;
	background-color: #fff !important;
	border: 0px solid #000 !important;
	padding: 0px !important;
}
.table-responsive th {
	border: 0px solid #000 !important;
}
h4 {
	font-size: 16px;
}
h5 {
	font-size: 135%;
}
body {
	background-color: #fff !important;
}
.td_border_bottom_1 {
	border-bottom: 1px solid #666 !important;
}
.td_border_bottom_2 {
	border-bottom: 4px double #666 !important;
}
.td_border_top_1 {
	border-top: 1px double #666 !important;
}
p {
	margin: 0 0 2px !important;
}
.main-menu-price {
	font-size: 14px !important;
}
h4, .h4, h5, .h5, h6, .h6 {
	margin-bottom: 0px;
	margin-top: 0px;
}*/



div.a {
/*padding-top: -150px;
	transform: rotate(315deg);*/
}
.wrapper {
	transform: rotate(90deg);
}
/*lakmal*/
td {
	/*border: solid 1px;*/
}
table {
	width: 100%
}

/*
body {
	width: 640px;
	height: 230px;
	
	position: absolute;
	top: 99;
	padding: 20px;
	margin-top: -100px;
	margin-left: 10px;
	
	transform: rotate(180deg);
}
*/

body {
    width: 640px;
    height: 230px;
    /* border: dashed; */
    position: absolute;
    top: 99;
    padding: 20px;
    margin-top: 85px;
    margin-left: 3px;
    /* margin-left: -104px; */
    transform: rotate(270deg);
     text-transform: uppercase;


</style>
<?php /*?><body onLoad="window.print()">
<div class="modal-bodyd" style="border:solid">
  <div class="">
    <div class="col-xs-12 wrapper">
      <div class="col-xs-12 wrapper">
        <div class="col-xs-9 wrapper">
          <?php if(isset($payee_only)){ if($payee_only==1){?>
          ----------------------------<br>
          A/C PAYEE ONLY<br>
          ----------------------------<br>
          <?php }}else{?>
          &nbsp;<br>
          &nbsp;<br>
          &nbsp;<br>
          <?php }?>
        </div>
        <div class="col-xs-3 wrapper">
          <?php if(isset($chque_date)){echo $chque_date;} ?>
        </div>
      </div>
      <div class="col-xs-12 wrapper"> <br>
      </div>
      <div class="col-xs-12 wrapper">
        <div class="col-xs-9 wrapper"> </div>
        <div class="col-xs-3 wrapper">
          <?php if(isset($amount)){echo "**".$amount."**";}?>
        </div>
      </div>
      <div class="col-xs-12 wrapper">
        <div class="col-xs-1 wrapper"> </div>
        <div class="col-xs-9 wrapper">
          <?php if(isset($payee)){echo "**".$payee."**" ;}?>
        </div>
      </div>
      <div class="col-xs-12 wrapper"> <br>
      </div>
      <div class="col-xs-12 wrapper">
        <div class="col-xs-1 wrapper"> </div>
        <div class="col-xs-9 wrapper">
          <?php if(isset($cheque_amount_in_words)){echo "**".$cheque_amount_in_words."**";} ?>
        </div>
      </div>
    </div>
  </div>
</div>

<!--/.col-md-12-->

</body>
<?php */?>
<body onLoad="window.print()">

 <?php if(isset($payee_only)){ if($payee_only==1){?> 
 <div style="position:absolute; top:20; left:180; border-top:dashed 1px; border-bottom:dashed 1px; width:180px; text-align:center">
          A/C PAYEE ONLY
          <?php }}?></div>
 
<table>
  <tr>
    <td colspan="2" style="text-align:right; letter-spacing:14px; font-size:22px;">
        
        <?php
        //echo "date:$chque_date  , ";
        //echo "date new: ".substr($chque_date,0,4);
        
        $dis_date='';
        $y=$this->input->get('y');
        
        if($y==0){
        if(isset($chque_date)){$dis_date.= substr($chque_date,0,4);$dis_date.= '&nbsp;&nbsp;'.substr($chque_date,6,2);}
        }else{
            $dis_date=$chque_date;
        }
        
        ?>
    	<div style="margin-top:-12px; margin-bottom:15px; margin-left:455px; "><?php echo $dis_date ?> </div>
        </td>
  </tr>
  <tr>
    <td colspan="2" style="text-align:left; line-height:35px; font-size:16px;">
    	<div style="margin-left:50px; padding-top:0px;"><?php if(isset($payee)){echo "**".$payee."**" ;}?> </div>
    </td>
  </tr>
  <tr style="line-height:30px; font-size:16px;">
    <td style="width:389px">
    	<div style="margin-left:60px; width:350; padding-top:2px;"> <?php if(isset($cheque_amount_in_words)){echo "**".$cheque_amount_in_words."**<br>&nbsp;"; } ?>  </div>
    	<?php /*?><div style="margin-left:40px;"> <?php if(isset($cheque_amount_in_words)){echo substr($cheque_amount_in_words."**", 52, 100); } ?> </div> <?php */?>
    </td>
    <td style="text-align:center;">
    	<p style="vertical-align:middle; margin-top:-5px;">
        	 <?php if(isset($amount)){echo "**".$amount."**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";}?>
        </p></td>
  </tr>
</table>
</body>
