Example #1
0
        ?>
</td>
				<td ><?php 
        echo mysql_to_number($row->turbina_equipo);
        ?>
</td>
				<td ><?php 
        echo mysql_to_number($row->g2);
        ?>
</td>
				<td ><?php 
        echo mysql_to_number($row->g3);
        ?>
</td>
				<td ><?php 
        echo mysql_to_number($row->g4);
        ?>
</td>
			</tr>
			<?php 
    }
    ?>
		</tbody>
		
	</table>
	
<?php 
} else {
    ?>
	
	<div class="no-search">  
Example #2
0
if ($query->num_rows() > 0) {
    ?>
                                    <?php 
    foreach ($query->result() as $row) {
        ?>
                                        <tr>
                                            <td><?php 
        echo $row->numero_operacional_equipo;
        ?>
</td>
                                            <td><?php 
        echo $row->numero_operacional_cuna;
        ?>
</td>
                                            <td><?php 
        echo mysql_to_number($row->importe_viaje);
        ?>
</td>
                                        </tr>
                                    <?php 
    }
    ?>
                                <?php 
} else {
    ?>
                                    <p class="nosearch-title">No encontramos ning&uacute;n resultado</p>
                                <?php 
}
?>
                            </tbody>
                                                        
 /**
  * Exportar
  * 
  * Exporta la consulta actual (con o sin busquedas) a Excel, 
  * la consulta a exportar debe estar almacenada en un fichero
  * previamnete almacenado en el modelo
  */
 public function exportar()
 {
     // Obtener el query a exportar
     $sql = read_file('./query_temp/sse_query_temp.tmp');
     // hacer consulta con los datos almacenados en fichero
     $query = $this->db->query($sql);
     $map = array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'AA', 'AB', 'AC', 'AD', 'AE', 'AF');
     // Crear un objeto Excel
     //load PHPExcel library
     $this->load->library('excel');
     // Activate worksheet number 1
     $this->excel->setActiveSheetIndex(0);
     // Name the worksheet
     $this->excel->getActiveSheet()->setTitle('Salida_salario_equipo');
     // Crear cabeceras
     $this->excel->getActiveSheet()->setCellValue('A1', 'Equipo');
     $this->excel->getActiveSheet()->setCellValue('B1', html_entity_decode('Cu&ntilde;a'));
     $this->excel->getActiveSheet()->setCellValue('C1', 'Importe del viaje');
     $this->excel->getActiveSheet()->setCellValue('D1', 'Inicio del periodo de pago');
     $this->excel->getActiveSheet()->setCellValue('E1', 'Final del periodo de pago');
     // Hacer la letra negrita
     for ($i = 0, $j = count($map); $i < $j; $i++) {
         $this->excel->getActiveSheet()->getStyle("{$map[$i]}1")->getFont()->setBold(true);
     }
     $letra = 0;
     // Comenzar en la segunda linea
     $j = 2;
     foreach ($query->result() as $row) {
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->numero_operacional_equipo);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->numero_operacional_cuna);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, mysql_to_number($row->importe_viaje));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, date("d/m/Y", $row->fecha_inicio_periodo_pago));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, date("d/m/Y", $row->fecha_final_periodo_pago));
         $j++;
         $letra = 0;
     }
     // Crear el fichero excel y hacerlo descargable
     $date = date("d_m_y");
     $filename = "Salida_salario_equipo_{$date}.xls";
     header('Content-Type: application/vnd.ms-excel');
     header('Content-Disposition: attachment;filename="' . $filename . '"');
     header('Cache-Control: max-age=0');
     $objWriter = PHPExcel_IOFactory::createWriter($this->excel, 'Excel5');
     $objWriter->save('php://output');
 }
Example #4
0
        ?>
" />
					<?php 
        echo $row->categoria;
        ?>
				</td>
				<td><strong><?php 
        echo $row->nomenclador;
        ?>
</strong></td>
				<td><?php 
        echo mysql_to_number($row->min_capacidad_carga);
        ?>
</td>
				<td><?php 
        echo mysql_to_number($row->max_capacidad_carga);
        ?>
</td>
			</tr>
			<?php 
    }
    ?>
		</tbody>
		
	</table>
	
<?php 
} else {
    ?>
	
	<div class="no-search">  
Example #5
0
 /**
  * Exportar
  *
  * Exporta la consulta actual (con o sin busquedas) a Excel,
  * la consulta a exportar debe estar almacenada en un fichero
  * previamnete almacenado en el modelo
  */
 public function exportar()
 {
     // Obtener el query a exportar
     $sql = read_file('./query_temp/entrada_query_temp.tmp');
     // hacer consulta con los datos almacenados en fichero
     $query = $this->db->query($sql);
     $map = array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'AA', 'AB', 'AC', 'AD', 'AE', 'AF');
     // Crear un objeto Excel
     //load PHPExcel library
     $this->load->library('excel');
     // Activate worksheet number 1
     $this->excel->setActiveSheetIndex(0);
     // Name the worksheet
     $this->excel->getActiveSheet()->setTitle('Entradas');
     // Crear cabeceras
     $this->excel->getActiveSheet()->setCellValue('A1', 'Chapa');
     $this->excel->getActiveSheet()->setCellValue('B1', 'Nombre y apellidos');
     $this->excel->getActiveSheet()->setCellValue('C1', 'Hoja de ruta');
     $this->excel->getActiveSheet()->setCellValue('D1', 'Fecha de la incidencia');
     $this->excel->getActiveSheet()->setCellValue('E1', 'Equipo');
     $this->excel->getActiveSheet()->setCellValue('F1', html_entity_decode('Cu&ntilde;a'));
     $this->excel->getActiveSheet()->setCellValue('G1', 'Capacidad de carga');
     $this->excel->getActiveSheet()->setCellValue('H1', 'Producto');
     $this->excel->getActiveSheet()->setCellValue('I1', 'Lugar de carga');
     $this->excel->getActiveSheet()->setCellValue('J1', 'Lugar de descarga');
     $this->excel->getActiveSheet()->setCellValue('K1', 'Litros entregados');
     $this->excel->getActiveSheet()->setCellValue('L1', html_entity_decode('Kil&oacute;metros recorridos'));
     $this->excel->getActiveSheet()->setCellValue('M1', 'Modo de descarga');
     $this->excel->getActiveSheet()->setCellValue('N1', html_entity_decode('N&deg; de viajes'));
     $this->excel->getActiveSheet()->setCellValue('O1', html_entity_decode('N&deg; de entregas'));
     $this->excel->getActiveSheet()->setCellValue('P1', 'Viaje');
     $this->excel->getActiveSheet()->setCellValue('Q1', 'Interrupto');
     $this->excel->getActiveSheet()->setCellValue('R1', 'No vinculado');
     $this->excel->getActiveSheet()->setCellValue('S1', 'Nocturnidad corta');
     $this->excel->getActiveSheet()->setCellValue('T1', 'Nocturnidad larga');
     $this->excel->getActiveSheet()->setCellValue('U1', 'Capacitaci&oacute;n');
     $this->excel->getActiveSheet()->setCellValue('V1', html_entity_decode('Movilizaci&oacute;n'));
     $this->excel->getActiveSheet()->setCellValue('W1', 'Feriado');
     $this->excel->getActiveSheet()->setCellValue('X1', 'Ausencia');
     $this->excel->getActiveSheet()->setCellValue('Y1', 'Causa de la ausencia');
     $this->excel->getActiveSheet()->setCellValue('Z1', 'Pago feriado');
     $this->excel->getActiveSheet()->setCellValue('AA1', 'Importe del viaje');
     $this->excel->getActiveSheet()->setCellValue('AB1', 'Cumplimiento de la norma');
     $this->excel->getActiveSheet()->setCellValue('AC1', 'Fecha de captacion');
     $this->excel->getActiveSheet()->setCellValue('AD1', 'Inicio del periodo de pago');
     $this->excel->getActiveSheet()->setCellValue('AE1', 'Final del periodo de pago');
     // Hacer la letra negrita
     for ($i = 0, $j = count($map); $i < $j; $i++) {
         $this->excel->getActiveSheet()->getStyle("{$map[$i]}1")->getFont()->setBold(true);
     }
     $letra = 0;
     // Comenzar en la segunda linea
     $j = 2;
     foreach ($query->result() as $row) {
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->chapa);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->nombre . ' ' . $row->apellidos);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->hoja_de_ruta);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, to_date($row->fecha_incidencia));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->no_equipo);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->no_cuna);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->capacidad_carga);
         //fixed
         $f = $row->producto;
         if ($row->tipo != "") {
             $f .= "(" . $row->tipo . ")";
         }
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $f);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->lugar_carga);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->lugar_descarga);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->litros_entregados);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, mysql_to_number($row->km_recorridos));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->modo);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->numero_de_viajes);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->numero_de_entregas);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->horas_de_viaje);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->horas_interrupto);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->horas_no_vinculado);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->horas_nocturnidad_corta);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->horas_nocturnidad_larga);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->horas_capacitacion);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->horas_movilizacion);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->horas_feriado);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->horas_ausencia);
         //fixed
         $f = $row->pago_feriado == 1 ? "si" : "no";
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $f);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, mysql_to_number($row->importe_viaje));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, mysql_to_number($row->cumplimiento_norma));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, to_date($row->fecha_captacion));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, date("d/m/Y", $row->fecha_inicio_periodo_pago));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, date("d/m/Y", $row->fecha_final_periodo_pago));
         $j++;
         $letra = 0;
     }
     // Crear el fichero excel y hacerlo descargable
     $date = date("d_m_y");
     $filename = "Entrada_{$date}.xls";
     header('Content-Type: application/vnd.ms-excel');
     header('Content-Disposition: attachment;filename="' . $filename . '"');
     header('Cache-Control: max-age=0');
     $objWriter = PHPExcel_IOFactory::createWriter($this->excel, 'Excel5');
     $objWriter->save('php://output');
 }
Example #6
0
			<tr>
				<td headers="checked">
					<input type="checkbox" value="<?php 
        echo $row->tiempo_carga_id;
        ?>
" />
					<?php 
        echo $row->no_equipo;
        ?>
				</td>
				<td><?php 
        echo $row->no_cuna;
        ?>
</td>
				<td><span class="muted"><em class="km-arrow"> &larr;</em></span><strong><?php 
        echo mysql_to_number($row->tiempo_carga);
        ?>
</strong><span class="muted"> &mdash;</span></td>
				<td><?php 
        echo $row->producto;
        ?>
</td>
				<td><?php 
        echo $row->lugar_carga;
        ?>
</td>
			</tr>
			<?php 
    }
    ?>
		</tbody>
Example #7
0
</td>
				<td><?php 
        echo mysql_to_number($row->horas_no_vinculado + $row->horas_no_vinculado_m);
        ?>
</td>				
				<td><?php 
        echo mysql_to_number($row->horas_nocturnidad_corta + $row->horas_nocturnidad_corta_m);
        if (!empty($row->horas_nocturnidad_corta) || !empty($row->horas_nocturnidad_corta_m)) {
            echo "<span class='muted'> (" . mysql_to_number($row->cuantia_horaria_nocturnidad_corta + $row->horas_nocturnidad_corta_m) . ")</span>";
        }
        ?>
</td>
				<td><?php 
        echo mysql_to_number($row->horas_nocturnidad_larga + $row->horas_nocturnidad_larga_m);
        if (!empty($row->horas_nocturnidad_larga) || !empty($row->horas_nocturnidad_larga_m)) {
            echo "<span class='muted'> (" . mysql_to_number($row->cuantia_horaria_nocturnidad_larga + $row->cuantia_horaria_nocturnidad_larga_m) . ")</span>";
        }
        ?>
</td>
				
				<td><?php 
        echo date("d/m/Y", $row->fecha_inicio_periodo_pago);
        ?>
</td>
				<td><?php 
        echo date("d/m/Y", $row->fecha_final_periodo_pago);
        ?>
</td>
			</tr>
			<?php 
    }
 /**
  * Exportar
  *
  * Exporta la consulta actual (con o sin busquedas) a Excel,
  * la consulta a exportar debe estar almacenada en un fichero
  * previamnete almacenado en el modelo
  */
 public function exportar()
 {
     // Obtener el query a exportar
     $sql = read_file('./query_temp/sst_query_temp.tmp');
     // hacer consulta con los datos almacenados en fichero
     $query = $this->db->query($sql);
     $map = array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'AA', 'AB', 'AC', 'AD', 'AE', 'AF');
     // Crear un objeto Excel
     //load PHPExcel library
     $this->load->library('excel');
     // Activate worksheet number 1
     $this->excel->setActiveSheetIndex(0);
     // Name the worksheet
     $this->excel->getActiveSheet()->setTitle('Salida_salario_trabajador');
     // Crear cabeceras
     $this->excel->getActiveSheet()->setCellValue('A1', 'Chapa');
     $this->excel->getActiveSheet()->setCellValue('B1', 'CI');
     $this->excel->getActiveSheet()->setCellValue('C1', 'Nombre y apellidos');
     $this->excel->getActiveSheet()->setCellValue('D1', 'Importe del viaje');
     $this->excel->getActiveSheet()->setCellValue('E1', 'Importe del viaje minorista');
     $this->excel->getActiveSheet()->setCellValue('F1', 'Cumplimiento de la norma');
     $this->excel->getActiveSheet()->setCellValue('G1', 'Viaje');
     $this->excel->getActiveSheet()->setCellValue('H1', 'V.Minorista');
     $this->excel->getActiveSheet()->setCellValue('I1', 'Interrupto');
     $this->excel->getActiveSheet()->setCellValue('J1', 'No vinculado');
     $this->excel->getActiveSheet()->setCellValue('K1', 'Nocturnidad corta');
     $this->excel->getActiveSheet()->setCellValue('L1', 'Nocturnidad larga');
     $this->excel->getActiveSheet()->setCellValue('M1', html_entity_decode('Capacitaci&oacute;n'));
     $this->excel->getActiveSheet()->setCellValue('N1', 'Movilizado');
     $this->excel->getActiveSheet()->setCellValue('O1', 'Feriado');
     $this->excel->getActiveSheet()->setCellValue('P1', 'Ausencia');
     $this->excel->getActiveSheet()->setCellValue('Q1', 'Inicio del periodo de pago');
     $this->excel->getActiveSheet()->setCellValue('R1', 'Final del periodo de pago');
     // Hacer la letra negrita
     for ($i = 0, $j = count($map); $i < $j; $i++) {
         $this->excel->getActiveSheet()->getStyle("{$map[$i]}1")->getFont()->setBold(true);
     }
     $letra = 0;
     // Comenzar en la segunda linea
     $j = 2;
     foreach ($query->result() as $row) {
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->chapa);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->ci);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, $row->nombre . ' ' . $row->apellidos);
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, mysql_to_number($row->importe_viaje));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, mysql_to_number($row->importe_viaje_m));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, mysql_to_number($row->cumplimiento_norma));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, mysql_to_number($row->horas_viaje));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, mysql_to_number($row->horas_viaje_m));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, mysql_to_number($row->horas_interrupto));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, mysql_to_number($row->horas_no_vinculado));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, mysql_to_number($row->horas_nocturnidad_corta));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, mysql_to_number($row->horas_nocturnidad_larga));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, mysql_to_number($row->horas_capacitacion));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, mysql_to_number($row->horas_movilizado));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, mysql_to_number($row->horas_feriado));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, mysql_to_number($row->horas_ausencia));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, date("d/m/Y", $row->fecha_inicio_periodo_pago));
         $this->excel->getActiveSheet()->setCellValue($map[$letra++] . "" . $j, date("d/m/Y", $row->fecha_final_periodo_pago));
         $j++;
         $letra = 0;
     }
     // Crear el fichero excel y hacerlo descargable
     $date = date("d_m_y");
     $filename = "Salida_salario_trabajador_{$date}.xls";
     header('Content-Type: application/vnd.ms-excel');
     header('Content-Disposition: attachment;filename="' . $filename . '"');
     header('Cache-Control: max-age=0');
     $objWriter = PHPExcel_IOFactory::createWriter($this->excel, 'Excel5');
     $objWriter->save('php://output');
 }
Example #9
0
			<tr>
				<td headers="checked">
					<input type="checkbox" value="<?php 
        echo $row->m_normativa_id;
        ?>
" />
					<?php 
        echo $row->normativa;
        ?>
				</td>
				<td><strong><?php 
        echo $row->sigla;
        ?>
</strong></td>
				<td><?php 
        echo mysql_to_number($row->valor, 3);
        ?>
</td>
				<td><?php 
        echo $row->unidad_medida;
        ?>
</td>
			</tr>
			<?php 
    }
    ?>
		</tbody>
		
	</table>
	
<?php 
Example #10
0
        ?>
				</td>
				<td><?php 
        echo mysql_to_number($row->tarifa_menor, 5);
        ?>
</td>
				<td><?php 
        echo mysql_to_number($row->tarifa_mayor, 5);
        ?>
</td>
				<td><?php 
        echo mysql_to_number($row->tarifa_completa, 5);
        ?>
</td>
				<td><?php 
        echo mysql_to_number($row->tarifa_interrupcion, 5);
        ?>
</td>
			</tr>
			<?php 
    }
    ?>
		</tbody>
		
	</table>
	
<?php 
} else {
    ?>
	
	<div class="no-search">  
Example #11
0
        ?>
</td>
        <td><?php 
        echo mysql_to_number($row->horas_interrupto + $row->horas_interrupto_m);
        ?>
</td>
        <td><?php 
        echo mysql_to_number($row->horas_no_vinculado + $row->horas_no_vinculado_m);
        ?>
</td>
        <td><?php 
        echo mysql_to_number($row->horas_nocturnidad_corta);
        ?>
</td>
        <td><?php 
        echo mysql_to_number($row->horas_nocturnidad_larga);
        ?>
</td>
                <td><?php 
        echo date("d/m/Y", $row->fecha_inicio_periodo_pago);
        ?>
</td>
                <td><?php 
        echo date("d/m/Y", $row->fecha_final_periodo_pago);
        ?>
</td>
            </tr>
            <?php 
    }
    ?>
        </tbody>
Example #12
0
        ?>
</td>
                <td><?php 
        echo mysql_to_number($row->Kerosina);
        ?>
</td>
                <td><?php 
        echo mysql_to_number($row->Lubricantes);
        ?>
</td>
                <td><?php 
        echo mysql_to_number($row->Nafta);
        ?>
</td>
                <td><?php 
        echo mysql_to_number($row->Turbo);
        ?>
</td>
			</tr>
			<?php 
    }
    ?>
		</tbody>
		
	</table>
	
<?php 
} else {
    ?>
	
	<div class="no-search">  
Example #13
0
"><?php 
    echo mysql_to_number($cgn->cn);
    ?>
</span>
		            </div>
		        </th>
		        <th colspan="2" class="warning text-right">
                <div class="pull-right">
                <span class="thspan">Cumplimiento general minorista: </span>
                <span class="<?php 
    if ($cgn->cnm < 70 or $cgn->cnm > 140) {
        echo "text-error";
    }
    ?>
"><?php 
    echo mysql_to_number($cgn->cnm);
    ?>
</span>
                </div>
            </th>
		        <th colspan="2" class="text-center">Periodo de pago</th>
		    </tr>
			<tr>
				<th headers="checked">
            <input type="checkbox" />
            <?php 
    echo anchor($modulo['nombre'] . "/show_content/?ofield=salida_cumplimiento_norma.producto&otype=" . $otype, 'Producto');
    ?>
</th>
        <th><?php 
    echo anchor($modulo['nombre'] . "/show_content/?ofield=salida_cumplimiento_norma.cumplimiento_norma&otype=" . $otype, 'Cumplimiento de la norma');
Example #14
0
        ?>
</td>
                <td><?php 
        echo mysql_to_number($row->tarifa_mayor, 5);
        ?>
</td>
                <td><?php 
        echo mysql_to_number($row->tarifa_completa, 5);
        ?>
</td>
                <td><?php 
        echo mysql_to_number($row->tarifa_interrupcion, 5);
        ?>
</td>
                <td><?php 
        echo mysql_to_number($row->tarifa_horario_escala, 5);
        ?>
</td>
            </tr>
            <?php 
    }
    ?>
        </tbody>

    </table>

<?php 
} else {
    ?>

    <div class="no-search">
Example #15
0
        ?>
</td>
				<td ><?php 
        echo mysql_to_number($row->CM);
        ?>
</td>
				<td ><?php 
        echo mysql_to_number($row->CT);
        ?>
</td>
				<td ><?php 
        echo mysql_to_number($row->TM);
        ?>
</td>
				<td ><?php 
        echo mysql_to_number($row->CV);
        ?>
</td>
			</tr>
			<?php 
    }
    ?>
		</tbody>
		
	</table>
	
<?php 
} else {
    ?>
	
	<div class="no-search">  
Example #16
0
        ?>
" />
					<?php 
        echo $row->lugar_descarga;
        ?>
				</td>
				<td><?php 
        echo mysql_to_number($row->capacidad_bombeo_turbina_cliente);
        ?>
</td>
				<td><?php 
        echo mysql_to_number($row->velocidad_media_a_k);
        ?>
</td>
				<td><?php 
        echo mysql_to_number($row->velocidad_media_d);
        ?>
</td>
				<td ><span class="<?php 
        echo $row->Alcohol >= 1 ? "check-mark" : "radio-mark";
        ?>
"></span></td>
				<td ><span class="<?php 
        echo $row->BioMix >= 1 ? "check-mark" : "radio-mark";
        ?>
"></span></td>
				<td ><span class="<?php 
        echo $row->Crudo >= 1 ? "check-mark" : "radio-mark";
        ?>
"></span></td>
				<td ><span class="<?php