
                <!-- Content Header (Page header) -->
                <section class="content-header">
                    <h1>
                        Gestionar Formadepago
                    </h1>
                       <ol class="breadcrumb">
                        <li><a href="<?=base_index();?>"><i class="fa fa-dashboard"></i> Inicio</a></li>
                        <li><a href="<?=base_index();?>formadepago">Formadepago</a></li>
                        <li class="active">Listado Formadepago</li>
                    </ol>
                </section>

                <!-- Main content -->
                <section class="content">
                    <div class="row">
                        <div class="col-xs-12">
                            <div class="box">
                                <div class="box-header">
                                  <h3 class="box-title">Lista Formadepago</h3>
                                  <?php
       foreach ($db->fetch_all("sys_menu") as $isi) {
                      if ($path_url==$isi->url) {
                          if ($role_act["insert_act"]=="Y") {
                    ?>
          <a href="<?=base_index();?>formadepago/tambah" class="btn btn-primary btn-flat col-lg-offset-9 col-md-offset-8 col-sm-offset-6 col-xs-offset-6"><i class="fa fa-plus"></i> Nuevo</a>
                          <?php
                          } 
                       } 
}
?> 
                                </div><!-- /.box-header -->
                                <div class="box-body table-responsive">
                                    <table id="dtb_manual" class="table table-bordered table-striped">
                                   <thead>
                                     <tr>
                           <th style="width:25px" align="center">No</th>
                          <th>Forma de Pago</th>
													
                          <th>Acción</th>
                         
                        </tr>
                                      </thead>
                                        <tbody>
                                         <?php 
      $dtb=$db->fetch_custom("select formadepago.formadepago,formadepago.idformadepago from formadepago ");
      $i=1;
      foreach ($dtb as $isi) {
        ?><tr id="line_<?=$isi->idformadepago;?>">
        <td align="center"><?=$i;?></td><td><?=$isi->formadepago;?></td>

        <td>
        <a href="<?=base_index();?>formadepago/detail/<?=$isi->idformadepago;?>" class="btn btn-success btn-flat"><i class="fa fa-eye"></i></a> 
        <?=($role_act["up_act"]=="Y")?'<a href="'.base_index().'formadepago/edit/'.$isi->idformadepago.'" class="btn btn-primary btn-flat"><i class="fa fa-pencil"></i></a>':"";?>  
        <?=($role_act["del_act"]=="Y")?'<button class="btn btn-danger hapus btn-flat" data-uri="'.base_admin().'modul/formadepago/formadepago_action.php" data-id="'.$isi->idformadepago.'"><i class="fa fa-trash-o"></i></button>':"";?>
        </td>
        </tr>
        <?php
        $i++;
      }
      ?>
                                        </tbody>
                                    </table>
                                </div><!-- /.box-body -->
                            </div><!-- /.box -->
                        </div>
                    </div>
        <?php
       /*foreach ($db->fetch_all("sys_menu") as $isi) {
                      if ($path_url==$isi->url) {
                          if ($role_act["insert_act"]=="Y") {
                    ?>
          <a href="<?=base_index();?>formadepago/tambah" class="btn btn-primary btn-flat"><i class="fa fa-plus"></i> Nuevo</a>
                          <?php
                          } 
                       } 
}*/
?>  
                </section><!-- /.content -->
        
