forked from qwerty/milfs
inclusion fecha en planilla
This commit is contained in:
parent
c06a297972
commit
f6c26756eb
@ -2281,7 +2281,7 @@ function planilla($id,$registros,$tipo){
|
|||||||
|
|
||||||
/// PRIVACIDAD
|
/// PRIVACIDAD
|
||||||
if($publico[0] =='1') {}
|
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();
|
$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>";}
|
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="";}
|
else {$separador="";}
|
||||||
$linea = formulario_imprimir_linea("$id","$row[control]","linea_planilla");
|
$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]")
|
//formulario_imprimir_linea("$row[form_id]","$row[control]")
|
||||||
$fila++;
|
$fila++;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user