        <!-- page content -->
        <?php $vou; ?>
        <div class="right_col" role="main">
          <div class="">
            <div class="page-title">
                <div class="title_left">
                    <h3></h3>
                </div>
            </div>
            <div class="clearfix"></div>

            <div class="row">
             <div class="col-md-12 col-sm-12 col-xs-12">
                <div class="x_panel">
                  <div class="x_title">
                    <h2><?php echo "Petty Cash";?></h2>
                    <ul class="nav navbar-right panel_toolbox">
                      <li>
                <a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
                    </ul>
                    <div class="clearfix"></div>
                  </div>
               <div class="x_content">
                    <div class="row">
                       
                    <table id="datatable-buttons" class="table table-striped table-bordered nowrap">
                      <thead>
                        <tr>
                          <th>#</th>
                          
                          <th>Date</th>
                          <th>#</th>
                          <th>Action</th>
                      </tr> 
                      </thead>


                      <tbody class="center">
                        <?php $vou=1;
                         if($transcc!=null){
                        foreach($transcc as $key => $value) {
                         
                          
                          ?>
                        <tr>
                        <td style="width:60px;"><?php echo $vou++;?></td>
                         
                             
                          <td style="width:100px;"><?php echo date("d-m-Y", strtotime($value['created_date']));?></td>
                               <td style="width:100px;"><?php echo "Sheet"." ".$value['sht_no'];   ?></td>
                            <td style="width:100px;">
                             <a href="<?php echo base_url(); ?>account/print_sheet/<?php echo $value['sht_no']; ?>"><i class="fa fa-eye fa-2x"></i></a>
                             <a class="btn btn-info btn-sm" href="<?php echo base_url(); ?>account/print_sheet_single/<?php echo $value['sht_no']; ?>"><span class="glyphicon glyphicon-copy"></span> Summary</a>
 
<a class="btn btn-info btn-sm" href="<?php echo base_url(); ?>account/print_sheet_single1/<?php echo $value['sht_no']; ?>"><span class="glyphicon glyphicon-copy"></span> Summary 2</a>
                            </td> 
                        </tr>
                       
                            <?php 
                                } } ?>
                      </tbody>
                    
                    </table>
                  </div>
                  
                </div>
              </div>
             
              </div>
            
            </div>
          </div>
        </div>
        <!-- /page content -->
        <script src="<?php echo base_url(); ?>assets/vendors/jquery/dist/jquery.min.js"></script>
  
            <!-- Datatables -->
    <script src="<?php echo base_url(); ?>assets/vendors/datatables.net/js/jquery.dataTables.min.js"></script>
    <script src="<?php echo base_url(); ?>assets/vendors/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
    <script src="<?php echo base_url(); ?>assets/vendors/datatables.net-buttons/js/dataTables.buttons.min.js"></script>
    <script src="<?php echo base_url(); ?>assets/vendors/datatables.net-buttons-bs/js/buttons.bootstrap.min.js"></script>
    <script src="<?php echo base_url(); ?>assets/vendors/datatables.net-buttons/js/buttons.flash.min.js"></script>
    <script src="<?php echo base_url(); ?>assets/vendors/datatables.net-buttons/js/buttons.html5.min.js"></script>
    <script src="<?php echo base_url(); ?>assets/vendors/datatables.net-buttons/js/buttons.print.min.js"></script>
    <script src="<?php echo base_url(); ?>assets/vendors/datatables.net-fixedheader/js/dataTables.fixedHeader.min.js"></script>
    <script src="<?php echo base_url(); ?>assets/vendors/datatables.net-keytable/js/dataTables.keyTable.min.js"></script>
    <script src="<?php echo base_url(); ?>assets/vendors/datatables.net-responsive/js/dataTables.responsive.min.js"></script>
    <script src="<?php echo base_url(); ?>assets/vendors/datatables.net-responsive-bs/js/responsive.bootstrap.js"></script>
    <script src="<?php echo base_url(); ?>assets/vendors/datatables.net-scroller/js/datatables.scroller.min.js"></script>
    <script src="<?php echo base_url(); ?>assets/vendors/jszip/dist/jszip.min.js"></script>
    <script src="<?php echo base_url(); ?>assets/vendors/pdfmake/build/pdfmake.min.js"></script>
    <script src="<?php echo base_url(); ?>assets/vendors/pdfmake/build/vfs_fonts.js"></script>
    <script src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script>

     <script>

     $(document).ready(function() {
    $('#datatable-buttons').DataTable(
      {
            "bPaginate":true,
            "pageLength": 20,
            
            dom: 'Bfrtip',
            buttons: [
             'pdf',{extend:'excel',text:'Excel',exportOptions:{columns:[0,1,2,3]}}        
                 ]
       }
    );
           });
 </script>