<!DOCTYPE html>
<html lang="en">

<head>
<?= ob_start(); ?>
<?php   require_once 'head_link.php'; ?>

</head>

<body>
 
<?php   require_once 'header1.php'; ?> 

<?php  require_once 'sidebar.php'; ?>

  <main id="main" class="main">

    <div class="pagetitle">
      <h1>Bank Report By Date |  <span> <a href="">    <i class="bi bi-table"></i> </a> </span> </h1>
	  <hr>
    </div> 
	
    <section class="section">
      <div class="row">
        <div class="col-lg-6">

          <div class="card">
            <div class="card-body">
              <h5 class="card-title">
			  <?php
	if(isset($errMSG)){
			?>
            <div class="alert alert-danger">
            	<span class="glyphicon glyphicon-info-sign"></span> <strong><?php echo $errMSG; ?></strong>
            </div>
            <?php
	}
	else if(isset($successMSG)){
		?>
        <div class="alert alert-success">
              <strong><span class="glyphicon glyphicon-info-sign"></span> <?php echo $successMSG; ?></strong>
        </div>
        <?php
	}
	?>  
			  
</h5>	
		<form class="form-horizontal" action="php_action/bank_report_by_date.php" method="post" id="getOrderReportForm">
				
				  <div class="form-group">
				    <label for="startDate" class="col-sm-3 control-label">From Date</label>
				    <div class="col-sm-9">
				      <input type="date" class="form-control" id="startDate" name="startDate" placeholder="From Date" />
				    </div>
				  </div>
				  <div class="form-group mt-2">
				    <label for="endDate" class="col-sm-3 control-label">To Date</label>
				    <div class="col-sm-9">
				      <input type="date" class="form-control" id="endDate" name="endDate" placeholder="To Date" />
				    </div>
				  </div>
				  <div class="form-group">
				    <div class="col-sm-offset-3 col-sm-10">
				      <button type="submit" class="btn btn-success mt-2" id="generateReportBtn"> <i class="glyphicon glyphicon-eye-open"></i>View Report</button>
				    </div>
				  </div>
				</form>

            </div>
          </div>

          
        </div>

       
    </section>

  </main> 

    <?php  require_once 'footer1.php'; ?>
	
	
<script src = "js/chosen.js"></script>
<script type = "text/javascript">
	$('.chosen-select').chosen({width: "100%"});
</script>