<!-- start: Content -->
<div id="content">
 <div class="panel box-shadow-none content-header">
  <div class="panel-body">
    <div class="col-md-12">
      <h3 class="animated fadeInLeft">Reporte</h3>
      <p class="animated fadeInDown">
        Reporte <span class="fa-angle-right fa"></span> Reporte Mayor No Conciliado
      </p>
    </div>
  </div>
</div>
<div class="col-lg-12 top-20 padding-0">
  <div class="col-md-12">
    <div class="panel">
      <div class="panel-heading"><h3>Reporte Mayor No Conciliado</h3></div>
      <div class="panel-body">  
        <div class="panel">
          <form action="<?php echo base_url('ajustes');?>" method="POST">
            <div class="col-md-2">
              <button class="btn ripple-infinite btn-round btn-info"  type="submit">
                  <span>Ajustar</span>
              </button>
            </div>
          </form>
          <div class="responsive-table">
            <table id="datatables-example" class="table table-striped table-bordered" width="100%" cellspacing="0">
              <thead>
                <tr>
                  <th style="text-align:center">#</th>
                  <th style="text-align:center">Fecha Transacción</th>
                  <th style="text-align:center">Monto</th>        
                  <th style="text-align:center">Lote</th>
                  <th style="text-align:center">Autorización</th>
                  <th style="text-align:center">Estado</th>
                </tr>
              </thead>
              <tbody>
                <?php $i=1; if(!empty($datos_reporte)):?>
                  <?php $i=1; foreach($datos_reporte as $item):?>
                  <tr>
                    <td><?php echo $i ;?></td>
                    <td><?php echo $item['ven_fecha_transaccion'];?></td>
                    <td class="valor"><?php echo $item['ven_monto'];?></td>
                    <td><?php echo $item['ven_lote'];?></td>
                    <td><?php echo $item['ven_autorizacion'];?></td>                    
                    <td>
                      <?php 
                        if($item['tic_id']==2){
                          echo '<div class="text-success"> Conciliado </div>';
                        }else{
                          echo '<div class="text-danger"> Pendiente</div>';
                        } 
                      ?>
                    </td>
                    
                  </tr>
                  <?php $i=$i+1; endforeach;?>
                <?php endif;?>
              </tbody>
            </table>
          </div>
        </div>
      </div>
    </div>  
  </div>
</div>
          <!-- end: content -->