uf_conectar ();
require_once("../shared/class_folder/class_mensajes.php");
$msg=new class_mensajes();
require_once("../shared/class_folder/class_datastore.php");
$ds_prorep=new class_datastore();
if(array_key_exists("operacion",$_POST))
{
$ls_operacion=$_POST["operacion"];
}
else
{
$ls_operacion="";
}
$ls_cuenta=$_GET["txtCuenta"];
$ls_denominacion=$_GET["txtDenominacion"];
$i=$_GET["fila"];
$ls_tipo=$_GET["tipo"];
if($ls_tipo=="M")
{
$ls_readonly="";
$ld_previsto=$_GET["txtPrevisto"];
/*$ld_enero="0,00";
$ld_febrero="0,00";*/
$ld_marzo="0,00";
/*$ld_abril="0,00";
$ld_mayo="0,00";*/
$ld_junio="0,00";
/*$ld_julio="0,00";
$ld_agosto="0,00";*/
$ld_septiembre="0,00";
/*$ld_octubre="0,00";
$ld_noviembre="0,00";*/
$ld_diciembre="0,00";
if (array_key_exists("txtTotal",$_POST))
{
$ld_total=$_POST["txtTotal"];
}
else
{
//$ld_total="0,00";
$ld_total="0";
}
}
if($ls_tipo=="A")
{
$ls_readonly="readonly='true'";
$ld_previsto=number_format($_GET["txtPrevisto"],2,",",".");
$ld_total=$ld_previsto;
/*$ld_enero=$_GET["enero"];
$ld_febrero=$_GET["febrero"];*/
$ld_marzo=$_GET["marzo"];
/*$ld_abril=$_GET["abril"];
$ld_mayo=$_GET["mayo"];*/
$ld_junio=$_GET["junio"];
/*$ld_julio=$_GET["julio"];
$ld_agosto=$_GET["agosto"];*/
$ld_septiembre=$_GET["septiembre"];
/*$ld_octubre=$_GET["octubre"];
$ld_noviembre=$_GET["noviembre"];*/
$ld_diciembre=$_GET["diciembre"];
}
?>