From f6c26756eb21de40c2224656caece6749fcaf94a Mon Sep 17 00:00:00 2001 From: humano Date: Tue, 31 Mar 2020 14:59:50 -0500 Subject: [PATCH] inclusion fecha en planilla --- funciones/funciones.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/funciones/funciones.php b/funciones/funciones.php index 90547ca..381e3f7 100644 --- a/funciones/funciones.php +++ b/funciones/funciones.php @@ -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="$pie
$cabecera$titulo";} else {$separador="";} $linea = formulario_imprimir_linea("$id","$row[control]","linea_planilla"); - $despliegue .= "$linea $separador"; + $despliegue .= "$linea $separador"; //formulario_imprimir_linea("$row[form_id]","$row[control]") $fila++;
$fila
$row[fecha]