Commit 2ab42603 by Julio Castillo

agregar campo de fecha de recepcion en vista previa plantilla a laboratorio

parent 186fe0c0
......@@ -370,7 +370,24 @@ function GuardarResultadosPlantillaA()
}
//Fn Pg
function ImprimirPlantillaA(idsolicitud, idexamen, resultado, f_resultado, lectura, interpretacion, observacion, responsable, sexo, idedad, txtnec, proce, origen, iddetalle, marca,fconsulta,fecharecepcion) {
function ImprimirPlantillaA(
idsolicitud,
idexamen,
resultado,
f_resultado,
lectura,
interpretacion,
observacion,
responsable,
sexo,
idedad,
txtnec,
proce,
origen,
iddetalle,
marca,
fconsulta,
fecharecepcion) {
// ImprimirPlantillaA($idsolicitud $idexamen $resultado $fecha_reporta $lectura $interpretacion $observacion $responsable $sexo $idedad $txtnec $proce $origen $iddetalle $marca .$f_consulta)
// alert("edad "+idedad);
ventana_secundaria = window.open("ImprimirPlantillaA.php?var1=" + idsolicitud +
......
......@@ -725,7 +725,7 @@ switch ($opcion) {
<tr>
<td colspan='7' align='center' >
<button type='button' id='btnGuardar' align='center' class='btn btn-primary' title='Guardar Resultados' onclick='GuardarResultados();'><span class='glyphicon glyphicon-floppy-disk'></span>&nbsp;Guardar Resultados</button>
<button style='display:none' type='button' id='Imprimir' name='Imprimir' align='center' class='btn btn-primary' title='Imprimir' onclick='ImprimirPlantillaA(" . $idsolicitud . ",\"" . $idexamen . "\",\"" . $resultado . "\",\"" . $fecha_reporta . "\", \"" . $lectura . "\",\"" . $interpretacion . "\",\"" . $observacion . "\",\"" . $responsable . "\",\"" . $sexo . "\",\"" . $idedad . "\",\"" . $txtnec . "\",\"" . $proce . "\",\"" . $origen . "\",\"" . $iddetalle . "\",\"" . $marca . "\",\"".$f_consulta."\",\"".$fecharecepcion."\") ;'><span class='glyphicon glyphicon-print'></span>&nbsp;Vista Previa</button>
<button style='display:none' type='button' id='Imprimir' name='Imprimir' align='center' class='btn btn-primary' title='Imprimir' onclick='ImprimirPlantillaA(" . $idsolicitud . ",\"" . $idexamen . "\",\"" . $resultado . "\",\"" . $fecha_reporta . "\", \"" . $lectura . "\",\"" . $interpretacion . "\",\"" . $observacion . "\",\"" . $responsable . "\",\"" . $sexo . "\",\"" . $idedad . "\",\"" . $txtnec . "\",\"" . $proce . "\",\"" . $origen . "\",\"" . $iddetalle . "\",\"" . $marca . "\",\"".$f_consulta."\",\"".$fecha_recepcion."\") ;'><span class='glyphicon glyphicon-print'></span>&nbsp;Vista Previa</button>
<a href='#myModal' id='addexam_modal' role='button' data-toggle='modal' data-modal-enabled='true' style='display:none; height:20px'>
<button type='button' id='modaladdexam' align='center' class='btn btn-primary' title='Agregar Examen' ><span class='glyphicon glyphicon-plus'></span>&nbsp;Agregar Examen</button></a>
......@@ -1176,7 +1176,7 @@ switch ($opcion) {
<tr>
<td colspan='8' align='center' >
<button name='Imprimir' id='Imprimir' value='Imprimir' Onclick='ImprimirPlantillaA(" . $idsolicitud . ",\"" . $idexamen . "\",\"" . $v_resultfin. "\",\"" . $d_resultfin . "\", \"" . $v_lectura . "\",\"" . $v_interpretacion . "\",\"" . $v_obserrecep. "\",\"" . $cmbEmpleadosfin . "\",\"" . $sexo . "\",\"" . $idedad . "\",\"" . $txtnec. "\",\"" . $proce. "\",\"" . $origen . "\",\"" . $iddetalle . "\",\"".$f_consulta."\") ;' class='btn btn-primary'><span class='glyphicon glyphicon-print'></span>&nbsp;Vista Previa</button>
<button name='Imprimir' id='Imprimir' value='Imprimir' Onclick='ImprimirPlantillaA(" . $idsolicitud . ",\"" . $idexamen . "\",\"" . $v_resultfin. "\",\"" . $d_resultfin . "\", \"" . $v_lectura . "\",\"" . $v_interpretacion . "\",\"" . $v_obserrecep. "\",\"" . $cmbEmpleadosfin . "\",\"" . $sexo . "\",\"" . $idedad . "\",\"" . $txtnec. "\",\"" . $proce. "\",\"" . $origen . "\",\"" . $iddetalle . "\",\"" . $marca . "\",\"".$f_consulta. "\",\"".$fecha_rececpion."\") ;' class='btn btn-primary'><span class='glyphicon glyphicon-print'></span>&nbsp;Vista Previa</button>
<a href='#myModal' id='addexam_modal' role='button' data-toggle='modal' data-modal-enabled='true'>
<button type='button' id='modaladdexam' align='center' class='btn btn-primary' title='Agregar Examen' ><span class='glyphicon glyphicon-plus'></span>&nbsp;Agregar Examen</button></a>&nbsp;";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment