        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>
            Formas de Pago
          </h1>
        </section>

        <!-- Main content -->
        <section class="content">

<div class="row">
	<div class="col-md-12">
<br>
		<?php

		$users = TData::getAll();
		if(count($users)>0){
			// si hay usuarios
			?>
<div class="box">
  <div class="box-header">
    <h3 class="box-title">Formas de Pago</h3>

  </div><!-- /.box-header -->
  <div class="box-body no-padding">

			<table class="table table-bordered table-hover">
			<thead>
			<th></th>
			<th>Nombre</th>
			<th></th>
			</thead>
			<?php
			foreach($users as $user){
				?>
				<tr>
				<td style="width:30px;">
				</td>
				<td><?php echo $user->name; ?></td>
				<td style="width:130px;">
				<?php if(!$user->is_active):?>
				<a href="index.php?action=select&opt=t&id=<?php echo $user->id;?>" class="btn btn-default btn-xs">Seleccionar</a>
			<?php endif;?>

				</td>
				</tr>
				<?php

			}

?>
			</table>
  </div><!-- /.box-body -->
</div><!-- /.box -->
			
			<?php


		}else{
			echo "<p class='alert alert-danger'>No hay Categorias</p>";
		}


		?>


	</div>
</div>
        </section><!-- /.content -->



