<footer class="main-footer hidden-print">
  <div class="pull-right hidden-xs bold">LOGED IN AS... <?php echo $com_row['name'];?>&nbsp;(<?php echo $bra_row['branch'];?>)</span> | YEAR : <?php echo date("Y", strtotime($from_year));?> - <?php echo date("Y", strtotime($to_year));?></div>
    <strong><span id="copyright"><?php echo date("Y"); ?> © ATTRANS</span></strong>
</footer>
</div>

<a href="<?php echo $root;?>get_financial_year_modal.php" class="hide hidden-print" data-toggle="modal" id="trigger-year-modal" data-target="#emptymodal"></a>

<div id="emptymodal" class="modal fade" role="dialog" data-backdrop="static">
  <div class="modal-dialog">
    <div class="modal-content">
    </div>
  </div>
</div>

<div id="dataModal" class="modal fade">
   <div class="modal-dialog modal-md">
      <div class="modal-content">
         <div class="modal-body" id="employee_detail">  
         </div>
         <div class="modal-footer hidden-print"> 
            <button type="button" class="btn btn-danger" data-dismiss="modal"><i class="fa fa-times-circle-o" aria-hidden="true"></i></button>
         </div>
      </div>
   </div>
</div>

<div id="bill_print_model" class="modal fade">
   <div class="modal-dialog modal-sm width45">
      <div class="modal-content" style="width: 500px;height: 180px;">
         <div class="modal-body" id="bill_print">  
         </div>
      </div>
   </div>
</div>
<script src="assets/bower_components/jquery-ui/jquery-ui.min.js"></script>
<script src="assets/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="assets/validation/js/jquery.validate.js"></script>
<script src="assets/plugins/jquery-validation/js/additional-methods.js"></script>
<script src="assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js"></script>
<script src="assets/bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script>
<script src="assets/plugins/bootstrap-sessiontimeout/bootstrap-session-timeout.min.js"></script>
<script src="assets/bower_components/select2/dist/js/select2.full.min.js"></script>
<script src="assets/bower_components/select2/dist/js/select2-tab-fix.js"></script>
<script src="assets/plugins/iCheck/icheck.min.js"></script>
<script src="assets/bower_components/fastclick/lib/fastclick.js"></script>
<script src="assets/dist/js/adminlte.min.js"></script>

<script type="text/javascript" src="assets/plugins/chosen/chosen.jquery.min.js"></script>
<script src="assets/js/excel/table2excel.js"></script>
<script src="assets/custom.js"></script>
<script src="assets/plugins/input-mask/jquery.inputmask.js"></script>
<script src="assets/plugins/input-mask/jquery.inputmask.date.extensions.js"></script>
<script>
  $(function () {
    $('#example1').DataTable()
    $('#example2').DataTable({
      'paging'      : true,
      'lengthChange': false,
      'searching'   : false,
      'ordering'    : true,
      'info'        : true,
      'autoWidth'   : false
    })
  })
</script>
<script type="text/javascript">
  /* ********************************************************** */
  $(document).ready(function() {
    $(document).on("keypress", "form", function(event) {
        return event.keyCode != 13;
    });
    $('button').attr('disabled',false);
    /*<?php if( !isset($_SESSION['from_year']) || $_SESSION['from_year'] == '') { ?>
      jQuery('#trigger-year-modal').trigger('click');
    <?php } ?>*/
  });
</script>



</body>
</html>
