function jsaSetPago($Recibo, $cuentabancaria, $monto, $fecha, $cheque) { $xF = new cFecha(); $fecha = $xF->getFechaISO($fecha); $xCta = new cCuentaBancaria($cuentabancaria); $msg = ""; if ($xCta->init() == true) { $xCta->setNuevoCheque($cheque, $cuentabancaria, $Recibo, "", $monto, $fecha); $xRec = new cReciboDeOperacion(false, false, $Recibo); $xRec->setDatosDePago(AML_CLAVE_MONEDA_LOCAL, $monto, $cheque, TESORERIA_PAGO_CHEQUE); } //if(MODO_DEBUG == true){ setLog($xCta->getMessages()); } }