<?php
ini_set('session.gc_maxlifetime', 30 * 60 * 60 * 60);
session_start();
$_SESSION["brand"] = "";
if ($_SESSION["dev"] == "") {
    echo "Invalid User Session";
    exit();
}
?>

<link rel="stylesheet" href="css/themes/redmond/jquery-ui-1.10.3.custom.css" />

<!-- Main content -->
<section class="content">

    <div class="box box-primary">
        <div class="box-header with-border">
            <h3 class="box-title">CASHBOOK</h3>
        </div>

        <form role="form" name ="form1" class="form-horizontal" target="_blank" action="cashbook_print.php">
            <div class="box-body">
                <br>               
                <div class="form-group">
                     <a onclick="location.reload()" class="btn btn-default">
                            <span class="fa fa-user-plus"></span> &nbsp; New

                        </a>
                      
                          <input type="submit" class="btn btn-default" value="PRINT" id="button" name="button">

                       
 

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

                    <label class="col-sm-1 control-label" for="sdate">Date From</label>
                    <div class="col-sm-2">
                        <input type="date" value="<?php echo date('Y-m-d'); ?>" name="dtfrom" id="dtfrom" class="form-control   input-sm">  
                    </div>
                     <label class="col-sm-1 control-label" for="sdate">Date To</label>
                    <div class="col-sm-2">
                        <input type="date" value="<?php echo date('Y-m-d'); ?>" name="dtto" id="dtto" class="form-control   input-sm">  
                    </div>

                </div> 
                
                 <div class="form-group">
                     <label class="col-sm-1 control-label" for="sdate">Company</label>
                    <div class="col-sm-2">
                         <select id="company" name="company"  class="form-control input-sm" onblur="brandsession();" >
                                     <option value="ALL">ALL</option>
                                     <option value="C">C</option>
                                     <option value="A">A</option>
                                     <option value="B">B</option>
                                     <option value="R">R</option>
                                 
                            </select>
                    
                    </div>
                 </div> 
                 
               
             
            
            
        </form>
    </div>

</section>

 

<script>
                            function myFunction() {
                                location.reload();
                            }
</script>