EmpG.getCedulaAhorro(idemp); } function jsGetCirculoDeCredito(){ var xrl = "../rptlegal/circulo_de_credito.rpt.php?persona=" + mSocio; xG.w({ url: xrl, tiny : true }); } function jsGetOperaciones(){ } function jsGoToPanelCredito(idx){ var xCred = new CredGen(); xCred.goToPanelControl(idx); } function jsListaDeNominas(idnomina){ var EmpG = new EmpGen(); EmpG.getOrdenDeCobranza(idnomina); } function jsRecargar(){ window.location = "socios.panel.frm.php?persona=" + mSocio; } function jsGuardarReferencia(){ var idrelacionado = $("#idpersona").val(); var idtipoderelacion = $("#idtipoderelacion").val(); var idtipodeparentesco = $("#idtipodeparentesco").val(); var stat = $('#depende').prop('checked'); xPG.addRelacion({ persona : mSocio, relacionado : idrelacionado, tipo : idtipoderelacion, parentesco : idtipodeparentesco, depende : stat, callback : jsGetRelaciones }); $("#idpersona").val(0); } function jsGetRelaciones(){ jsaReRelaciones(); } function jsSigmaRelaciones(){ var xrl = "../frmsocios/socios.relaciones.sigma.frm.php?persona=" + mSocio; xG.w({ url: xrl, tiny : true }); } </script> <?php echo $xJsB->get(); $jxc->drawJavaScript(false, true); ?> </html>
</td> <td >Tipo de Movimiento</td> <td><?php echo ctrl_select("operaciones_tipos", " name='tipo_operacion' "); ?> </td> </tr> </table> <input type='button' name='btsend' value='EJECUTAR / VER REPORTE'onClick='execreport();' /> </form> </fieldset> </body> <?php $xJs = new jsBasicForm("frmreports"); echo $xJs->get(); ?> <script> var workform = document.frmreports; function execreport() { idsol = document.frmreports.idsolicitud.value; mostrar_uno = document.frmreports.mostrar.value; tipo_mostrar = document.frmreports.tipo_operacion.value; elsoc = document.frmreports.idsocio.value; //===================================================================== anno0 = document.frmreports.elanno0.value; mes0 = document.frmreports.elmes0.value; dia0 = document.frmreports.eldia0.value; var fi = new Date(anno0, mes0, dia0); // anno1 = document.frmreports.elanno1.value;
<td>Beneficiario</td> <td colspan='2'><input name='beneficiario' type='text' value='' size="50" maxlength="80"></td> </tr> <tr> <td>Monto</td> <td><input type='text' name='monto' value='0' onchange="maxdeudores();" class="mny"></td> </tr> <tr> <td>Observaciones</td> <td colspan="2"><input name='observaciones' type='text' value='' size="50" maxlength="100"></td> </tr> </table> <input type='button' name='' value='ENVIAR / GUARDAR DATOS' onClick="fechaminima(); frmSubmit();"> </form> <?php echo $xJS->get(); } else { //Cambio de ROL Detalles > observaciones $detalles = parametro("observaciones"); $cheque = parametro("cheque", DEFAULT_CHEQUE); $comopago = parametro("ctipo_pago", DEFAULT_TIPO_PAGO, MQL_RAW); $foliofiscal = parametro("foliofiscal"); // -------------------------------------- DATOS DEL MOVIMIENTO ------------------------------------------ $observaciones = parametro("beneficiario"); $fechavenct = parametro("elanno0") . "-" . parametro("elmes0") . "-" . parametro("eldia0"); $fecha = fechasys(); $idsocio = DEFAULT_SOCIO; // Determina el Tipo de Operacion segun tRec if ($tipo_de_recibo == 31) { // Gastos a Comprobar $tipo_de_operacion = 1010;
<option value="csv">Archivo Delimitado por comas (cvs)</option> <option value="csv">Archivo Delimitado por Tabulaciones(tvs)</option> <option value="txt">Archivo de Texto(txt)</option> <option value="page">Pagina Web(www)</option> <option value="xls">Excel</option> </select> </td> </tr> </table> <input type='button' name='btsend' value='EJECUTAR / VER REPORTE'onClick='open_rpt_x_date();'> </form> </fieldset> </body> <?php echo $jsB->get(); ?> <script > var wfrm = document.frmreports; function open_rpt_x_date() { vf73 = 0; // isUrl = document.frmreports.ereport.value; // anno0 = document.frmreports.elanno0.value; mes0 = document.frmreports.elmes0.value; dia0 = document.frmreports.eldia0.value; var fi = new Date(anno0, mes0, dia0); // anno1 = document.frmreports.elanno1.value; mes1 = document.frmreports.elmes1.value;
<td>Observaciones</td> <td colspan="3"><input type="text" name="observaciones" value="" size="50" /></td> </tr> <tr> <th colspan="4"><input type="button" name="sendeme" value="GUARDAR GASTOS DE COBRANZA" onClick="document.frmgtoscbza.submit();"></th> </tr> </table> <input type="hidden" name="basecalculo" value="0" onchange=""></td> <input type="hidden" name="tasa_calculo" value="0" onchange=""> </form> </fieldset> <?php echo $xF->get(); //.- Agrega el Monto de Gastos de Cobranza $idsolicitud = $_POST["idsolicitud"]; $montoop = $_POST["monto_cargado"]; $idsocio = $_POST["idsocio"]; if (!isset($idsolicitud) or !isset($idsocio) or $montoop <= 0) { echo "<p class='aviso'>AGREGE UN NUMERO DE SOLICITUD. \n\n\t\t si sabe a Que Parcialidad afectara, indique el Numero\n\t\t</p>"; } else { $ulper = $_POST["idparcialidad"]; $idparcialidad = $_POST["idparcialidad"]; $iva = $_POST["iva_cargado"]; //$idsocio = mifila($sqlvs, "numero_socio"); $observaciones = $_POST["observaciones"]; $fecha = fechasys(); $cRec = new cReciboDeOperacion(97); $recibo = $cRec->setNuevoRecibo($idsocio, $idsolicitud, $fecha, $idparcialidad, 97, $observaciones);
$xHSel->addOptions(array("autorizado" => "Autorizado", "noautorizado" => "No Autorizdo", "cancelado" => "Cancelado")); $selEstatus = $xHSel->get("idestatus", "Estatus", $estado); $xF = new cHDate(0, $fecha, TIPO_FECHA_OPERATIVA); $xFRM->addHElem($xF->get("Fecha de Operacion")); $xFRM->addHElem($xSel->get("Cuenta", true)); $xFRM->addHElem($selOperacion); $xFRM->addHElem($selEstatus); $xFRM->addHElem($xTxt->get("idsocio", $socio, "Persona")); $xFRM->addHElem($xTxt->get("idbeneficiario", $beneficiario, "Beneficiario(Nombre)")); $xFRM->addHElem($xTxt->get("iddocumento", $documento, "Documento")); $xFRM->addHElem($xTxt->get("idrecibo", $recibo, "Recibo")); $xFRM->addHElem($xTxt->getDeMoneda("idmonto", "Monto", $monto)); $xFRM->addHTML("<div class='aviso'>{$msg}</div>"); //$xFRM->addSubmit("Guardar Movimiento", "setGuardar"); $xFRM->addToolbar($xBtn->getBasic("Guardar", "setGuardar", "guardar", "idsave", false)); echo $xFRM->get(); echo $jsb->get(); //id value class size maxlength arra(varias_opciones) //nombre = id echo $xHP->setBodyEnd(); ?> <script > function setGuardar(){ jsEvaluarFormulario(); } </script> <?php $xHP->end();
$cEFis->setEsSql(); $cEFis->show(false); ?> </td> <td>Observaciones</td> <td colspan="1"><input name="observaciones" type="text" size="30" maxlength="100" /></td> </tr> <tr> <th colspan="4"><input type="button" value="GUARDAR REGISTRO" onclick="frmSubmit();" /></th> </tr> </tbody> </table> <?php //jsbasic("frmagarantias", "", "."); $js = new jsBasicForm("frmagarantias"); echo $js->get(); $nkey = getRndKey(); /* ------------------------------------------------------------------------------------------------*/ if ($montovaluado > TOLERANCIA_SALDOS and $action != $nkey) { $tipogarantia = $_POST["tipogarantia"]; $fecharecibo = fechasys(); if (PERMITIR_EXTEMPORANEO == true) { if (isset($_POST["elanno98"])) { $fecharecibo = $_POST["elanno98"] . "-" . $_POST["elmes98"] . "-" . $_POST["eldia98"]; } } $fechaadquisicion = $_POST["elanno0"] . "-" . $_POST["elmes0"] . "-" . $_POST["eldia0"]; $tipovaluacion = $_POST["tipoval"]; $observaciones = $_POST["observaciones"]; $sociopropietario = $_POST["idsocio"]; $propietario = $_POST["nombresocio"];
function addJsBasico($tipo = iDE_CREDITO, $subtipo = false) { $xJs = new jsBasicForm($this->getName(), $tipo); if ($subtipo == false) { } else { $xJs->setTypeCaptacion($subtipo); } $this->mJS .= $xJs->get(); }
$xFRM->addHElem("<h3>" . $xFRM->lang("Descuentos") . "</h3>"); $xFRM->addDivSolo(" ", $xTxM->getDeMoneda("idmontocreditodescontado", "TR.Descuento"), "tx2", "tx2", array(1 => array("id" => "iddivcreditos"))); $xFRM->addDivSolo(" ", $xTxM->getDeMoneda("idmontocomisiondescontado", "TR.Comision"), "tx2", "tx2"); //fragmentacion del cheque $xFRM->addHElem("<h3>" . $xFRM->lang("Cheque") . "</h3>"); $xFRM->addHElem($xSel->getListaDeCuentasBancarias("", true)->get(true)); $xFRM->ODate("idfechaactual", false, "TR.Fecha de otorgacion"); $xFRM->OText("idnumerocheque", "", "TR.Codigo de Cheque"); $xFRM->addHElem($xTxtMC->getDeMoneda("idmontocheque", "TR.Monto del cheque", 0, true)); $xFRM->addHElem("<h3>" . $xFRM->lang("Otros") . "</h3>"); $xFRM->OText("idfoliofiscal", "", "TR.Folio Impreso"); $xFRM->addObservaciones(); $xFRM->OHidden("idmontooriginal", 0, ""); echo $xFRM->get(); $jxc->drawJavaScript(false, true); echo $jxB->get(); ?> <script> var gn = new Gen(); var val = new ValidGen(); var errors = 0; $(document).ready(function () { $('#id-frmministracion').isHappy({ fields: { "#idsolicitud" : { test: jsLoadVals }, "#idmontocreditodescontado" : { test : jsUpdateCheque }, "#idmontocomisiondescontado" : {