Esempio n. 1
0
$proceso = "Retiro";
session_start();
$nivel = $_SESSION['nivel'];
$bandera = $_SESSION['bandera'];
?>
	<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">  	
    <!-- <link rel="stylesheet" type="text/css" href="../css/jquery.dataTables.css">
    <link rel="stylesheet" type="text/css" href="../css/dataTables.editor.css">   -->
</head>
<body>
  <?php 
if ($nivel == $bandera) {
    mostrar_proceso('Cambio', $bandera, $nivel, $conn);
} else {
    ?>
      <table id="mytable" class="display" style="text-align:center" cellspacing="0" width="100%">
          <thead>
              <tr>
                  <th>cedula</th>
                  <th>numero</th>
                  <th>carrera actual</th>  
                  <th>carrera siguiente</th>  
                  <th>accion</th>               
              </tr>
          </thead>        
          <tfoot>
              <tr>
                  <th>cedula</th>
   <a></a>
   <span venta_id="' . $row['venta_id'] . '" campo="comprobante_tipo">
   ' . utf8_encode($row['comprobante_tipo']) . '
   </span>
   <div style="display:none"></div>      
 </div>
 <b>Nmro</b>:
 <div class="editable-inline line2" class="">
   <a></a>
   <span venta_id="' . $row['venta_id'] . '" campo="comprobante_numero">
   ' . utf8_encode($row['comprobante_numero']) . '
   </span>
   <div style="display:none"></div>
 </div>
 ';
 $nestedData[] = mostrar_proceso($row);
 $nestedData[] = '<span class="item-estado item-estado-' . $row['estado_id'] . '">' . utf8_encode($row['estado']) . '</span>';
 $nestedData[] = '<div class="editable-inline" class="">
                    <a></a>
                    <span venta_id="' . $row['venta_id'] . '" campo="estado_real" class="item-estado-real item-estado-real-' . $row['estado_real_id'] . '">' . utf8_encode($row['estado_real']) . '</span>
                    <div style="display:none"></div>
                  </div>
                 ';
 $nestedData[] = '<div class="editable-inline" class="">
                    <a></a>
                    <span venta_id="' . $row['venta_id'] . '" campo="estado_observacion">' . utf8_encode($row['estado_observacion']) . '</span>
                    <div style="display:none"></div>
                  </div>
                 ';
 $acciones = '';
 if (validar_permisos('edit', $row)) {