
<form id="llform" method="post" enctype="multipart/form-data" action="#" >
<center>
<table cellspacing="5px" id="recpbox">
<tr>Receipts Operations</tr>
<tr><td align="left"> <img class="iconbtn" style="vertical-align:middle" src="images/recpadd.png" onclick="setrecpadd();">&nbsp;&nbsp;</img> <label for="recpadd"> New Receipt &nbsp;&nbsp;</label>&nbsp;&nbsp;<label for="recpmod">Receipt No. &nbsp;</label>&nbsp;<select id="recpmod" name="recpmod" style="width:220px; height:20px;"><?php require_once 'includes/database.php'; require_once 'includes/funcs.php'; echo selallrecps();?></select> </td>
</tr>
<tr><td align="left"><img class="iconbtn" src="images/recprv.png" style="vertical-align:middle" onclick="setrecprev();">&nbsp;&nbsp;</img><label for="recprev">Receipt Reversal &nbsp;&nbsp;</label>&nbsp;&nbsp;<input type="text" id="recprev" name="recprev" value="" style="width:300px;"/>  </td>
</tr>
<tr><td align="left"><img class="iconbtn" src="images/recpl.png" style="vertical-align:middle" onclick="setrecplist();">&nbsp;&nbsp;</img><label for="recpli">Receipts List &nbsp;&nbsp;</label><label for="rsdate"> Start Date</label>&nbsp;&nbsp;<input type="text" id="rsdate" name="rsdate" value="<?php echo date('d-m-Y'); ?>" size="12">&nbsp;&nbsp; <label for="redate"> End Date</label>&nbsp;&nbsp;<input type="text" id="redate" name="redate" value="<?php echo date('d-m-Y'); ?>" size="12"> </td>
</tr>
</table></center>
</form>
<script type="text/javascript">
	$('#rsdate').datepicker({ changeMonth: true, changeYear: true, dateFormat: 'dd-mm-yy' });
    $('#redate').datepicker({ changeMonth: true, changeYear: true, dateFormat: 'dd-mm-yy' });
	$('#recprev').autocomplete({ source: <?php require_once 'includes/database.php'; include 'includes/funcs.php'; echo allrecps(); ?>, minLength: 2 });
</script>
