<!-- Main content -->
<section class="content">
    <div class="box box-primary">
        <div class="box-header with-border">
            <h3 class="box-title">CASH HANDOVER</h3>
            <h4 style="float: right;height: 3px;"><b id="time"></b></h4>
        </div>
        <form role="form" class="form-horizontal">
            <div class="box-body">
                <div class="form-group">
                    <a onclick="new_inv();" class="btn btn-default">
                        <span class="fa fa-user-plus"></span> &nbsp; New
                    </a>
                    <a onclick="save_inv();" class="btn btn-success">
                        <span class="fa fa-save"></span> &nbsp; Save
                    </a> 
                    <a onclick="NewWindow('cash_handover_search.php', 'mywin', '800', '700', 'yes', 'center');" class="btn btn-info  ">
                        <span class="glyphicon glyphicon-search"></span> &nbsp; FIND
                    </a>
                    
                    <a onclick="cancel_inv();" class="btn btn-danger">
                        <span class="fa fa-trash"></span> &nbsp; Cancel
                    </a>
                    
                    
                </div>

                <input type="hidden" id="uniq" class="form-control">

                <div id="msg_box"  class="span12 text-center"  >  </div>

            </div>

            <div class="form-group">
                <label class="col-sm-1 control-label" for="txt_usernm">REF NO</label>
                <div class="col-sm-3">
                    <input type="text" placeholder="REF NO" id="refno" disabled class="form-control">
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-1 control-label" for="txt_usernm">DATE</label>
                <div class="col-sm-3">
                    <input type="date" placeholder="DATE" id="sdate" value="<?php echo date('Y-m-d')?>"  class="form-control  " >
                </div> 
            </div>

            <div class="form-group"> 
                <label class="col-sm-1 control-label" for="txt_usernm">AMOUNT</label>
                <div class="col-sm-3">
                    <input type="number" placeholder="AMOUNT" id="amount"   class="form-control  ">
                </div>     
            </div>
            
            <div class="form-group"> 
                <label class="col-sm-1 control-label" for="txt_usernm">REMARK</label>
                <div class="col-sm-3">
                    <textarea type="text"  class="form-control  " id="remark" name="remark" row="6"></textarea>
                </div>     
            </div>


<div class="form-group"></div>

</form>
</div>

</section>

<script src="js/cash_handover.js"></script>
<script>new_inv();</script>