<td><input type='text' name='idsocio' value='' onchange="envsoc();" /><?php 
    echo CTRL_GOSOCIO;
    ?>
</td>
				<td>Nombre Completo</td>
				<td><input name='nombresocio' type='text' disabled value='' size="60" /></td>
			</tr>
			<tr>
				<td colspan="4"><input type="submit" /></td>
			</tr>
		</tbody>	
	</table>
	</form>
	<?php 
}
jsbasic("frm_credit_scoring", "", ".");
?>
</fieldset>
</body>
<script  >
function jsNoVerDocumentacion(){
	if (parseInt(document.getElementById("id-ask-01").value) == 0){
		document.getElementById("id-ask-01-b").style.visible = "hidden";
		document.getElementById("id-ask-02").focus();
	} else {
		document.getElementById("id-ask-01-b").style.visible = "visible";
	}
}
</script>
</html>
$jxc = new TinyAjax();
$jxc->exportFunction('jsaGetDatosDelCredito', array('idsolicitud', "idsocio"));
$jxc->process();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Reconvenios de Credito.- M&oacute;dulo</title>
</head>
<link href="<?php 
echo CSS_GENERAL_FILE;
?>
" rel="stylesheet" type="text/css">
<?php 
jsbasic("frmreconvenios", "", ".");
$jxc->drawJavaScript(false, true);
?>

<body>
<?php 
$action = $_GET["a"];
if (!isset($action)) {
    ?>
<fieldset>
<legend>Reestructuraci&oacute;n de Creditos.- M&oacute;dulo</legend>
<form name="frmreconvenios" action="frmcreditosreconvenios.php?a=i" method="post">
	<table   border='0'>
		<tr>
		<td>Clave de Persona</td>
		<td><input type="text" name="idsocio" onchange="envsoc();" id="idsocio" />
include_once "../libs/sql.inc.php";
include_once "../core/core.config.inc.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Lineas de Credito.- Altas</title>
</head>
	<link href="<?php 
echo CSS_GENERAL_FILE;
?>
" rel="stylesheet" type="text/css">
	<script   src="../jsrsClient.js"></script>
<?php 
jsbasic("frmlinea", "", ".");
?>
<body>
<fieldset>
<legend>Lineas de Credito.- Altas</legend>
<form name="frmlinea" action="clscreditoslineas.php" method="post">
	<table    >
		<tr>
			<td>Clave de Persona</td>
			<td><input type='text' name='idsocio' value='1' onchange="envsoc();" size='12' class='mny' /></td>
			<td colspan='2'><input disabled name='nombresocio' type='text' value='' size="40"></td>
		</tr>
		<tr>
			<td>Monto de la Linea</td>
			<td><input type='text' name='montolinea' value='0' class='mny' /></td>
			<td>Fecha de Vencimiento</td>
}
$jxc->exportFunction('calcula_ica', array('solicitud', "frminteresant"));
$jxc->process();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Cobro de Interes Anticipado</title>
</head>
<link href="<?php 
echo CSS_GENERAL_FILE;
?>
" rel="stylesheet" type="text/css">
<?php 
jsbasic("frminteresant", "1", ".");
$jxc->drawJavaScript(false, true);
?>
<body>
<fieldset>
<legend><script> document.write(document.title ); </script></legend>
<form name="frminteresant" action="frminteresanticipado.php?a=p" method="post">
<input type="hidden" id="idTasaIva" name="TasaIva" value="0" />
	<table   width="95%">
		<tr>
			<td>Clave de Persona</td>
			<td><input type='text' name='idsocio' value='0' onchange="envsoc();" class='mny' size='12' />
			<?php 
echo CTRL_GOSOCIO;
?>
</td>
//$jxc ->exportFunction('datos_del_pago', array('idsolicitud', 'idparcialidad'), "#iddatos_pago");
//$jxc ->process();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="<?php 
echo CSS_GENERAL_FILE;
?>
" rel="stylesheet" type="text/css">
</head>
<?php 
//$jxc ->drawJavaScript(false, true);
jsbasic("frmScoreReferences", "", ".");
?>
<body>
<?php 
if (!isset($action)) {
    ?>
<form name="frmScoreReferences" method="post" action="frm_calificar_referencias.php?a=1">
<fieldset>
	<legend><script> document.write(document.title); </script></legend>
	<table border='0' width='100%'  >
		<tbody>
		<tr>
			<td>Clave de Persona</td><td><input type='text' name='idsocio' value='' onchange="envsoc();" class='mny' size='12' />
			<?php 
    echo CTRL_GOSOCIO;
    ?>
include_once "../core/core.config.inc.php";
include_once "../core/core.operaciones.inc.php";
$eacp = EACP_CLAVE;
$xCaja = new cCaja();
if ($xCaja->getEstatus() == TESORERIA_CAJA_CERRADA) {
    header("location:../404.php?i=200");
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Pago de Aportaciones Voluntarias a la Reserva</title>
</head>
<?php 
jsbasic("frmpartessociales", "1", ".");
?>
<script  >
	function uptotal() {
		document.frmpartessociales.total.value = parseFloat(document.frmpartessociales.capital.value) + parseFloat(document.frmpartessociales.interes.value);
	}
</script>
<link href="<?php 
echo CSS_GENERAL_FILE;
?>
" rel="stylesheet" type="text/css">
<body>
	<?php 
$idsocio = $_POST["idsocio"];
$montoaport = $_POST["total"];
if (!$idsocio or $montoaport <= 0) {
include_once "../core/core.deprecated.inc.php";
include_once "../core/core.fechas.inc.php";
include_once "../libs/sql.inc.php";
include_once "../core/core.config.inc.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Resguardo de Garantias</title>
<link href="<?php 
echo CSS_GENERAL_FILE;
?>
" rel="stylesheet" type="text/css">
<?php 
jsbasic("frmresguardo", "", ".");
?>
</head>
<body>
<fieldset>
	<legend>Resguardo de Garantias</legend>


<form name="frmresguardo" action="frmresguardogarantias.php" method="post">
	<table    >
		<tr>
			<td>Clave de Persona</td>
			<td><input type='text' name='idsocio' value='0' onchange="envsoc();" size='12' class='mny' /><?php 
echo CTRL_GOSOCIO;
?>
</td>
include_once "../libs/sql.inc.php";
include_once "../core/core.config.inc.php";
$oficial = elusuario($iduser);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Actualizar / Agregar Datos Complementarios de Grupos Solidarios</title>
</head>
<link href="<?php 
echo CSS_GENERAL_FILE;
?>
" rel="stylesheet" type="text/css">
<?php 
jsbasic("myform", 1, ".");
?>
<body onLoad="loaddatos();">
<fieldset>
<legend>Actualizar / Agregar Datos Complementarios de Grupos Solidarios</legend>
<form name='myform' action='' method='post'>
	<table   border='0'>
		<tr>
			<td>Numero del Grupo</td>
			<td><input type='text' name='idgrupo' value='' onchange="envgpo();" class='mny' size='4' /></td>
			<td>Nombre del Grupo</td>
			<td><input disabled name='nombregrupo' type='text' value='' size="40"></td>
		</tr>
	</table>
<input type='button' name='btsend' value='ENVIAR DATOS'onClick='frmSubmit();'>
</form>
include_once "../core/entidad.datos.php";
$eacp = EACP_CLAVE;
$trec = 15;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>NOTIFICACIONES DE COBRO</title>
</head>
<link href="<?php 
echo CSS_GENERAL_FILE;
?>
" rel="stylesheet" type="text/css">
<?php 
jsbasic("frmnotificacion", "1", ".");
?>

<body>
<hr />
	<p class="frmTitle"><script> document.write(document.title ); </script></p>
<hr />
<form name="frmnotificacion" action="" method="">

	<table   border='0'>
		<tr>
			<td>Desde el Socio: </td><td>
			<input type='text' name='desde' value='37001' onchange="">
			</td>
			<td>Nombre:</td><td><input disabled name='nombredesde' type='text' value='' size="60"></td>
		</tr>
        <a name="cGuardar" id="idSave" onclick="cmd(1);" class="button">&nbsp;&nbsp;&nbsp;AGREGAR&nbsp;&nbsp;&nbsp;&nbsp;</a>
        <a name="cActualizar" id="idUpdate" onclick="cmd(2);" class="button">&nbsp;&nbsp;ACTUALIZAR&nbsp;&nbsp;</a>
        <a name="cEliminar" id="idDelete" onclick="cmd(3);" class="button">&nbsp;&nbsp;&nbsp;ELIMINAR&nbsp;&nbsp;&nbsp;</a>

     </div>
    </fieldset>



    <div id="avisos"></div>
    </form>
<hr />
</body>
<?php 
$jxc->drawJavaScript(false, true);
jsbasic("editar_llamadas", "", ".");
?>
<script  >
var myfrm 	= document.editar_llamadas;
var onEdit 	= false;

var MINUTE 	= 60 * 1000;
var HOUR 	= 60 * MINUTE;
var DAY 	= 24 * HOUR;
var WEEK 	= 7  * DAY;

/** Funciones Normales */

function cmd(is) {
  switch(is) {
    case 1:        //Guardar Registro
echo $xBtn->getBasic("TR.Dar por Cumplidos las Notificaciones Marcadas", "actionByCmd('Common_3de8e697db5bb95c43c3139743a47d8b', 2);", "verde");
?>
</td>
		<td><?php 
echo $xBtn->getBasic("TR.Cancelar las Notificaciones Marcadas", "actionByCmd('Common_3de8e697db5bb95c43c3139743a47d8b', 4);", "cumplido");
?>
</td>
	</tr>
</table>
<p id="PMsg" class="aviso"></p>
<div id="ilistado_notificaciones"></div>
</form>
</body>
<?php 
$jxc->drawJavaScript(false, true);
jsbasic("frm_cumplir_notificaciones", "", ".");
?>
<script>
var Frm = document.frm_cumplir_notificaciones;
var jsrCommonSeguimiento	= "../js/seguimiento.common.js.php";
var divLiteral				= "<?php 
echo STD_LITERAL_DIVISOR;
?>
";
function actualizame(id) { var url = "../utils/frm8db7028bdcdf054882ab54f644a9d36b.php?t=seguimiento_notificaciones&f=idseguimiento_notificaciones=" + id; myurl = window.open(url, ""); myurl.focus(); } function eliminame(id) { var siXtar = confirm("Desea en Realidad Eliminar \n el Registro Seleccionado"); if(siXtar==true){ var sURL = "../utils/frm9d23d795f8170f495de9a2c3b251a4cd.php?t=seguimiento_notificaciones&f=idseguimiento_notificaciones=" + id; delme = window.open(sURL, "", "width=300,height=300,scrollbars=yes,dependent");  document.getElementById("tr-" + id).innerHTML = ""; } else { if( window.console ) window.console.log( '' ) ; window.statusText = "Operacion Cancelada"; } }

function actionByCmd(cmd, stat){
	  	var isLims = Frm.elements.length - 1;
  		
  		for(i=0; i<=isLims; i++){
			var mTyp 	= Frm.elements[i].getAttribute("type");
include_once "../core/core.html.inc.php";
$oficial = elusuario($iduser);
$xHPag = new cHPage("Descuentos de Creditos");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Descuentos de Creditos</title>
</head>
<link href="<?php 
echo CSS_GENERAL_FILE;
?>
" rel="stylesheet" type="text/css">
<?php 
jsbasic("myformdc", "", ".");
?>
<body>
<fieldset>
	<legend><script> document.write(document.title); </script></legend>
	
<form name='myformdc' action='frmcreditos_descuentos.php' method='post'>
	<table width='100%' border='0'  >
	<tr>
	<td>Clave de Persona</td>
	<td><input type="text" name="idsocio" onchange="envsoc();" size='12' maxlength='20' class='mny' />
	<?php 
echo CTRL_GOSOCIO;
?>
</td>
	<td  colspan='2'><input disabled name="nombresocio" type="text" size="50"></td>
$jxc->process();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>TRASPASO ENTRE CUENTAS DE CAPTACION</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="<?php 
echo CSS_GENERAL_FILE;
?>
" rel="stylesheet" type="text/css">
</head>
<?php 
//$jsb	= new jsBasicForm("frmtraspasoinversion", iDE_CAPTACION);
//$jsb->show();
jsbasic("frmtraspasos", "", ".");
$jxc->drawJavaScript(false, true);
//Formato de salida: cuenta + monto
//Mostrar solo Cuentas de Inversion sin vencimiento
?>
<body>
<?php 
if (!isset($action) or $action == false) {
    ?>
<form name="frmtraspasos" method="POST" action="./traspasos.frm.php?a=i">
<fieldset>
	<legend>TRASPASO ENTRE CUENTAS DE CAPTACION</legend>
	<table border='0' width='100%'  >
		<tbody>
		<tr>
			<td>Clave de Persona</td>
include_once "../core/core.config.inc.php";
include_once "../libs/sql.inc.php";
$oficial = elusuario($iduser);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Reportes Por Instituciones con Convenios</title>
</head>
<link href="<?php 
echo CSS_GENERAL_FILE;
?>
" rel="stylesheet" type="text/css">
<?php 
jsbasic("frmreports", "1", ".");
?>
<body>
<fieldset>
	<legend>Reportes Por Instituciones con Convenios</legend>
<form name="frmreports" action="frmreportsxcuenta.php" method="post">
	<table width="95%"  >
		<tr>
		<td>Dependencia</td><td colspan="3"><?php 
ctrl_select("socios_aeconomica_dependencias", " name='dependencia' ");
?>
</td>		</tr>
		<tr>
			<td>Fecha Inicial</td><td><?php 
echo ctrl_date(0);
?>
	</tr>
	</table>
	<input type='hidden' name='cheque' value=''>
</form>
<script  >
var miform = document.frmdeudoresdiversos;
function dev_name() {
	ids = document.frmdeudoresdiversos.idsocio.value;
		if (ids!=1) {
			document.frmdeudoresdiversos.nombredeudor.value = document.frmdeudoresdiversos.nombresocio.value;
		}
}
</script>

<?php 
jsbasic("frmdeudoresdiversos", "1", ".");
$arrValores = array("montoabonado" => MQL_FLOAT, "idsocio" => MQL_INT, "observaciones" => MQL_STRING, "nombresocio" => MQL_STRING, "elanno98" => MQL_INT, "elmes98" => MQL_INT, "eldia98" => MQL_INT, "cheque" => MQL_STRING, "ctipo_pago" => MQL_STRING, "foliofiscal" => MQL_STRING, "montooriginal" => MQL_FLOAT);
$monto = isset($_POST["montoabonado"]) ? $_POST["montoabonado"] : 0;
if ($monto <= 0) {
} else {
    //echo "<code>";
    //var_dump($_POST);
    //echo "</code><hr />";
    $VR = getVariablesSanas($_POST, $arrValores);
    //echo "<code>";
    //var_dump($VR);
    //echo "</code><hr />"; exit;
    $tipo_de_operacion = $VR["tiporecibo"];
    $idsocio = $VR["idsocio"];
    $observaciones = $VR["observaciones"];
    $cadena = $VR["nombresocio"];
include_once "../core/core.html.inc.php";
include_once "../core/core.config.inc.php";
require_once "." . TINYAJAX_PATH . "/TinyAjax.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Editar Mvtos de Captacion</title>
</head>
	<link href="<?php 
echo CSS_GENERAL_FILE;
?>
" rel="stylesheet" type="text/css">
	<?php 
jsbasic("frmdelrecibos", "", ".");
?>
<body>
<fieldset>
	<legend>Editar Mvtos de Captacion [v1.0.02]</legend>
<form name="frmdelrecibos" action="frmupdatemvtoscaptacion.php" method="post">
	<table   border='0'>
		<tr>
			<td>Clave de Persona</td>
			<td><input type='text' name='idsocio' value='' onchange="envsoc();"  class='mny' size='12'></td>
			<td>Nombre Completo</td>
			<td><input disabled name='nombresocio' type='text' size="40"></td>
		</tr>
		<tr>
			<td>Numero de cuenta de Inversi&oacute;n</td>
			<td><input type='text' name='idcuenta' value='' onchange="envcta();" class='mny' size='12' >
include_once "../core/core.config.inc.php";
include_once "../libs/sql.inc.php";
$oficial = elusuario($iduser);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Reportes x Caja Local</title>
</head>
<link href="<?php 
echo CSS_GENERAL_FILE;
?>
" rel="stylesheet" type="text/css">
<?php 
jsbasic("myform", "1", ".");
?>
<body>
<p class="frmTitle"><script> document.write(document.title ); </script></p>
<form name='myform' action='' method='post'>
	<table width='100%' border='0'>
		<tr>
		<th >Caja Local</th>
		<td><?php 
$xCL = new cSelect("cajalocal", "", "socios_cajalocal");
$xCL->addEspOption("todas", "Todas / Cualquiera");
//$xCL->setOptionSelect("todas");
$xCL->show(false);
?>
</td>
			<th>Reporte </th>
include_once "../core/core.config.inc.php";
include_once "../core/core.common.inc.php";
$oficial = elusuario($iduser);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Integracion de Prestamos en Grupos Solidarios</title>
</head>
<link href="<?php 
echo CSS_GENERAL_FILE;
?>
" rel="stylesheet" type="text/css">
<?php 
jsbasic("myformgs", "1", ".");
?>
<script   >
var jrsFile = "../clsfunctions.inc.php";

//	var idgrupo = document.frmgposolidario.idgrupo.value;
	function envRep() {
	idsoc = document.frmgposolidario.idsociogpo.value;
		if (idsoc != '') {
			jsrsExecute(jrsFile, larep, 'nombre', idsoc);
		}
	}
	function larep(larev) {
		document.frmgposolidario.nombresociogpo.value = larev;
	}
	function envVV() {
include_once "../libs/sql.inc.php";
include_once "../core/core.config.inc.php";
$oficial = elusuario($iduser);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Devoluci&oacute;n de Garantias en Resguardo</title>
</head>
<link href="<?php 
echo CSS_GENERAL_FILE;
?>
" rel="stylesheet" type="text/css">
<?php 
jsbasic("myformdgr", "", ".");
?>
<body>
<fieldset>
	<legend>Devoluci&oacute;n de Garantias en Resguardo</legend>


<form name='myformdgr' action='frmdevgarantiaresguardo.php' method='post'>
	<table   border='0'>
		<tr>
			<td>Clave de Persona</td>
			<td><input type='text' name='idsocio' value='' onchange="envsoc();">
			<?php 
echo CTRL_GOSOCIO;
?>
</td>