inclusion fecha en planilla

This commit is contained in:
humano 2020-03-31 14:59:50 -05:00
parent c06a297972
commit f6c26756eb

View File

@ -2281,7 +2281,7 @@ function planilla($id,$registros,$tipo){
/// PRIVACIDAD
if($publico[0] =='1') {}
$consulta_principal = "SELECT control,id,form_id FROM form_datos WHERE form_id = '$id' GROUP BY form_datos.control ";
$consulta_principal = "SELECT control,id,form_id , FROM_UNIXTIME(form_datos.timestamp) as fecha FROM form_datos WHERE form_id = '$id' GROUP BY form_datos.control ";
$link=Conectarse();
@ -2320,7 +2320,7 @@ while( $row = mysqli_fetch_array( $sql ) ) {
if($fila % $registros == 0) {$separador="</table>$pie<div class='saltopagina'></div>$cabecera<table class='table table-bordered table-striped exportable'><thead><th></th>$titulo</thead>";}
else {$separador="";}
$linea = formulario_imprimir_linea("$id","$row[control]","linea_planilla");
$despliegue .= "<tr><td><small>$fila</small></td>$linea</tr> $separador";
$despliegue .= "<tr><td><small>$row[fecha]</small></td>$linea</tr> $separador";
//formulario_imprimir_linea("$row[form_id]","$row[control]")
$fila++;