nominas en reporte de presupuestos, correciones de reporte af,correciones en traspasos y ventas

This commit is contained in:
2023-04-20 11:02:24 -07:00
parent 2c3bc02ab6
commit 7d1885fd20
12 changed files with 875 additions and 804 deletions

View File

@@ -2985,7 +2985,7 @@ Public Class ClsContratos
End Function End Function
Public Function AddPresupuestosDetalle(CvePresupuesto As Integer, CveClasificacion As Integer, CveTipoGasto As Integer, Importe As Decimal, Observacion As String) As Boolean Public Function AddPresupuestosDetalle(CvePresupuesto As Integer, CveClasificacion As Integer, CveTipoGasto As Integer, Importe As Decimal, Observacion As String, Optional CveConceptoContableNom As Integer = -1) As Boolean
Dim Retorno As Boolean = False Dim Retorno As Boolean = False
DataAdapter("PA_Con_PresupuestosDetalleAdd") DataAdapter("PA_Con_PresupuestosDetalleAdd")
@@ -2996,6 +2996,7 @@ Public Class ClsContratos
.Add("@Importe", SqlDbType.Money).Value = Importe .Add("@Importe", SqlDbType.Money).Value = Importe
.Add("@Observacion", SqlDbType.VarChar).Value = Observacion .Add("@Observacion", SqlDbType.VarChar).Value = Observacion
.Add("@CveTipoGasto", SqlDbType.Int).Value = CveTipoGasto .Add("@CveTipoGasto", SqlDbType.Int).Value = CveTipoGasto
.Add("@CveConceptoContableNom", SqlDbType.Int).Value = CveConceptoContableNom
End With End With
Try Try
@@ -3029,7 +3030,7 @@ Public Class ClsContratos
Return Retorno Return Retorno
End Function End Function
Public Function UpdatePresupuestosDetalle(CvePresupuestoDetalle As Integer, CveClasificacion As Integer, ImporteVigente As Decimal, Observacion As String) As Boolean Public Function UpdatePresupuestosDetalle(CvePresupuestoDetalle As Integer, CveClasificacion As Integer, ImporteVigente As Decimal, Observacion As String, Optional CveConceptoContableNom As Integer = -1) As Boolean
Dim Retorno As Boolean = False Dim Retorno As Boolean = False
DataAdapter("PA_Con_PresupuestosDetalleUpdate") DataAdapter("PA_Con_PresupuestosDetalleUpdate")
@@ -3039,6 +3040,7 @@ Public Class ClsContratos
.Add("@CveClasificacion", SqlDbType.Int).Value = CveClasificacion .Add("@CveClasificacion", SqlDbType.Int).Value = CveClasificacion
.Add("@ImporteVigente", SqlDbType.Money).Value = ImporteVigente .Add("@ImporteVigente", SqlDbType.Money).Value = ImporteVigente
.Add("@Observacion", SqlDbType.VarChar).Value = Observacion .Add("@Observacion", SqlDbType.VarChar).Value = Observacion
.Add("@CveConceptoContableNom", SqlDbType.Int).Value = CveConceptoContableNom
End With End With
Try Try
@@ -3068,7 +3070,7 @@ Public Class ClsContratos
End Try End Try
Return Retorno Return Retorno
End Function End Function
Public Function GetPresupuestosRep(CvePresupuesto As Integer, CveTipoGasto As Integer, Agrupador As Integer, FechaI As Date, FechaF As Date, CveEmpresa As Integer, CveProyecto As Integer, CveSubProyecto As Integer, CveUsuarioConsulta As Integer, CveClasificacion As Integer) As Boolean Public Function GetPresupuestosRep(CvePresupuesto As Integer, CveTipoGasto As Integer, Agrupador As Integer, FechaI As Date, FechaF As Date, CveEmpresa As Integer, CveProyecto As Integer, CveSubProyecto As Integer, CveUsuarioConsulta As Integer, CveAgrupador As Integer) As Boolean
Dim Retorno As Boolean = False Dim Retorno As Boolean = False
DataAdapter("PA_Con_PresupuestosRep") DataAdapter("PA_Con_PresupuestosRep")
@@ -3082,7 +3084,7 @@ Public Class ClsContratos
.Add("@CveProyecto", SqlDbType.Int).Value = CveProyecto .Add("@CveProyecto", SqlDbType.Int).Value = CveProyecto
.Add("@CveSubProyecto", SqlDbType.Int).Value = CveSubProyecto .Add("@CveSubProyecto", SqlDbType.Int).Value = CveSubProyecto
.Add("@CveUsuarioConsulta", SqlDbType.Int).Value = CveUsuarioConsulta .Add("@CveUsuarioConsulta", SqlDbType.Int).Value = CveUsuarioConsulta
.Add("@CveClasificacion", SqlDbType.Int).Value = CveClasificacion .Add("@CveAgrupador", SqlDbType.Int).Value = CveAgrupador
End With End With
Try Try
@@ -3121,7 +3123,7 @@ Public Class ClsContratos
Return Retorno Return Retorno
End Function End Function
Public Function GetPresupuestosRepDetalle(CveProyecto As Integer, CveSubProyecto As Integer, CveClasificacion As Integer, CveTipoGasto As Integer, Agrupador As Integer, Gpo As Integer, FechaI As Date, FechaF As Date, CveEmpresa As Integer, CveUsuario As Integer) As Boolean Public Function GetPresupuestosRepDetalle(CveProyecto As Integer, CveSubProyecto As Integer, CveClasificacion As Integer, CveTipoGasto As Integer, Agrupador As Integer, Gpo As Integer, FechaI As Date, FechaF As Date, CveEmpresa As Integer, CveUsuario As Integer, Optional CveConceptoContableNom As Integer = -1) As Boolean
Dim Retorno As Boolean = False Dim Retorno As Boolean = False
DataAdapter("PA_Con_PresupuestosRepDetalle") DataAdapter("PA_Con_PresupuestosRepDetalle")
@@ -3129,6 +3131,7 @@ Public Class ClsContratos
.Add("@CveProyecto", SqlDbType.Int).Value = CveProyecto .Add("@CveProyecto", SqlDbType.Int).Value = CveProyecto
.Add("@CveSubProyecto", SqlDbType.Int).Value = CveSubProyecto .Add("@CveSubProyecto", SqlDbType.Int).Value = CveSubProyecto
.Add("@CveClasificacion", SqlDbType.Int).Value = CveClasificacion .Add("@CveClasificacion", SqlDbType.Int).Value = CveClasificacion
.Add("@CveConceptoContableNom", SqlDbType.Int).Value = CveConceptoContableNom
.Add("@CveTipoGasto", SqlDbType.Int).Value = CveTipoGasto .Add("@CveTipoGasto", SqlDbType.Int).Value = CveTipoGasto
.Add("@Agrupador", SqlDbType.Int).Value = Agrupador .Add("@Agrupador", SqlDbType.Int).Value = Agrupador
.Add("@Gpo", SqlDbType.Int).Value = Gpo .Add("@Gpo", SqlDbType.Int).Value = Gpo

View File

@@ -1,330 +1,326 @@
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepComprasAF.aspx.vb" Inherits="Compras_RepComprasAF" %> <%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepComprasAF.aspx.vb" Inherits="Compras_RepComprasAF" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server"> <asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
</asp:Content> </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server"> <asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
<style> <style>
#chartdiv { #chartdiv {
width: 100%; width: 100%;
height: 500px; height: 500px;
} }
</style> </style>
</asp:Content> </asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server"> <asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
Reporte de Compras Activo Fijo Reporte de Compras Activo Fijo
</asp:Content> </asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="HB" runat="Server"> <asp:Content ID="Content4" ContentPlaceHolderID="HB" runat="Server">
</asp:Content> </asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server"> <asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
<li> <li>
<asp:LinkButton ID="LinkPDF" runat="server"><i class="fa fa-ad-pdf"></i> Generar PDF</asp:LinkButton> <asp:LinkButton ID="LinkPDF" runat="server"><i class="fa fa-ad-pdf"></i> Generar PDF</asp:LinkButton>
</li> </li>
<li> <li>
<asp:LinkButton ID="LnkExportar" runat="server"><i class="fa fa-ad-excel"></i> Generar Excel</asp:LinkButton> <asp:LinkButton ID="LnkExportar" runat="server"><i class="fa fa-ad-excel"></i> Generar Excel</asp:LinkButton>
</li> </li>
<li> <li>
<asp:HyperLink NavigateUrl="javascript:;" data-toggle="modal" data-target="#DivTipoCambio" ID="ImgTipoCambio" runat="server"> <i class="fa fa-money"></i> Ver Dlls en pesos</asp:HyperLink> <asp:HyperLink NavigateUrl="javascript:;" data-toggle="modal" data-target="#DivTipoCambio" ID="ImgTipoCambio" runat="server"> <i class="fa fa-money"></i> Ver Dlls en pesos</asp:HyperLink>
</li> </li>
<li> <li>
<a target="_blank" class="ayuda" href="../Documentacion/DocumentacionCompras.aspx#RepComprasAF">&nbsp</a> <a target="_blank" class="ayuda" href="../Documentacion/DocumentacionCompras.aspx#RepComprasAF">&nbsp</a>
</li> </li>
<asp:UpdatePanel ID="UpAcciones" runat="server" UpdateMode="Conditional"> <asp:UpdatePanel ID="UpAcciones" runat="server" UpdateMode="Conditional">
<ContentTemplate> <ContentTemplate>
<li> <li>
<asp:LinkButton ID="LnkVerGrafica" OnClick="LnkVerGrafica_Click" runat="server">Ver Grafica</asp:LinkButton> <asp:LinkButton ID="LnkVerGrafica" OnClick="LnkVerGrafica_Click" runat="server">Ver Grafica</asp:LinkButton>
</li> </li>
</ContentTemplate> </ContentTemplate>
</asp:UpdatePanel> </asp:UpdatePanel>
</asp:Content> </asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="HA" runat="Server"> <asp:Content ID="Content6" ContentPlaceHolderID="HA" runat="Server">
</asp:Content> </asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="C" runat="Server"> <asp:Content ID="Content7" ContentPlaceHolderID="C" runat="Server">
<asp:UpdatePanel ID="UPFiltros" runat="server" UpdateMode="Conditional"> <asp:UpdatePanel ID="UPFiltros" runat="server" UpdateMode="Conditional">
<ContentTemplate> <ContentTemplate>
<div class="portlet solid grey-cascade portlet-filter" id="idnecesaria"> <div class="portlet solid grey-cascade portlet-filter" id="idnecesaria">
<div class="portlet-title portlet-filterT smalltitle"> <div class="portlet-title portlet-filterT smalltitle">
<div class="tools"> <div class="tools">
<asp:Button ID="BtnConsultar" runat="server" Text="Consultar" class="btn btn-primary" /> <asp:Button ID="BtnConsultar" runat="server" Text="Consultar" class="btn btn-primary" />
<a href="javascript:;" class="expand"></a> <a href="javascript:;" class="expand"></a>
</div> </div>
<div class="titlefiltros caption "> <div class="titlefiltros caption ">
<div class="row"> <div class="row">
<div class="col-md-1">Fecha Inicio:</div> <div class="col-md-1">Fecha Inicio:</div>
<div class="col-md-2"> <div class="col-md-2">
<div class="input-group input-sm input-small date date-picker" data-date-format="dd/mm/yyyy" style="padding: 0px;"> <div class="input-group input-sm input-small date date-picker" data-date-format="dd/mm/yyyy" style="padding: 0px;">
<asp:TextBox Style="width: 115px !important" ID="txtFechaI" runat="server" CssClass="form-control text-size-12" CausesValidation="true" MaxLength="10"></asp:TextBox> <asp:TextBox Style="width: 115px !important" ID="txtFechaI" runat="server" CssClass="form-control text-size-12" CausesValidation="true" MaxLength="10"></asp:TextBox>
<span class="input-group-btn "> <span class="input-group-btn ">
<asp:LinkButton ID="imgCalendario" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton> <asp:LinkButton ID="imgCalendario" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
</span> </span>
<ajax:MaskedEditExtender ID="MEEFechaI" runat="server" TargetControlID="txtFechaI" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender> <ajax:MaskedEditExtender ID="MEEFechaI" runat="server" TargetControlID="txtFechaI" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
<ajax:CalendarExtender runat="server" ID="Calendario" TargetControlID="txtFechaI" PopupButtonID="ImgCalendario" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender> <ajax:CalendarExtender runat="server" ID="Calendario" TargetControlID="txtFechaI" PopupButtonID="ImgCalendario" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender>
<asp:RequiredFieldValidator ID="rfvFechaI" runat="server" ControlToValidate="txtFechaI" Display="None" ErrorMessage="El campo <b>''Fecha Inicial''</b> es requerido por la aplicación, por favor ingrese una fecha." ValidationGroup="Valida"></asp:RequiredFieldValidator> <asp:RequiredFieldValidator ID="rfvFechaI" runat="server" ControlToValidate="txtFechaI" Display="None" ErrorMessage="El campo <b>''Fecha Inicial''</b> es requerido por la aplicación, por favor ingrese una fecha." ValidationGroup="Valida"></asp:RequiredFieldValidator>
<asp:CompareValidator ID="cvFechaI" runat="server" ControlToValidate="txtFechaI" Display="None" ErrorMessage="El campo <b>''Fecha Inicial''</b> no tienes el formato correcto, por favor intente de nuevo con el siguiente formato: (dd/mm/yyyy)." Operator="DataTypeCheck" Type="Date" ValidationGroup="Valida"></asp:CompareValidator> <asp:CompareValidator ID="cvFechaI" runat="server" ControlToValidate="txtFechaI" Display="None" ErrorMessage="El campo <b>''Fecha Inicial''</b> no tienes el formato correcto, por favor intente de nuevo con el siguiente formato: (dd/mm/yyyy)." Operator="DataTypeCheck" Type="Date" ValidationGroup="Valida"></asp:CompareValidator>
<ajax:ValidatorCalloutExtender ID="vcoFfvFI" runat="server" HighlightCssClass="vco" TargetControlID="rfvFechaI" Width="350px"></ajax:ValidatorCalloutExtender> <ajax:ValidatorCalloutExtender ID="vcoFfvFI" runat="server" HighlightCssClass="vco" TargetControlID="rfvFechaI" Width="350px"></ajax:ValidatorCalloutExtender>
<ajax:ValidatorCalloutExtender ID="vcoCvFI" runat="server" HighlightCssClass="vco" TargetControlID="cvFechaI" Width="350px"></ajax:ValidatorCalloutExtender> <ajax:ValidatorCalloutExtender ID="vcoCvFI" runat="server" HighlightCssClass="vco" TargetControlID="cvFechaI" Width="350px"></ajax:ValidatorCalloutExtender>
</div> </div>
</div> </div>
<div class="col-md-1">Fecha Fin:</div> <div class="col-md-1">Fecha Fin:</div>
<div class="col-md-2"> <div class="col-md-2">
<div class="input-group input-sm input-small date date-picker" data-date-format="dd/mm/yyyy" style="padding: 0px;"> <div class="input-group input-sm input-small date date-picker" data-date-format="dd/mm/yyyy" style="padding: 0px;">
<asp:TextBox Style="width: 115px !important" ID="txtFechaF" runat="server" CssClass="form-control text-size-12" CausesValidation="true" MaxLength="10"></asp:TextBox> <asp:TextBox Style="width: 115px !important" ID="txtFechaF" runat="server" CssClass="form-control text-size-12" CausesValidation="true" MaxLength="10"></asp:TextBox>
<span class="input-group-btn "> <span class="input-group-btn ">
<asp:LinkButton ID="imgCalendarioF" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton> <asp:LinkButton ID="imgCalendarioF" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
</span> </span>
<ajax:MaskedEditExtender ID="MEEFechaF" runat="server" TargetControlID="txtFechaF" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender> <ajax:MaskedEditExtender ID="MEEFechaF" runat="server" TargetControlID="txtFechaF" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
<ajax:CalendarExtender runat="server" ID="Calendario2" TargetControlID="txtFechaF" PopupButtonID="imgCalendarioF" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender> <ajax:CalendarExtender runat="server" ID="Calendario2" TargetControlID="txtFechaF" PopupButtonID="imgCalendarioF" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender>
<asp:RequiredFieldValidator ID="rfvFechaF" runat="server" ControlToValidate="txtFechaF" Display="None" ErrorMessage="El campo <b>''Fecha Final''</b> es requerido por la aplicación, por favor ingrese una fecha." ValidationGroup="Valida"></asp:RequiredFieldValidator> <asp:RequiredFieldValidator ID="rfvFechaF" runat="server" ControlToValidate="txtFechaF" Display="None" ErrorMessage="El campo <b>''Fecha Final''</b> es requerido por la aplicación, por favor ingrese una fecha." ValidationGroup="Valida"></asp:RequiredFieldValidator>
<asp:CompareValidator ID="cvFechaF" runat="server" ControlToValidate="txtFechaF" Display="None" ErrorMessage="El campo <b>''Fecha Final''</b> no tienes el formato correcto, por favor intente de nuevo con el siguiente formato: (dd/mm/yyyy)." Operator="DataTypeCheck" Type="Date" ValidationGroup="Valida"></asp:CompareValidator> <asp:CompareValidator ID="cvFechaF" runat="server" ControlToValidate="txtFechaF" Display="None" ErrorMessage="El campo <b>''Fecha Final''</b> no tienes el formato correcto, por favor intente de nuevo con el siguiente formato: (dd/mm/yyyy)." Operator="DataTypeCheck" Type="Date" ValidationGroup="Valida"></asp:CompareValidator>
<ajax:ValidatorCalloutExtender ID="vcoRfvFF" runat="server" HighlightCssClass="vco" TargetControlID="rfvFechaF" Width="350px"></ajax:ValidatorCalloutExtender> <ajax:ValidatorCalloutExtender ID="vcoRfvFF" runat="server" HighlightCssClass="vco" TargetControlID="rfvFechaF" Width="350px"></ajax:ValidatorCalloutExtender>
<ajax:ValidatorCalloutExtender ID="vcoCvFF" runat="server" HighlightCssClass="vco" TargetControlID="cvFechaF" Width="350px"></ajax:ValidatorCalloutExtender> <ajax:ValidatorCalloutExtender ID="vcoCvFF" runat="server" HighlightCssClass="vco" TargetControlID="cvFechaF" Width="350px"></ajax:ValidatorCalloutExtender>
</div> </div>
</div> </div>
<div class="col-md-1 ">Grupo:</div> <div class="col-md-1 ">Grupo:</div>
<div class=" col-md-2 "> <div class=" col-md-2 ">
<asp:DropDownList CssClass=" select2me" ID="DdlGrupo" runat="server" Width="95%"> <asp:DropDownList CssClass=" select2me" ID="DdlGrupo" runat="server" Width="95%">
<asp:ListItem Text="Año" Value="1"></asp:ListItem> <asp:ListItem Text="Año" Value="1"></asp:ListItem>
<asp:ListItem Text="Mes" Value="2"></asp:ListItem> <asp:ListItem Text="Mes" Value="2"></asp:ListItem>
<asp:ListItem Selected="True" Text="Año/Mes" Value="3"></asp:ListItem> <asp:ListItem Selected="True" Text="Año/Mes" Value="3"></asp:ListItem>
<asp:ListItem Text="Fecha" Value="4"></asp:ListItem> <asp:ListItem Text="Fecha" Value="4"></asp:ListItem>
<asp:ListItem Text="Proveedor" Value="5"></asp:ListItem> <asp:ListItem Text="Proveedor" Value="5"></asp:ListItem>
<asp:ListItem Text="Activo Fijo" Value="6"></asp:ListItem> <asp:ListItem Text="Activo Fijo" Value="6"></asp:ListItem>
<asp:ListItem Text="Activo Fijo Tipo" Value="7"></asp:ListItem> <asp:ListItem Text="Activo Fijo Tipo" Value="7"></asp:ListItem>
<asp:ListItem Text="Activo Fijo SubTipo" Value="8"></asp:ListItem> <asp:ListItem Text="Activo Fijo SubTipo" Value="8"></asp:ListItem>
<asp:ListItem Text="Producto" Value="9"></asp:ListItem> <asp:ListItem Text="Producto" Value="9"></asp:ListItem>
<asp:ListItem Text="Clasificación" Value="10"></asp:ListItem> <asp:ListItem Text="Clasificación" Value="10"></asp:ListItem>
<asp:ListItem Text="Clasificación2" Value="11"></asp:ListItem> <asp:ListItem Text="Clasificación2" Value="11"></asp:ListItem>
</asp:DropDownList> </asp:DropDownList>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="portlet-body" style="display: none"> <div class="portlet-body" style="display: none">
<div class="row"> <div class="row">
<div class="col-md-1">Tipo Activo Fijo: </div> <div class="col-md-1">Tipo Activo Fijo: </div>
<div class="col-md-2"> <div class="col-md-2">
<asp:DropDownList ID="DdlTipoActivoFijo" runat="server" CssClass="form-control input-sm select2me input-small" AppendDataBoundItems="True" AutoPostBack="True" DataTextField="TipoActivoFijo" DataValueField="CveTipoActivoFijo" Width="95%"> <asp:DropDownList ID="DdlTipoActivoFijo" runat="server" CssClass="form-control input-sm select2me input-small" AutoPostBack="True" DataTextField="TipoActivoFijo" DataValueField="CveTipoActivoFijo" Width="95%">
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem> </asp:DropDownList>
</asp:DropDownList> </div>
</div> <div class="col-md-1">SubTipo Fijo:</div>
<div class="col-md-1">SubTipo Fijo:</div> <div class="col-md-2">
<div class="col-md-2"> <asp:DropDownList ID="DdlSubTipoActivoFijo" CssClass="form-control input-sm select2me input-small" runat="server" AutoPostBack="True" DataTextField="SubTipoActivoFijo" DataValueField="CveSubTipoActivoFijo" Width="95%">
<asp:DropDownList ID="DdlSubTipoActivoFijo" CssClass="form-control input-sm select2me input-small" runat="server" AppendDataBoundItems="True" AutoPostBack="True" DataTextField="SubTipoActivoFijo" DataValueField="CveSubTipoActivoFijo" Width="95%"> </asp:DropDownList>
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem> </div>
</asp:DropDownList> <div class="col-md-1">Activo Fijo:</div>
</div> <div class="col-md-2">
<div class="col-md-1">Activo Fijo:</div> <asp:DropDownList ID="DdlActivoFijo" runat="server" CssClass=" form-control input-sm select2me" DataTextField="Descripcion" DataValueField="CveActivoFijo" Width="95%">
<div class="col-md-2"> </asp:DropDownList>
<asp:DropDownList ID="DdlActivoFijo" runat="server" CssClass=" form-control input-sm select2me" AppendDataBoundItems="true" DataTextField="Descripcion" DataValueField="CveActivoFijo" Width="95%"> </div>
<asp:ListItem Selected="True" Text="Todas" Value="-1"></asp:ListItem> <div class="col-md-1">Moneda:</div>
</asp:DropDownList> <div class="col-md-2">
</div> <asp:DropDownList ID="DdlMonedas" runat="server" DataTextField="Moneda" CssClass="form-control input-sm select2me" DataValueField="CveMoneda" Width="95%">
<div class="col-md-1">Moneda:</div> </asp:DropDownList>
<div class="col-md-2"> </div>
<asp:DropDownList ID="DdlMonedas" runat="server" AppendDataBoundItems="true" DataTextField="Moneda" CssClass="form-control input-sm select2me" DataValueField="CveMoneda" Width="95%"> </div>
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem> <div class="row ">
</asp:DropDownList> <asp:Label ID="LblProyecto" runat="server" class="col-md-1 truncate">Proyecto:</asp:Label>
</div> <div runat="server" id="DivProyecto" class="col-md-2">
</div> <asp:DropDownList ID="DdlProyecto" CssClass=" form-control input-sm select2me" runat="server" AutoPostBack="true" DataTextField="Proyecto" DataValueField="CveProyecto" Width="95%">
<div class="row "> </asp:DropDownList>
<asp:Label ID="LblProyecto" runat="server" class="col-md-1 truncate">Proyecto:</asp:Label> </div>
<div runat="server" id="DivProyecto" class="col-md-2"> <asp:Label runat="server" ID="LblSubProyecto" CssClass="col-md-1 truncate">SubProyecto:</asp:Label>
<asp:DropDownList ID="DdlProyecto" CssClass=" form-control input-sm select2me" runat="server" AppendDataBoundItems="true" AutoPostBack="true" DataTextField="Proyecto" DataValueField="CveProyecto" Width="95%"> <div class="col-md-2">
</asp:DropDownList> <asp:DropDownList ID="DdlSubProyecto" CssClass="form-control input-sm select2me" runat="server" DataTextField="SubProyecto" DataValueField="CveSubProyecto" Width="95%" AutoPostBack="True">
</div> </asp:DropDownList>
<asp:Label runat="server" ID="LblSubProyecto" CssClass="col-md-1 truncate">SubProyecto:</asp:Label> </div>
<div class="col-md-2"> <div class="col-md-1 ">Proveedor:</div>
<asp:DropDownList ID="DdlSubProyecto" CssClass="form-control input-sm select2me" runat="server" DataTextField="SubProyecto" DataValueField="CveSubProyecto" Width="95%" AutoPostBack="True"> <div class="col-md-2 ">
</asp:DropDownList> <asp:DropDownList CssClass=" select2me" ID="DdlProveedores" runat="server" DataTextField="RazonSocial" DataValueField="CveProveedor" Width="95%">
</div> </asp:DropDownList>
<div class="col-md-1 ">Proveedor:</div> </div>
<div class="col-md-2 "> <div class="col-md-1">Tipo de Compra:</div>
<asp:DropDownList CssClass=" select2me" ID="DdlProveedores" runat="server" AppendDataBoundItems="true" DataTextField="RazonSocial" DataValueField="CveProveedor" Width="95%"> <div class="col-md-2">
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem> <asp:DropDownList ID="DdlTipoCompra" runat="server" CssClass="form-control input-sm select2me" Width="95%">
</asp:DropDownList> <asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
</div> <asp:ListItem Text="Insumos" Value="1"></asp:ListItem>
<div class="col-md-1">Tipo de Compra:</div> <asp:ListItem Text="Compras" Value="2"></asp:ListItem>
<div class="col-md-2"> </asp:DropDownList>
<asp:DropDownList ID="DdlTipoCompra" runat="server" CssClass="form-control input-sm select2me" Width="95%"> </div>
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
<asp:ListItem Text="Insumos" Value="1"></asp:ListItem> </div>
<asp:ListItem Text="Compras" Value="2"></asp:ListItem> <div class="row">
</asp:DropDownList>
</div> <div class="col-md-1">Clasificación:</div>
<div class="col-md-2">
</div> <asp:DropDownList ID="DdlClasificacion" runat="server" CssClass=" form-control input-sm select2me" AutoPostBack="true" DataTextField="Clasificacion" DataValueField="CveClasificacion" Width="95%">
<div class="row"> </asp:DropDownList>
</div>
<div class="col-md-1">Clasificación:</div>
<div class="col-md-2">
<asp:DropDownList ID="DdlClasificacion" runat="server" CssClass=" form-control input-sm select2me" AppendDataBoundItems="true" AutoPostBack="true" DataTextField="Clasificacion" DataValueField="CveClasificacion" Width="95%"> <div class="col-md-1">Clasificación 2:</div>
<asp:ListItem Selected="True" Text="Todas" Value="-1"></asp:ListItem> <div class="col-md-2">
</asp:DropDownList> <asp:DropDownList ID="DdlClasificacion2" runat="server" CssClass=" form-control input-sm select2me" AutoPostBack="true" DataTextField="Clasificacion" DataValueField="CveClasificacion" Width="95%">
</div> </asp:DropDownList>
</div>
<div class="col-md-1">Clasificación 2:</div> <div class="col-md-1">Producto Servicio:</div>
<div class="col-md-2"> <div class="col-md-2">
<asp:DropDownList ID="DdlClasificacion2" runat="server" CssClass=" form-control input-sm select2me" AppendDataBoundItems="true" AutoPostBack="true" DataTextField="Clasificacion" DataValueField="CveClasificacion" Width="95%"> <ADS:Dropdownlost runat="server" ID="DdlPS" CssStyle="width: 100%;" CssClassDdl="select2me" DataTextField="PSCodigo" DataValueField="CvePS" Width="95%" />
<asp:ListItem Selected="True" Text="Todas" Value="-1"></asp:ListItem> </div>
</asp:DropDownList> </div>
</div> </div>
</div>
<div class="col-md-1">Producto Servicio:</div> </ContentTemplate>
<div class="col-md-2"> </asp:UpdatePanel>
<ADS:Dropdownlost runat="server" ID="DdlPS" CssStyle="width: 100%;" CssClassDdl="select2me" DataTextField="PSCodigo" DataValueField="CvePS" Width="95%" /> <br />
</div> <div class="row">
</div> <div class="col-md-8">
</div> <asp:UpdatePanel ID="UPDatos" runat="server" UpdateMode="Conditional">
</div> <ContentTemplate>
</ContentTemplate> <asp:GridView ID="GvDatos" runat="server" data-sort="true" DataKeyNames="GPO,Cantidad,Total,Moneda" AutoGenerateColumns="False" EmptyDataText="No se encontraron registros con los filtros especificados" CssClass="table table-advance table-hover Widthall ScrollAD"
</asp:UpdatePanel> ToolTip="Listado de Ventas" GridLines="None">
<br /> <Columns>
<div class="col-md-8" > <asp:TemplateField HeaderText="Grupo">
<asp:UpdatePanel ID="UPDatos" runat="server" UpdateMode="Conditional"> <ItemTemplate>
<ContentTemplate> <asp:Label ID="LblGPO" runat="server" Text='<%# If(Eval("GPO").ToString = "", Eval("Moneda"), Eval("GPO")) %>'></asp:Label>
<asp:GridView ID="GvDatos" runat="server" data-sort="true" DataKeyNames="GPO,Cantidad,Total,Moneda" AutoGenerateColumns="False" EmptyDataText="No se encontraron registros con los filtros especificados" </ItemTemplate>
ToolTip="Listado de Ventas" CssClass="table table-striped table-advance table-hover Widthall ScrollAD" GridLines="None"> </asp:TemplateField>
<Columns> <asp:TemplateField ItemStyle-Width="15%" ItemStyle-HorizontalAlign="Right" HeaderText="Cantidad">
<asp:TemplateField HeaderText="Grupo"> <ItemTemplate>
<ItemTemplate> <asp:Label ID="LblCantidad" runat="server" Text='<%# Eval("Cantidad", "{0:N0}") %>'></asp:Label>
<asp:Label ID="LblGPO" runat="server" Text='<%# If(Eval("GPO").ToString = "", Eval("Moneda"), Eval("GPO")) %>'></asp:Label> </ItemTemplate>
</ItemTemplate> </asp:TemplateField>
</asp:TemplateField> <asp:TemplateField ItemStyle-Width="15%" ItemStyle-HorizontalAlign="Right" HeaderText="Total">
<asp:TemplateField ItemStyle-Width="15%" ItemStyle-HorizontalAlign="Right" HeaderText="Cantidad"> <ItemTemplate>
<ItemTemplate> <asp:Label ID="LblCantidad" Style="margin-right: 15px" runat="server" Text='<%# Eval("Total", "{0:N2}") %>'></asp:Label>
<asp:Label ID="LblCantidad" runat="server" Text='<%# Eval("Cantidad", "{0:N0}") %>'></asp:Label> </ItemTemplate>
</ItemTemplate> </asp:TemplateField>
</asp:TemplateField> </Columns>
<asp:TemplateField ItemStyle-Width="15%" ItemStyle-HorizontalAlign="Right" HeaderText="Total"> </asp:GridView>
<ItemTemplate> </ContentTemplate>
<asp:Label ID="LblCantidad" Style="margin-right: 15px" runat="server" Text='<%# Eval("Total", "{0:N2}") %>'></asp:Label> </asp:UpdatePanel>
</ItemTemplate> </div>
</asp:TemplateField> </div>
</Columns> <asp:UpdatePanel runat="server" ID="UpTipoCambio" UpdateMode="Conditional">
</asp:GridView> <ContentTemplate>
</ContentTemplate> <div id="DivTipoCambio" class="modal fade" role="dialog">
</asp:UpdatePanel> <div class="modal-dialog">
</div> <div class="modal-content">
<asp:UpdatePanel runat="server" ID="UpTipoCambio" UpdateMode="Conditional"> <div class="modal-header">
<ContentTemplate> <button type="button" class="close" data-dismiss="modal">&times;</button>
<div id="DivTipoCambio" class="modal fade" role="dialog"> <h4 class="modal-title">
<div class="modal-dialog"> <asp:Label ID="Label1" runat="server" ClientIDMode="Static" Text="Cambiar Tipo Cambio de Dólares"></asp:Label></h4>
<div class="modal-content"> </div>
<div class="modal-header"> <div class="modal-body">
<button type="button" class="close" data-dismiss="modal">&times;</button> <asp:UpdatePanel runat="server" ID="UpBodyTipoCambio" UpdateMode="Conditional">
<h4 class="modal-title"> <ContentTemplate>
<asp:Label ID="Label1" runat="server" ClientIDMode="Static" Text="Cambiar Tipo Cambio de Dólares"></asp:Label></h4> <asp:RadioButtonList runat="server" ID="RblTipoCambio" AutoPostBack="true">
</div> <asp:ListItem Selected="true" Text="Moneda Original" Value="1"></asp:ListItem>
<div class="modal-body"> <asp:ListItem Text="Dólares en Tipo Cambio de la Fecha Compra" Value="2"></asp:ListItem>
<asp:UpdatePanel runat="server" ID="UpBodyTipoCambio" UpdateMode="Conditional"> <asp:ListItem Text="Tipo Cambio Especifico" Value="3"></asp:ListItem>
<ContentTemplate> </asp:RadioButtonList>
<asp:RadioButtonList runat="server" ID="RblTipoCambio" AutoPostBack="true"> <div class="row" style="margin-left: 10px;" runat="server" id="LiEspecifico" visible="false">
<asp:ListItem Selected="true" Text="Moneda Original" Value="1"></asp:ListItem>
<asp:ListItem Text="Dólares en Tipo Cambio de la Fecha Compra" Value="2"></asp:ListItem>
<asp:ListItem Text="Tipo Cambio Especifico" Value="3"></asp:ListItem>
</asp:RadioButtonList>
<div class="row" style="margin-left: 10px;" runat="server" id="LiEspecifico" visible="false">
Especifico: Especifico:
<asp:TextBox ID="TxtEspecifico" runat="server" Width="55px" />
</div> <asp:TextBox ID="TxtEspecifico" runat="server" Width="55px" />
</ContentTemplate> </div>
</asp:UpdatePanel> </ContentTemplate>
</div> </asp:UpdatePanel>
<div class="modal-footer"> </div>
<asp:Button ID="BtnTipoCambio" runat="server" Text="Aceptar" class="btn btn-primary" /> <div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Cancelar</button> <asp:Button ID="BtnTipoCambio" runat="server" Text="Aceptar" class="btn btn-primary" />
</div> <button type="button" class="btn btn-default" data-dismiss="modal">Cancelar</button>
</div> </div>
</div> </div>
</div> </div>
</ContentTemplate> </div>
</asp:UpdatePanel> </ContentTemplate>
<div id="DivModalGrafica" class="modal ADS fade" role="dialog"> </asp:UpdatePanel>
<asp:UpdatePanel class="modal-dialog modal-lg" runat="server" ID="UPModalProd" UpdateMode="Conditional"> <div id="DivModalGrafica" class="modal ADS fade" role="dialog">
<ContentTemplate> <asp:UpdatePanel class="modal-dialog modal-lg" runat="server" ID="UPModalProd" UpdateMode="Conditional">
<div class="modal-content"> <ContentTemplate>
<div class="modal-header"> <div class="modal-content">
<button type="button" class="close" data-dismiss="modal">&times;</button> <div class="modal-header">
<h4 class="modal-title"> <button type="button" class="close" data-dismiss="modal">&times;</button>
<asp:Label ID="LblTituloGrafica" runat="server" ClientIDMode="Static" Text=""></asp:Label> <h4 class="modal-title">
</h4> <asp:Label ID="LblTituloGrafica" runat="server" ClientIDMode="Static" Text=""></asp:Label>
</div> </h4>
<div class="modal-body"> </div>
<div class="row"> <div class="modal-body">
<div class="col-md-2"></div> <div class="row">
<label class="col-md-1 truncate">Grafica:</label> <div class="col-md-2"></div>
<div class="col-md-2"> <label class="col-md-1 truncate">Grafica:</label>
<asp:DropDownList ID="DdlGrafica" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DdlGrafica_SelectedIndexChanged" AppendDataBoundItems="true" Class="table-group-action-input form-control input-inline input-small input-sm select2me"> <div class="col-md-2">
<asp:ListItem Selected="True" Text="Barras" Value="1"></asp:ListItem> <asp:DropDownList ID="DdlGrafica" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DdlGrafica_SelectedIndexChanged" AppendDataBoundItems="true" Class="table-group-action-input form-control input-inline input-small input-sm select2me">
<asp:ListItem Text="Pastel" Value="2"></asp:ListItem> <asp:ListItem Selected="True" Text="Barras" Value="1"></asp:ListItem>
</asp:DropDownList> <asp:ListItem Text="Pastel" Value="2"></asp:ListItem>
</div> </asp:DropDownList>
<label class="col-md-1 truncate">&nbsp;&nbsp;&nbsp;Ver:</label> </div>
<div class="col-md-2"> <label class="col-md-1 truncate">&nbsp;&nbsp;&nbsp;Ver:</label>
<asp:DropDownList ID="DdlVer" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DdlVer_SelectedIndexChanged" AppendDataBoundItems="true" Class="table-group-action-input form-control input-inline input-small input-sm select2me"> <div class="col-md-2">
<asp:ListItem Selected="True" Text="Total" Value="1"></asp:ListItem> <asp:DropDownList ID="DdlVer" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DdlVer_SelectedIndexChanged" AppendDataBoundItems="true" Class="table-group-action-input form-control input-inline input-small input-sm select2me">
<asp:ListItem Text="Cantidad" Value="2"></asp:ListItem> <asp:ListItem Selected="True" Text="Total" Value="1"></asp:ListItem>
</asp:DropDownList> <asp:ListItem Text="Cantidad" Value="2"></asp:ListItem>
</div> </asp:DropDownList>
</div> </div>
<br /> </div>
<div id="chartdiv"></div> <br />
</div> <div id="chartdiv"></div>
<div class="modal-footer"> </div>
<button type="button" class="btn btn-danger" data-dismiss="modal">Cerrar</button> <div class="modal-footer">
</div> <button type="button" class="btn btn-danger" data-dismiss="modal">Cerrar</button>
</div> </div>
</ContentTemplate> </div>
</asp:UpdatePanel> </ContentTemplate>
</div> </asp:UpdatePanel>
</asp:Content> </div>
<asp:Content ID="Content8" ContentPlaceHolderID="JS" runat="Server"> </asp:Content>
<script src="https://www.amcharts.com/lib/3/amcharts.js"></script> <asp:Content ID="Content8" ContentPlaceHolderID="JS" runat="Server">
<script src="https://www.amcharts.com/lib/3/serial.js"></script> <script src="https://www.amcharts.com/lib/3/amcharts.js"></script>
<script src="https://www.amcharts.com/lib/3/pie.js"></script> <script src="https://www.amcharts.com/lib/3/serial.js"></script>
<script src="https://www.amcharts.com/lib/3/plugins/export/export.min.js"></script> <script src="https://www.amcharts.com/lib/3/pie.js"></script>
<link rel="stylesheet" href="https://www.amcharts.com/lib/3/plugins/export/export.css" type="text/css" media="all" /> <script src="https://www.amcharts.com/lib/3/plugins/export/export.min.js"></script>
<script src="https://www.amcharts.com/lib/3/themes/light.js"></script> <link rel="stylesheet" href="https://www.amcharts.com/lib/3/plugins/export/export.css" type="text/css" media="all" />
<script src="https://www.amcharts.com/lib/3/themes/light.js"></script>
<script> <script>
function CargaGraficaBarras(data) { function CargaGraficaBarras(data) {
var chart = AmCharts.makeChart("chartdiv", { var chart = AmCharts.makeChart("chartdiv", {
"type": "serial", "type": "serial",
"theme": "light", "theme": "light",
"dataProvider": data, "dataProvider": data,
"startDuration": 2, "startDuration": 2,
"valueAxes": [{ "valueAxes": [{
"position": "left", "position": "left",
"title": "Ventas" "title": "Ventas"
}], }],
"graphs": [{ "graphs": [{
"balloonText": "[[category]]: <b>[[value]]</b> [[Moneda]]", "balloonText": "[[category]]: <b>[[value]]</b> [[Moneda]]",
"colorField": "Color", "colorField": "Color",
"fillAlphas": 1, "fillAlphas": 1,
"lineAlpha": 0.1, "lineAlpha": 0.1,
"type": "column", "type": "column",
"valueField": "Valor" "valueField": "Valor"
}], }],
"depth3D": 20, "depth3D": 20,
"angle": 30, "angle": 30,
"chartCursor": { "chartCursor": {
"categoryBalloonEnabled": false, "categoryBalloonEnabled": false,
"cursorAlpha": 0, "cursorAlpha": 0,
"zoomable": false "zoomable": false
}, },
"categoryField": "Texto", "categoryField": "Texto",
"categoryAxis": { "categoryAxis": {
"gridPosition": "start", "gridPosition": "start",
"labelRotation": 90 "labelRotation": 90
}, },
"export": { "export": {
"enabled": true "enabled": true
} }
}); });
} }
function CargaGraficaPastel(data) { function CargaGraficaPastel(data) {
var chart = AmCharts.makeChart("chartdiv", { var chart = AmCharts.makeChart("chartdiv", {
"type": "pie", "type": "pie",
"theme": "light", "theme": "light",
"dataProvider": "dataProvider":
@@ -335,12 +331,12 @@
"depth3D": 0, "depth3D": 0,
"balloonText": "[[title]]<br><span style='font-size:14px'><b>[[value]]</b> ([[percents]]% [[Moneda]])</span>", "balloonText": "[[title]]<br><span style='font-size:14px'><b>[[value]]</b> ([[percents]]% [[Moneda]])</span>",
"angle": 0, "angle": 0,
"export": { "export": {
"enabled": true "enabled": true
} }
}); });
} }
</script> </script>
</asp:Content> </asp:Content>

View File

@@ -59,16 +59,20 @@ Partial Class Compras_RepComprasAF
txtFechaI.Text = $"01/{Now.Month}/{Now.Year}" txtFechaI.Text = $"01/{Now.Month}/{Now.Year}"
DdlProveedores.DataSource = GlobalDTCompProveedores(UsuarioActual.CveEmpresa) DdlProveedores.DataSource = GlobalDTCompProveedores(UsuarioActual.CveEmpresa)
DdlProveedores.DataBind() DdlProveedores.DataBind()
DdlProveedores.Items.Insert(0, New ListItem("Seleccione", "-1"))
DdlMonedas.DataSource = GlobalDTMonedas() DdlMonedas.DataSource = GlobalDTMonedas()
DdlMonedas.DataBind() DdlMonedas.DataBind()
DdlMonedas.Items.Insert(0, New ListItem("Seleccione", "-1"))
DdlTipoActivoFijo.DataSource = GlobalDTTipoActivoFijo(UsuarioActual.CveEmpresa).FiltraParametros("", "TipoActivoFijo") DdlTipoActivoFijo.DataSource = GlobalDTTipoActivoFijo(UsuarioActual.CveEmpresa).FiltraParametros("", "TipoActivoFijo")
DdlTipoActivoFijo.DataBind() DdlTipoActivoFijo.DataBind()
DdlTipoActivoFijo.Items.Insert(0, New ListItem("Seleccione", "-1"))
DdlClasificacion.DataSource = GlobalDTClasificaciones(UsuarioActual.CveEmpresa).FiltraParametros(" Codigo = '' OR Codigo IS NULL ", Orderby:="Clasificacion") DdlClasificacion.DataSource = GlobalDTClasificaciones(UsuarioActual.CveEmpresa).FiltraParametros(" Codigo = '' OR Codigo IS NULL ", Orderby:="Clasificacion")
DdlClasificacion.DataBind() DdlClasificacion.DataBind()
DdlClasificacion.Items.Insert(0, New ListItem("Seleccione", "-1"))
Dim ObjClasificacion As New ClsClasificaciones Dim ObjClasificacion As New ClsClasificaciones
@@ -81,9 +85,11 @@ Partial Class Compras_RepComprasAF
ObjClasificacion.Dispose() ObjClasificacion.Dispose()
DdlClasificacion2.DataBind() DdlClasificacion2.DataBind()
DdlClasificacion2.Items.Insert(0, New ListItem("Seleccione", "-1"))
DdlActivoFijo.DataSource = GlobalDTActivoFijos(UsuarioActual.CveEmpresa) DdlActivoFijo.DataSource = GlobalDTActivoFijos(UsuarioActual.CveEmpresa)
DdlActivoFijo.DataBind() DdlActivoFijo.DataBind()
DdlActivoFijo.Items.Insert(0, New ListItem("Seleccione", "-1"))
CargarCentrosDeCosto(DdlProyecto, DdlSubProyecto, LblProyecto, LblSubProyecto, divProyecto:=DivProyecto) CargarCentrosDeCosto(DdlProyecto, DdlSubProyecto, LblProyecto, LblSubProyecto, divProyecto:=DivProyecto)

View File

@@ -1,318 +1,342 @@
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="Presupuestos.aspx.vb" Inherits="Contratos_Presupuestos" %> <%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="Presupuestos.aspx.vb" Inherits="Contratos_Presupuestos" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server"> <asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
</asp:Content> </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server"> <asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
<style> <style>
.dashboard-stat2 .display .number h3 { .dashboard-stat2 .display .number h3 {
font-size: 16px; font-size: 16px;
} }
</style> </style>
</asp:Content> </asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server"> <asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
Presupuestos Presupuestos
</asp:Content> </asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="HB" runat="Server"> <asp:Content ID="Content4" ContentPlaceHolderID="HB" runat="Server">
</asp:Content> </asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server"> <asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
<asp:UpdatePanel ID="UpAcciones" runat="server" UpdateMode="Conditional"> <asp:UpdatePanel ID="UpAcciones" runat="server" UpdateMode="Conditional">
<ContentTemplate> <ContentTemplate>
<li> <li>
<asp:LinkButton ID="LnkAutorizar" runat="server" data-toggle="confirmation" data-popout="true" data-original-title="¿Desea autorizar el presupuesto?" data-btn-ok-label="si"><i class="fa fa-check"></i> Autorizar</asp:LinkButton> <asp:LinkButton ID="LnkAutorizar" runat="server" data-toggle="confirmation" data-popout="true" data-original-title="¿Desea autorizar el presupuesto?" data-btn-ok-label="si"><i class="fa fa-check"></i> Autorizar</asp:LinkButton>
</li> </li>
<li> <li>
<asp:LinkButton ID="LnkCargaPresupuesto" OnClick="LnkCargaPresupuesto_Click" runat="server"><i class="fa fa-upload"></i>Cargar Presupuesto</asp:LinkButton> <asp:LinkButton ID="LnkCargaPresupuesto" OnClick="LnkCargaPresupuesto_Click" runat="server"><i class="fa fa-upload"></i>Cargar Presupuesto</asp:LinkButton>
</li> </li>
<li> <li>
<asp:HyperLink ID="HlModificar" Target="_blank" Visible="false" runat="server"><i class="fa fa-edit"></i> Modificar Presupuesto</asp:HyperLink> <asp:HyperLink ID="HlModificar" Target="_blank" Visible="false" runat="server"><i class="fa fa-edit"></i> Modificar Presupuesto</asp:HyperLink>
</li> </li>
</ContentTemplate> </ContentTemplate>
</asp:UpdatePanel> </asp:UpdatePanel>
</asp:Content> </asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="HA" runat="Server"> <asp:Content ID="Content6" ContentPlaceHolderID="HA" runat="Server">
</asp:Content> </asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="C" runat="Server"> <asp:Content ID="Content7" ContentPlaceHolderID="C" runat="Server">
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-md-4">
<div class="portlet light smmallpadding bordered"> <div class="portlet light smmallpadding bordered">
<div class="portlet-title"> <div class="portlet-title">
<div class="caption"> <div class="caption">
<i class="fa fa-info-circle"></i>Datos Generales <i class="fa fa-info-circle"></i>Datos Generales
</div>
<div class="tools"> </div>
<a href="javascript:;" class="fullscreen" data-original-title="" title=""></a> <div class="tools">
<a href="javascript:;" class="collapse" data-original-title="" title=""></a> <a href="javascript:;" class="fullscreen" data-original-title="" title=""></a>
</div> <a href="javascript:;" class="collapse" data-original-title="" title=""></a>
</div> </div>
<div class="portlet-body"> </div>
<asp:UpdatePanel ID="UpDatosG" runat="server" UpdateMode="Conditional"> <div class="portlet-body">
<ContentTemplate> <asp:UpdatePanel ID="UpDatosG" runat="server" UpdateMode="Conditional">
<div class="rowpadding"> <ContentTemplate>
<div class="row"> <div class="rowpadding">
<label class="col-md-2 truncate">Nombre:</label> <div class="row">
<div class="col-md-10"> <label class="col-md-2 truncate">Nombre:</label>
<asp:TextBox ID="TxtPresupuesto" runat="server" CssClass="form-control input-sm"></asp:TextBox> <div class="col-md-10">
<asp:RequiredFieldValidator ID="RFVPresupuesto" runat="server" ControlToValidate="TxtPresupuesto" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Nombre''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator> <asp:TextBox ID="TxtPresupuesto" runat="server" CssClass="form-control input-sm"></asp:TextBox>
<ajax:ValidatorCalloutExtender ID="VCEPresupuesto" runat="server" HighlightCssClass="vco" TargetControlID="RFVPresupuesto"></ajax:ValidatorCalloutExtender> <asp:RequiredFieldValidator ID="RFVPresupuesto" runat="server" ControlToValidate="TxtPresupuesto" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Nombre''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
</div> <ajax:ValidatorCalloutExtender ID="VCEPresupuesto" runat="server" HighlightCssClass="vco" TargetControlID="RFVPresupuesto"></ajax:ValidatorCalloutExtender>
</div> </div>
<div class="row"> </div>
<label class="col-md-2 truncate">Observaciones:</label> <div class="row">
<div class="col-md-10"> <label class="col-md-2 truncate">Observaciones:</label>
<asp:TextBox ID="TxtDescripcion" runat="server" CssClass="form-control" TextMode="MultiLine"></asp:TextBox> <div class="col-md-10">
<asp:RequiredFieldValidator ID="RFVObservacion" runat="server" ControlToValidate="TxtDescripcion" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Observación''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator> <asp:TextBox ID="TxtDescripcion" runat="server" CssClass="form-control" TextMode="MultiLine"></asp:TextBox>
<ajax:ValidatorCalloutExtender ID="VCEObs" runat="server" HighlightCssClass="vco" TargetControlID="RFVObservacion"></ajax:ValidatorCalloutExtender> <asp:RequiredFieldValidator ID="RFVObservacion" runat="server" ControlToValidate="TxtDescripcion" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Observación''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
</div> <ajax:ValidatorCalloutExtender ID="VCEObs" runat="server" HighlightCssClass="vco" TargetControlID="RFVObservacion"></ajax:ValidatorCalloutExtender>
</div> </div>
<div class="row"> </div>
<label class="col-md-2 truncate">Proyecto:</label> </div>
<div class="col-md-10"> </ContentTemplate>
<asp:DropDownList ID="DdlProyecto" runat="server" AutoPostBack="true" CssClass="form-control input-sm select2me" DataTextField="Proyecto" DataValueField="CveProyecto"></asp:DropDownList> </asp:UpdatePanel>
<asp:CompareValidator ID="CVProyecto" runat="server" ControlToValidate="DdlProyecto" ValueToCompare="0" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />Debe seleccionar un <b>''Proyecto''</b>, por favor seleccione uno." Operator="GreaterThan" Type="Integer" ValidationGroup="GrpGuardar"></asp:CompareValidator> </div>
<ajax:ValidatorCalloutExtender ID="VCEProyecto" runat="server" HighlightCssClass="vco" TargetControlID="CVProyecto"></ajax:ValidatorCalloutExtender> </div>
</div> </div>
</div> <div class="col-md-4">
<div class="row"> <div class="portlet light smmallpadding bordered">
<label class="col-md-2 truncate">Sub Proyecto:</label> <div class="portlet-title">
<div class="col-md-10"> <div class="caption">
<asp:DropDownList ID="DdlSubProyecto" runat="server" CssClass="form-control input-sm select2me" DataTextField="SubProyecto2" DataValueField="CveSubProyecto"></asp:DropDownList> <i class="fa fa-info-circle"></i>Configuración
<asp:CompareValidator ID="CVSubProyeco" runat="server" ControlToValidate="DdlSubProyecto" ValueToCompare="0" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />Debe seleccionar un <b>''Proyecto''</b>, por favor seleccione uno." Operator="GreaterThan" Type="Integer" ValidationGroup="GrpGuardar"></asp:CompareValidator>
<ajax:ValidatorCalloutExtender ID="VCESubProyecto" runat="server" HighlightCssClass="vco" TargetControlID="CVSubProyeco"></ajax:ValidatorCalloutExtender> </div>
</div> <div class="tools">
</div> <a href="javascript:;" class="fullscreen" data-original-title="" title=""></a>
<div class="row"> <a href="javascript:;" class="collapse" data-original-title="" title=""></a>
<div class="col-md-6"> </div>
<div class="row"> </div>
<label class="col-md-4 truncate">Fecha Inicio:</label> <div class="portlet-body">
<div class="col-md-8"> <asp:UpdatePanel ID="UpDatosG2" runat="server" UpdateMode="Conditional">
<div style="display: inline-block; vertical-align: text-bottom;"> <ContentTemplate>
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 120px !important; padding: 0px;"> <div class="rowpadding">
<asp:TextBox ID="TxtFechaI" runat="server" CssClass="form-control" CausesValidation="true" Style="width: 118px" MaxLength="10"></asp:TextBox> <div class="row">
<span class="input-group-btn "> <label class="col-md-2 truncate">Proyecto:</label>
<asp:LinkButton ID="ImgFechaI" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton> <div class="col-md-10">
</span> <asp:DropDownList ID="DdlProyecto" runat="server" AutoPostBack="true" CssClass="form-control input-sm select2me" DataTextField="Proyecto" DataValueField="CveProyecto"></asp:DropDownList>
<ajax:MaskedEditExtender ID="MEEFechaI" runat="server" TargetControlID="TxtFechaI" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender> <asp:CompareValidator ID="CVProyecto" runat="server" ControlToValidate="DdlProyecto" ValueToCompare="0" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />Debe seleccionar un <b>''Proyecto''</b>, por favor seleccione uno." Operator="GreaterThan" Type="Integer" ValidationGroup="GrpGuardar"></asp:CompareValidator>
<ajax:CalendarExtender runat="server" ID="CEFechaI" TargetControlID="TxtFechaI" PopupButtonID="ImgFechaI" Format="dd/MM/yyyy" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender> <ajax:ValidatorCalloutExtender ID="VCEProyecto" runat="server" HighlightCssClass="vco" TargetControlID="CVProyecto"></ajax:ValidatorCalloutExtender>
<asp:RequiredFieldValidator ID="RFVFechaI" runat="server" ControlToValidate="TxtFechaI" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha Inicio''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator> </div>
<asp:CompareValidator ID="CVFechaI" runat="server" ControlToValidate="TxtFechaI" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha''</b> no tiene el formato correcto, por favor intente de nuevo con el siguiente formato: (dd/mm/yyyy)." Operator="DataTypeCheck" Type="Date" ValidationGroup="GrpGuardar"></asp:CompareValidator> </div>
<ajax:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server" HighlightCssClass="vco" TargetControlID="RFVFechaI" Width="350px"></ajax:ValidatorCalloutExtender> <div class="row">
<ajax:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" HighlightCssClass="vco" TargetControlID="CVFechaI" Width="350px"></ajax:ValidatorCalloutExtender> <label class="col-md-2 truncate">Sub Proyecto:</label>
</div> <div class="col-md-10">
</div> <asp:DropDownList ID="DdlSubProyecto" runat="server" CssClass="form-control input-sm select2me" DataTextField="SubProyecto2" DataValueField="CveSubProyecto"></asp:DropDownList>
</div> <asp:CompareValidator ID="CVSubProyeco" runat="server" ControlToValidate="DdlSubProyecto" ValueToCompare="0" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />Debe seleccionar un <b>''Proyecto''</b>, por favor seleccione uno." Operator="GreaterThan" Type="Integer" ValidationGroup="GrpGuardar"></asp:CompareValidator>
</div> <ajax:ValidatorCalloutExtender ID="VCESubProyecto" runat="server" HighlightCssClass="vco" TargetControlID="CVSubProyeco"></ajax:ValidatorCalloutExtender>
</div> </div>
<div class="col-md-6"> </div>
<div class="row"> <div class="row">
<label class="col-md-4 truncate">Fecha Fin:</label> <div class="col-md-6">
<div class="col-md-8"> <div class="row">
<div style="display: inline-block; vertical-align: text-bottom;"> <label class="col-md-4 truncate">Fecha Inicio:</label>
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 120px !important; padding: 0px;"> <div class="col-md-8">
<asp:TextBox ID="TxtFechaF" runat="server" CssClass="form-control" CausesValidation="true" Style="width: 118px" MaxLength="10"></asp:TextBox> <div style="display: inline-block; vertical-align: text-bottom;">
<span class="input-group-btn "> <div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 120px !important; padding: 0px;">
<asp:LinkButton ID="ImgFechaF" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton> <asp:TextBox ID="TxtFechaI" runat="server" CssClass="form-control" CausesValidation="true" Style="width: 118px" MaxLength="10"></asp:TextBox>
</span> <span class="input-group-btn ">
<ajax:MaskedEditExtender ID="MEEFechaF" runat="server" TargetControlID="TxtFechaF" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender> <asp:LinkButton ID="ImgFechaI" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
<ajax:CalendarExtender runat="server" ID="CEFecha" TargetControlID="TxtFechaF" PopupButtonID="ImgFechaF" Format="dd/MM/yyyy" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender> </span>
<asp:RequiredFieldValidator ID="RFVFechaF" runat="server" ControlToValidate="TxtFechaF" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator> <ajax:MaskedEditExtender ID="MEEFechaI" runat="server" TargetControlID="TxtFechaI" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
<asp:CompareValidator ID="CVFechaF" runat="server" ControlToValidate="TxtFechaF" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha''</b> no tiene el formato correcto, por favor intente de nuevo con el siguiente formato: (dd/mm/yyyy)." Operator="DataTypeCheck" Type="Date" ValidationGroup="GrpGuardar"></asp:CompareValidator> <ajax:CalendarExtender runat="server" ID="CEFechaI" TargetControlID="TxtFechaI" PopupButtonID="ImgFechaI" Format="dd/MM/yyyy" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender>
<ajax:ValidatorCalloutExtender ID="VCOFecha1" runat="server" HighlightCssClass="vco" TargetControlID="RFVFechaF" Width="350px"></ajax:ValidatorCalloutExtender> <asp:RequiredFieldValidator ID="RFVFechaI" runat="server" ControlToValidate="TxtFechaI" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha Inicio''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
<ajax:ValidatorCalloutExtender ID="VCOFecha2" runat="server" HighlightCssClass="vco" TargetControlID="CVFechaF" Width="350px"></ajax:ValidatorCalloutExtender> <asp:CompareValidator ID="CVFechaI" runat="server" ControlToValidate="TxtFechaI" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha''</b> no tiene el formato correcto, por favor intente de nuevo con el siguiente formato: (dd/mm/yyyy)." Operator="DataTypeCheck" Type="Date" ValidationGroup="GrpGuardar"></asp:CompareValidator>
</div> <ajax:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server" HighlightCssClass="vco" TargetControlID="RFVFechaI" Width="350px"></ajax:ValidatorCalloutExtender>
</div> <ajax:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" HighlightCssClass="vco" TargetControlID="CVFechaI" Width="350px"></ajax:ValidatorCalloutExtender>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</ContentTemplate> <div class="col-md-6">
</asp:UpdatePanel> <div class="row">
</div> <label class="col-md-4 truncate">Fecha Fin:</label>
</div> <div class="col-md-8">
</div> <div style="display: inline-block; vertical-align: text-bottom;">
<div class="col-md-6" runat="server" id="DivIndicadores" visible="false"> <div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 120px !important; padding: 0px;">
<asp:UpdatePanel UpdateMode="Conditional" ID="UpIndicadores" runat="server"> <asp:TextBox ID="TxtFechaF" runat="server" CssClass="form-control" CausesValidation="true" Style="width: 118px" MaxLength="10"></asp:TextBox>
<ContentTemplate> <span class="input-group-btn ">
<div class="row"> <asp:LinkButton ID="ImgFechaF" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
<div class="col-md-12"> </span>
<h3><b>Estatus: </b> <ajax:MaskedEditExtender ID="MEEFechaF" runat="server" TargetControlID="TxtFechaF" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
<asp:Literal ID="LtlEstatus" runat="server"></asp:Literal></h3> <ajax:CalendarExtender runat="server" ID="CEFecha" TargetControlID="TxtFechaF" PopupButtonID="ImgFechaF" Format="dd/MM/yyyy" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender>
</div> <asp:RequiredFieldValidator ID="RFVFechaF" runat="server" ControlToValidate="TxtFechaF" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
</div> <asp:CompareValidator ID="CVFechaF" runat="server" ControlToValidate="TxtFechaF" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha''</b> no tiene el formato correcto, por favor intente de nuevo con el siguiente formato: (dd/mm/yyyy)." Operator="DataTypeCheck" Type="Date" ValidationGroup="GrpGuardar"></asp:CompareValidator>
<div class="row"> <ajax:ValidatorCalloutExtender ID="VCOFecha1" runat="server" HighlightCssClass="vco" TargetControlID="RFVFechaF" Width="350px"></ajax:ValidatorCalloutExtender>
<div class="col-lg-4 col-md-4"> <ajax:ValidatorCalloutExtender ID="VCOFecha2" runat="server" HighlightCssClass="vco" TargetControlID="CVFechaF" Width="350px"></ajax:ValidatorCalloutExtender>
<div class="dashboard-stat2 " style="border-style: solid; border-color: whitesmoke; padding-top px;"> </div>
<div class="display" style="margin-bottom: 0px"> </div>
<div class="number"> </div>
<h3 class="font-red-haze"> </div>
<small class="font-red-haze">$</small> </div>
<span data-counter="counterup"> </div>
<asp:Literal runat="server" ID="LtlAutorizado"></asp:Literal></span> </div>
</h3> </ContentTemplate>
<small>IMPORTE</small> </asp:UpdatePanel>
</div> </div>
</div>
</div>
<div class="col-md-4" runat="server" id="DivIndicadores" visible="false">
<asp:UpdatePanel UpdateMode="Conditional" ID="UpIndicadores" runat="server">
<ContentTemplate>
<div class="row">
<div class="col-md-12">
<h3><b>Estatus: </b>
<asp:Literal ID="LtlEstatus" runat="server"></asp:Literal></h3>
</div>
</div>
<div class="row">
<div class="col-lg-4 col-md-4">
<div class="dashboard-stat2 " style="border-style: solid; border-color: whitesmoke; padding-top px;">
<div class="display" style="margin-bottom: 0px">
<div class="number">
<h3 class="font-red-haze">
<small class="font-red-haze">$</small>
<span data-counter="counterup">
<asp:Literal runat="server" ID="LtlAutorizado"></asp:Literal></span>
</h3>
<small>IMPORTE</small>
</div>
<%--<div class="icon"> <%--<div class="icon">
<i class="fa fa-credit-card"></i> <i class="fa fa-credit-card"></i>
</div>--%> </div>--%>
</div> </div>
</div> </div>
</div> </div>
<div class="col-lg-4 col-md-4"> <div class="col-lg-4 col-md-4">
<div class="dashboard-stat2 " style="border-style: solid; border-color: whitesmoke; padding: 5px 5px 25px 5px;"> <div class="dashboard-stat2 " style="border-style: solid; border-color: whitesmoke; padding: 5px 5px 25px 5px;">
<div class="display"> <div class="display">
<div class="number"> <div class="number">
<h3 class="font-blue-sharp"> <h3 class="font-blue-sharp">
<small class="font-blue-sharp">$</small> <small class="font-blue-sharp">$</small>
<span data-counter="counterup"> <span data-counter="counterup">
<asp:Literal runat="server" ID="LtlEjercido"></asp:Literal></span> <asp:Literal runat="server" ID="LtlEjercido"></asp:Literal></span>
</h3> </h3>
<small>EJERCIDO</small> <small>EJERCIDO</small>
</div> </div>
<%--<div class="icon"> <%--<div class="icon">
<i class="icon-pie-chart"></i> <i class="icon-pie-chart"></i>
</div>--%> </div>--%>
</div> </div>
<div class="progress-info"> <div class="progress-info">
<div class="progress"> <div class="progress">
<span style="width: 50%;" id="PBEjercido" runat="server" class="progress-bar progress-bar-info blue-sharp"> <span style="width: 50%;" id="PBEjercido" runat="server" class="progress-bar progress-bar-info blue-sharp">
<span class="sr-only"> <span class="sr-only">
<asp:Literal runat="server" ID="LtlPorcenEjercido"></asp:Literal></span> <asp:Literal runat="server" ID="LtlPorcenEjercido"></asp:Literal></span>
</span> </span>
</div> </div>
<div class="status"> <div class="status">
<div class="status-title">Porcentaje Ejercido </div> <div class="status-title">Porcentaje Ejercido </div>
<div class="status-number"> <div class="status-number">
<asp:Literal runat="server" ID="Literal3"></asp:Literal> <asp:Literal runat="server" ID="Literal3"></asp:Literal>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="col-lg-4 col-md-4"> <div class="col-lg-4 col-md-4">
<div class="dashboard-stat2 " style="border-style: solid; border-color: whitesmoke; padding: 5px 5px 25px 5px;"> <div class="dashboard-stat2 " style="border-style: solid; border-color: whitesmoke; padding: 5px 5px 25px 5px;">
<div class="display"> <div class="display">
<div class="number"> <div class="number">
<h3 class="font-green-sharp"> <h3 class="font-green-sharp">
<small class="font-green-sharp">$</small> <small class="font-green-sharp">$</small>
<span data-counter="counterup"> <span data-counter="counterup">
<asp:Literal runat="server" ID="LtlPorEjercer"></asp:Literal></span> <asp:Literal runat="server" ID="LtlPorEjercer"></asp:Literal></span>
</h3> </h3>
<small>POR EJERCER</small> <small>POR EJERCER</small>
</div> </div>
<%--<div class="icon"> <%--<div class="icon">
<i class="icon-pie-chart"></i> <i class="icon-pie-chart"></i>
</div>--%> </div>--%>
</div> </div>
<div class="progress-info"> <div class="progress-info">
<div class="progress"> <div class="progress">
<span style="width: 50%;" id="PBPorEjercer" runat="server" class="progress-bar progress-bar-success green-sharp"> <span style="width: 50%;" id="PBPorEjercer" runat="server" class="progress-bar progress-bar-success green-sharp">
<span class="sr-only"> <span class="sr-only">
<asp:Literal runat="server" ID="LtlPorcentPorEjer"></asp:Literal></span> <asp:Literal runat="server" ID="LtlPorcentPorEjer"></asp:Literal></span>
</span> </span>
</div> </div>
<div class="status"> <div class="status">
<div class="status-title">Porcentaje Por Ejercer </div> <div class="status-title">Porcentaje Por Ejercer </div>
<div class="status-number"> <div class="status-number">
<asp:Literal runat="server" ID="LtlPorcentaje"></asp:Literal> <asp:Literal runat="server" ID="LtlPorcentaje"></asp:Literal>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</ContentTemplate> </ContentTemplate>
</asp:UpdatePanel> </asp:UpdatePanel>
</div> </div>
</div> </div>
<br /> <br />
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<div class="portlet light smmallpadding bordered"> <div class="portlet light smmallpadding bordered">
<div class="portlet-title"> <div class="portlet-title">
<div class="caption" style="align-items: center"> <div class="caption" style="align-items: center">
<i class="fa fa-info-circle"></i>Presupuestos <i class="fa fa-info-circle"></i>Presupuestos
</div>
<div class="tools"> </div>
<a href="javascript:;" class="fullscreen" data-original-title="" title=""></a> <div class="tools">
<a href="javascript:;" class="collapse" data-original-title="" title=""></a> <a href="javascript:;" class="fullscreen" data-original-title="" title=""></a>
</div> <a href="javascript:;" class="collapse" data-original-title="" title=""></a>
</div> </div>
<div class="portlet-body"> </div>
<div class="rowpadding"> <div class="portlet-body">
<asp:UpdatePanel ID="UpGvClasificaciones" runat="server" UpdateMode="Conditional"> <div class="rowpadding">
<ContentTemplate> <asp:UpdatePanel ID="UpGvClasificaciones" runat="server" UpdateMode="Conditional">
<asp:GridView ID="GvPresupuestos" runat="server" GridLines="None" EmptyDataText="No se encontraron presupuestos" CssClass="table table-hover table-striped Widthall ScrollAD" ShowFooter="true" data-footer="1" AutoGenerateColumns="False" data-heighterror="600" <ContentTemplate>
DataKeyNames="CvePresupuestoDetalle,CveClasificacion,CveTipoGasto"> <asp:GridView ID="GvPresupuestos" runat="server" GridLines="None" EmptyDataText="No se encontraron presupuestos" CssClass="table table-hover table-striped Widthall ScrollAD" ShowFooter="true" data-footer="1" AutoGenerateColumns="False" data-heighterror="600"
<Columns> DataKeyNames="CvePresupuestoDetalle,CveAgrupador,CveTipoGasto,Tipo">
<asp:BoundField HeaderText="Clasificación" DataField="Clasificacion" /> <Columns>
<asp:TemplateField HeaderText="Importe" HeaderStyle-HorizontalAlign="Left" FooterStyle-HorizontalAlign="Right"> <asp:BoundField HeaderText="Clasificación" DataField="Agrupador" />
<ItemTemplate> <asp:TemplateField HeaderText="Importe" HeaderStyle-HorizontalAlign="Left" FooterStyle-HorizontalAlign="Right">
<asp:Label ID="LblImporteClasiTotal" runat="server" Visible="false"></asp:Label> <ItemTemplate>
<asp:TextBox ID="TxtImporteClasi" runat="server" Text='<%#Eval("Importe") %>'></asp:TextBox> <asp:Label ID="LblImporteClasiTotal" runat="server" Visible="false"></asp:Label>
<ajax:FilteredTextBoxExtender ID="SoloNumerosCantidad" runat="server" TargetControlID="TxtImporteClasi" FilterType="Custom, Numbers" ValidChars=".," /> <asp:TextBox ID="TxtImporteClasi" runat="server" Text='<%#Eval("Importe") %>' CssClass="form-control input-sm"></asp:TextBox>
</ItemTemplate> <ajax:FilteredTextBoxExtender ID="SoloNumerosCantidad" runat="server" TargetControlID="TxtImporteClasi" FilterType="Custom, Numbers" ValidChars=".," />
<FooterTemplate> </ItemTemplate>
<b>Total :</b> <FooterTemplate>
<asp:Label ID="LblTotal" CssClass="LabelGVTotal" runat="server"></asp:Label> <b>Total :</b>
</FooterTemplate> <asp:Label ID="LblTotal" CssClass="LabelGVTotal" runat="server"></asp:Label>
</asp:TemplateField> </FooterTemplate>
<asp:TemplateField HeaderText="Observaciones" HeaderStyle-HorizontalAlign="Left"> </asp:TemplateField>
<ItemTemplate> <asp:TemplateField HeaderText="Observaciones" HeaderStyle-HorizontalAlign="Left">
<asp:TextBox ID="TxtObservacion" runat="server" CssClass="form-control input-sm" Text='<%# Eval("Observacion") %>'></asp:TextBox> <ItemTemplate>
</ItemTemplate> <asp:TextBox ID="TxtObservacion" runat="server" CssClass="form-control input-sm" Text='<%# Eval("Observacion") %>'></asp:TextBox>
</asp:TemplateField> </ItemTemplate>
<asp:BoundField HeaderText="Tipo Gasto" DataField="TipoGasto" /> </asp:TemplateField>
</Columns> <asp:BoundField HeaderText="Tipo Gasto" DataField="TipoGasto" />
<FooterStyle CssClass="Totales" /> </Columns>
</asp:GridView> <FooterStyle CssClass="Totales" />
</ContentTemplate> </asp:GridView>
</asp:UpdatePanel> </ContentTemplate>
</div> </asp:UpdatePanel>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<asp:UpdatePanel ID="UpGuardar" runat="server"> </div>
<ContentTemplate> <asp:UpdatePanel ID="UpGuardar" runat="server">
<div class="row"> <ContentTemplate>
<div class="col-md-5"></div> <div class="row">
<div class="col-md-2"> <div class="col-md-5"></div>
<asp:Button ID="BtnGuardar" runat="server" Text="Guardar" CssClass="btn btn-primary" ValidationGroup="GrpGuardar" /> <div class="col-md-2">
</div> <asp:Button ID="BtnGuardar" runat="server" Text="Guardar" CssClass="btn btn-primary" ValidationGroup="GrpGuardar" />
<div class="col-md-5"></div> </div>
</div> <div class="col-md-5"></div>
</ContentTemplate> </div>
</asp:UpdatePanel> </ContentTemplate>
<div id="ModalCargaPresupuesto" class="modal ADS fade" role="dialog"> </asp:UpdatePanel>
<asp:UpdatePanel ID="UPCargaPresup" class="modal-dialog" tabindex="-1" runat="server" UpdateMode="Conditional"> <div id="ModalCargaPresupuesto" class="modal ADS fade" role="dialog">
<ContentTemplate> <asp:UpdatePanel ID="UPCargaPresup" class="modal-dialog" tabindex="-1" runat="server" UpdateMode="Conditional">
<div class="modal-content rowpadding"> <ContentTemplate>
<div class="modal-header"> <div class="modal-content rowpadding">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> <div class="modal-header">
<span aria-hidden="true">&times;</span> <button type="button" class="close" data-dismiss="modal" aria-label="Close">
</button> <span aria-hidden="true">&times;</span>
<h4 class="modal-title" runat="server" style="text-align: left">Cargar Presupuesto </h4> </button>
</div> <h4 class="modal-title" runat="server" style="text-align: left">Cargar Presupuesto </h4>
<div class="modal-body"> </div>
<div class="modal-body">
<div class="portlet light smmallpadding bordered">
<div class="portlet-title"> <div class="portlet light smmallpadding bordered">
<div class="caption font-green"> <div class="portlet-title">
<i class="fa fa-upload font-green"></i> <div class="caption font-green">
<span class="caption-subject bold uppercase">Cargar archivo </span> <i class="fa fa-upload font-green"></i>
</div> <span class="caption-subject bold uppercase">Cargar archivo </span>
<div class="tools"> </div>
<a href="javascript:;" class="collapse" data-original-title="" title=""></a> <div class="tools">
</div> <a href="javascript:;" class="collapse" data-original-title="" title=""></a>
<div class="actions"> </div>
<div class="btn-group"> <div class="actions">
<asp:LinkButton ID="LnkFormatoPresup" OnClick="LnkFormatoPresup_Click" CssClass="btn yellow-gold" runat="server"><i class="fa fa-download"></i> Descargar Plantilla</asp:LinkButton> <div class="btn-group">
</div> <asp:LinkButton ID="LnkFormatoPresup" OnClick="LnkFormatoPresup_Click" CssClass="btn yellow-gold" runat="server"><i class="fa fa-download"></i> Descargar Plantilla</asp:LinkButton>
</div> </div>
</div> </div>
<div class="portlet-body rowpadding "> </div>
<div class="portlet-body rowpadding ">
<!--<div class=" row"> <!--<div class=" row">
<div class="col-md-3">Concepto</div> <div class="col-md-3">Concepto</div>
<div class="col-md-6"> <div class="col-md-6">
@@ -320,52 +344,52 @@
</div> </div>
</div> </div>
--> -->
<asp:TextBox ID="TxtCargarPresup" CssClass="ADSdropzone hidden" runat="server"></asp:TextBox> <asp:TextBox ID="TxtCargarPresup" CssClass="ADSdropzone hidden" runat="server"></asp:TextBox>
</div> </div>
</div> </div>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<asp:UpdatePanel runat="server" UpdateMode="Conditional"> <asp:UpdatePanel runat="server" UpdateMode="Conditional">
<ContentTemplate> <ContentTemplate>
<asp:LinkButton ID="LnkCargarPresup" OnClick="LnkCargarPresup_Click" CssClass="btn btn-primary" runat="server">Procesar</asp:LinkButton> <asp:LinkButton ID="LnkCargarPresup" OnClick="LnkCargarPresup_Click" CssClass="btn btn-primary" runat="server">Procesar</asp:LinkButton>
</ContentTemplate> </ContentTemplate>
</asp:UpdatePanel> </asp:UpdatePanel>
</div> </div>
</div> </div>
</ContentTemplate> </ContentTemplate>
<Triggers> <Triggers>
<asp:PostBackTrigger ControlID="LnkFormatoPresup" /> <asp:PostBackTrigger ControlID="LnkFormatoPresup" />
</Triggers> </Triggers>
</asp:UpdatePanel> </asp:UpdatePanel>
</div> </div>
</asp:Content> </asp:Content>
<asp:Content ID="Content8" ContentPlaceHolderID="JS" runat="Server"> <asp:Content ID="Content8" ContentPlaceHolderID="JS" runat="Server">
<script type="text/javascript"> <script type="text/javascript">
function calculaTotalTipoGasto(TipoGasto) { function calculaTotalTipoGasto(TipoGasto) {
var total = 0; var total = 0;
$(".txt" + TipoGasto).each(function () { $(".txt" + TipoGasto).each(function () {
total += ToDouble(this.value); total += ToDouble(this.value);
}); });
$(".LabelGVTotal" + TipoGasto).text('$ ' + formato_numero(total, 2, '.', ',')); $(".LabelGVTotal" + TipoGasto).text('$ ' + formato_numero(total, 2, '.', ','));
} }
function calculaTotal() { function calculaTotal() {
var total = 0; var total = 0;
$(".sumaGV").each(function () { $(".sumaGV").each(function () {
total += ToDouble(this.value); total += ToDouble(this.value);
}); });
$(".LabelGVTotal").text('$ ' + formato_numero(total, 2, '.', ',')); $(".LabelGVTotal").text('$ ' + formato_numero(total, 2, '.', ','));
} }
function formato_numero(numero, decimales, separador_decimal, separador_miles) { function formato_numero(numero, decimales, separador_decimal, separador_miles) {
numero = parseFloat(numero); numero = parseFloat(numero);
if (isNaN(numero)) { if (isNaN(numero)) {
return ""; return "";
} }
if (decimales !== undefined) { if (decimales !== undefined) {
// Redondeamos // Redondeamos
numero = numero.toFixed(decimales); numero = numero.toFixed(decimales);
} }
// Convertimos el punto en separador_decimal // Convertimos el punto en separador_decimal
@@ -374,13 +398,13 @@
if (separador_miles) { if (separador_miles) {
// Añadimos los separadores de miles // Añadimos los separadores de miles
var miles = new RegExp("(-?[0-9]+)([0-9]{3})"); var miles = new RegExp("(-?[0-9]+)([0-9]{3})");
while (miles.test(numero)) { while (miles.test(numero)) {
numero = numero.replace(miles, "$1" + separador_miles + "$2"); numero = numero.replace(miles, "$1" + separador_miles + "$2");
} }
} }
return numero; return numero;
} }
</script> </script>
</asp:Content> </asp:Content>

View File

@@ -5,10 +5,10 @@ Imports System.Data
Imports Extensiones Imports Extensiones
Partial Class Contratos_Presupuestos Partial Class Contratos_Presupuestos
Inherits ClsPaginas Inherits ClsPaginas
#Region "P R O P I E D A D E S" #Region "P R O P I E D A D E S"
Public Property CvePresupuesto() As Integer Public Property CvePresupuesto() As Integer
Get Get
Return ViewState("CvePresupuesto").ToString.ToEntero Return ViewState("CvePresupuesto").ToString.ToEntero
@@ -37,10 +37,10 @@ Partial Class Contratos_Presupuestos
Set(ByVal value As DataTable) Set(ByVal value As DataTable)
ViewState("DtClasificaciones") = value ViewState("DtClasificaciones") = value
End Set End Set
End Property End Property
#End Region #End Region
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then If Not IsPostBack Then
CvePresupuesto = IfNull(Request("CvePresupuesto"), -1).ToString.ToEntero CvePresupuesto = IfNull(Request("CvePresupuesto"), -1).ToString.ToEntero
@@ -56,8 +56,8 @@ Partial Class Contratos_Presupuestos
UpGvClasificaciones.Update() UpGvClasificaciones.Update()
UpIndicadores.Update() UpIndicadores.Update()
End If End If
End Sub End Sub
#Region "I N I C I A L I Z A - V A L O R E S" #Region "I N I C I A L I Z A - V A L O R E S"
Private Sub InicializaValores() Private Sub InicializaValores()
TxtFechaI.Text = $"01/01/{Now.Year}" TxtFechaI.Text = $"01/01/{Now.Year}"
@@ -125,13 +125,13 @@ Partial Class Contratos_Presupuestos
End Select End Select
End If End If
If e.Row.RowType = DataControlRowType.Footer Then If e.Row.RowType = DataControlRowType.Footer Then
Dim Importe = DtClasificaciones.SUM("Importe", "CveClasificacion IS NOT NULL") Dim Importe = DtClasificaciones.SUM("Importe", "CveAgrupador IS NOT NULL")
e.Row.FCLabel("LblTotal").Text = String.Format("{0:C}", Importe) e.Row.FCLabel("LblTotal").Text = String.Format("{0:C}", Importe)
End If End If
End Sub End Sub
#End Region #End Region
#Region "C A R G A - D A T O S" #Region "C A R G A - D A T O S"
Private Sub CargaDatos() Private Sub CargaDatos()
CargaMoneda() CargaMoneda()
@@ -245,9 +245,9 @@ Partial Class Contratos_Presupuestos
HlModificar.Visible = True HlModificar.Visible = True
HlModificar.NavigateUrl = $"/Contratos/ModificarPresupuesto.aspx?CvePresupuesto={CvePresupuesto}" HlModificar.NavigateUrl = $"/Contratos/ModificarPresupuesto.aspx?CvePresupuesto={CvePresupuesto}"
End If End If
End Sub End Sub
#End Region #End Region
#Region "G U A R D A R " #Region "G U A R D A R "
Private Function ValidaDatos() As Boolean Private Function ValidaDatos() As Boolean
If String.IsNullOrEmpty(TxtPresupuesto.Text.Trim) Then If String.IsNullOrEmpty(TxtPresupuesto.Text.Trim) Then
@@ -327,23 +327,39 @@ Partial Class Contratos_Presupuestos
For Each GvRow As GridViewRow In GvPresupuestos.Rows For Each GvRow As GridViewRow In GvPresupuestos.Rows
If GvRow.RowType = DataControlRowType.DataRow Then If GvRow.RowType = DataControlRowType.DataRow Then
Dim CveClasificacion = GvRow.DataKey("CveClasificacion").ToEntero Dim CveAgrupador = GvRow.DataKey("CveAgrupador").ToEntero
Dim CveTipoGasto = GvRow.DataKey("CveTipoGasto").ToEntero Dim Tipo As Integer = GvRow.DataKey("Tipo").ToEntero
Dim CveTipoGasto = -1
Dim CveClasificacion As Integer = -1
Dim CveConceptoContableNom As Integer = -1
If Tipo = 1 Then
CveClasificacion = CveAgrupador
CveTipoGasto = GvRow.DataKey("CveTipoGasto").ToEntero
End If
If Tipo = 2 Then
CveConceptoContableNom = CveAgrupador
End If
Dim CvePresupuestoDetalle = GvRow.DataKey("CvePresupuestoDetalle").ToEntero Dim CvePresupuestoDetalle = GvRow.DataKey("CvePresupuestoDetalle").ToEntero
Dim Importe = GvRow.FCTextBox("TxtImporteClasi").Text.ToDecimal Dim Importe = GvRow.FCTextBox("TxtImporteClasi").Text.ToDecimal
Dim Obs = GvRow.FCTextBox("TxtObservacion").Text.Trim Dim Obs = GvRow.FCTextBox("TxtObservacion").Text.Trim
'ACTUALIZA EL REGISTRO EXISTENTE 'ACTUALIZA EL REGISTRO EXISTENTE
If CvePresupuestoDetalle > 0 Then If CvePresupuestoDetalle > 0 Then
TieneError = Not ObjCont.UpdatePresupuestosDetalle(CvePresupuestoDetalle, CveClasificacion, Importe, Obs) TieneError = Not ObjCont.UpdatePresupuestosDetalle(CvePresupuestoDetalle, CveClasificacion, Importe, Obs, CveConceptoContableNom:=CveConceptoContableNom)
If TieneError Then If TieneError Then
Exit For Exit For
End If End If
'AGREGA LA CLASIFICACION SI NO EXISTE EN EN EL DT DETALLE 'AGREGA LA CLASIFICACION SI NO EXISTE EN EN EL DT DETALLE
Else Else
If Importe > 0 And CveClasificacion > 0 Then If Importe > 0 And CveAgrupador > 0 Then
TieneError = Not ObjCont.AddPresupuestosDetalle(CvePresupuesto, CveClasificacion, CveTipoGasto, Importe, Obs) TieneError = Not ObjCont.AddPresupuestosDetalle(CvePresupuesto, CveClasificacion, CveTipoGasto, Importe, Obs, CveConceptoContableNom:=CveConceptoContableNom)
If TieneError Then If TieneError Then
Exit For Exit For
End If End If
@@ -385,18 +401,33 @@ Partial Class Contratos_Presupuestos
If CvePresupuestoNuevo > 0 Then If CvePresupuestoNuevo > 0 Then
Dim ImporteClasi = 0.0D Dim ImporteClasi = 0.0D
Dim CveClasificacion = -1
Dim ObsDetalle = "" Dim ObsDetalle = ""
For Each GvRow As GridViewRow In GvPresupuestos.Rows For Each GvRow As GridViewRow In GvPresupuestos.Rows
If GvRow.RowType = DataControlRowType.DataRow Then If GvRow.RowType = DataControlRowType.DataRow Then
ImporteClasi = GvRow.FCTextBox("TxtImporteClasi").Text.ToDecimal ImporteClasi = GvRow.FCTextBox("TxtImporteClasi").Text.ToDecimal
CveClasificacion = GvRow.DataKey("CveClasificacion").ToEntero
Dim CveTipoGasto = GvRow.DataKey("CveTipoGasto").ToEntero
ObsDetalle = GvRow.FCTextBox("TxtObservacion").Text.Trim ObsDetalle = GvRow.FCTextBox("TxtObservacion").Text.Trim
Dim CveAgrupador = GvRow.DataKey("CveAgrupador").ToEntero
Dim Tipo As Integer = GvRow.DataKey("Tipo").ToEntero
Dim CveClasificacion As Integer = -1
Dim CveConceptoContableNom As Integer = -1
Dim CveTipoGasto As Integer = -1
If Tipo = 1 Then
CveClasificacion = CveAgrupador
CveTipoGasto = GvRow.DataKey("CveTipoGasto").ToEntero
End If
If Tipo = 2 Then
CveConceptoContableNom = CveAgrupador
End If
If CveClasificacion > 0 Then If CveClasificacion > 0 Then
If ImporteClasi > 0 Then If ImporteClasi > 0 Then
TieneError = Not ObjCont.AddPresupuestosDetalle(CvePresupuestoNuevo, CveClasificacion, CveTipoGasto, ImporteClasi, ObsDetalle) TieneError = Not ObjCont.AddPresupuestosDetalle(CvePresupuestoNuevo, CveClasificacion, CveTipoGasto, ImporteClasi, ObsDetalle, CveConceptoContableNom:=CveConceptoContableNom)
If TieneError Then If TieneError Then
Exit For Exit For
End If End If
@@ -427,11 +458,11 @@ Partial Class Contratos_Presupuestos
Alert("Se agregó el presupuesto correctamente.", TipoMensaje.MsgInformacion, Liga) Alert("Se agregó el presupuesto correctamente.", TipoMensaje.MsgInformacion, Liga)
End If End If
End Sub End Sub
#End Region #End Region
Protected Sub LnkAutorizar_Click(sender As Object, e As EventArgs) Handles LnkAutorizar.Click Protected Sub LnkAutorizar_Click(sender As Object, e As EventArgs) Handles LnkAutorizar.Click
If ValidaDatos() Then If ValidaDatos() Then
If ActualizarPresupuesto() Then If ActualizarPresupuesto() Then

View File

@@ -233,7 +233,7 @@
</div> </div>
<div class="col-md-1" style="max-width: 120px">Clasificacion:</div> <div class="col-md-1" style="max-width: 120px">Clasificacion:</div>
<div class="col-md-2"> <div class="col-md-2">
<asp:DropDownList ID="DdlClasificacion" DataTextField="Clasificacion" AppendDataBoundItems="true" DataValueField="CveClasificacion" Width="200px" runat="server" CssClass="form-control input-sm select2me"> <asp:DropDownList ID="DdlClasificacion" DataTextField="Agrupador" DataValueField="CveAgrupador" Width="200px" runat="server" CssClass="form-control input-sm select2me">
</asp:DropDownList> </asp:DropDownList>
</div> </div>
<div class="col-md-1" style="max-width: 120px">Tipo Gasto:</div> <div class="col-md-1" style="max-width: 120px">Tipo Gasto:</div>

View File

@@ -8,9 +8,9 @@ Imports Extensiones
Imports Microsoft.Reporting.WebForms Imports Microsoft.Reporting.WebForms
Partial Class Contratos_RepPresupuestos Partial Class Contratos_RepPresupuestos
Inherits ClsPaginas Inherits ClsPaginas
#Region "P R O P I E D A D E S" #Region "P R O P I E D A D E S"
Public Property DtPresupuestos() As DataTable Public Property DtPresupuestos() As DataTable
Get Get
Return DirectCast(ViewState("DtPresupuestos"), DataTable) Return DirectCast(ViewState("DtPresupuestos"), DataTable)
@@ -18,15 +18,15 @@ Partial Class Contratos_RepPresupuestos
Set(ByVal value As DataTable) Set(ByVal value As DataTable)
ViewState("DtPresupuestos") = value ViewState("DtPresupuestos") = value
End Set End Set
End Property End Property
#End Region #End Region
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then If Not IsPostBack Then
InicializaValores() InicializaValores()
End If End If
End Sub End Sub
#Region " INICIALIZA VALORES " #Region " INICIALIZA VALORES "
Private Sub InicializaValores() Private Sub InicializaValores()
@@ -36,9 +36,14 @@ Partial Class Contratos_RepPresupuestos
DdlTipoGasto.DataSource = GlobalDTTiposGastos(UsuarioActual.CveEmpresa) DdlTipoGasto.DataSource = GlobalDTTiposGastos(UsuarioActual.CveEmpresa)
DdlTipoGasto.DataBind() DdlTipoGasto.DataBind()
DdlClasificacion.DataSource = GlobalDTClasificaciones(UsuarioActual.CveEmpresa) Dim dtAgrupador = (From dr In GlobalDTClasificaciones(UsuarioActual.CveEmpresa)
Select New With {.CveAgrupador = dr("CveClasificacion").ToString().ToEntero(), .Agrupador = dr("Clasificacion").ToString()}
).Union(From dr In GlobalDTContaConceptosContables(-1)
Select New With {.CveAgrupador = dr("CveConceptoContable").ToString().ToEntero(), .Agrupador = dr("ConceptoContable").ToString()}).QueryToDataTable(True)
DdlClasificacion.DataSource = dtAgrupador
DdlClasificacion.DataBind()
DdlClasificacion.Items.Insert(0, New ListItem("Todos", "-1")) DdlClasificacion.Items.Insert(0, New ListItem("Todos", "-1"))
DdlClasificacion.DataBind()
DdlProyecto.DataSource = If(UsuarioActual.Empresa.Funcionalidad(102) = "1" AndAlso Not UsuarioActual.TienePermisoProceso(110), GlobalDTProyectosUsuarios(UsuarioActual.CveUsuario, -1, UsuarioActual.CveEmpresa, -1).FiltraParametros("", "", {"CveProyecto", "Proyecto"}), GlobalDTProyectos(UsuarioActual.CveEmpresa, -1).FiltraParametros("", "", {"CveProyecto", "Proyecto"})) DdlProyecto.DataSource = If(UsuarioActual.Empresa.Funcionalidad(102) = "1" AndAlso Not UsuarioActual.TienePermisoProceso(110), GlobalDTProyectosUsuarios(UsuarioActual.CveUsuario, -1, UsuarioActual.CveEmpresa, -1).FiltraParametros("", "", {"CveProyecto", "Proyecto"}), GlobalDTProyectos(UsuarioActual.CveEmpresa, -1).FiltraParametros("", "", {"CveProyecto", "Proyecto"}))
DdlProyecto.Items.Insert(0, New ListItem("Todos", "-1")) DdlProyecto.Items.Insert(0, New ListItem("Todos", "-1"))
@@ -46,12 +51,12 @@ Partial Class Contratos_RepPresupuestos
CargaSubProyecto() CargaSubProyecto()
UpFiltros.Update() UpFiltros.Update()
End Sub End Sub
#End Region #End Region
#Region " CARGA DATOS " #Region " CARGA DATOS "
Private Sub CargaSubProyecto() Private Sub CargaSubProyecto()
DdlSubProyecto.Items.Clear() DdlSubProyecto.Items.Clear()
If DdlProyecto.SelectedValue.ToEntero > 0 Or UsuarioActual.Empresa.Tipo_CentroCosto = 1 Then If DdlProyecto.SelectedValue.ToEntero > 0 Or UsuarioActual.Empresa.Tipo_CentroCosto = 1 Then
@@ -362,15 +367,15 @@ Partial Class Contratos_RepPresupuestos
EsProyecto = True EsProyecto = True
End If End If
Dim Css = "Texto" Dim Css = "Texto"
Dim Liga = $"/Contratos/RepPresupuestosDetalle.aspx?&CveAgrupador={CveAgrupador}&CveClasificacion={e.Row.DBCampo("CveClasificacionFiltro")}&CveProyecto={e.Row.DBCampo("CveProyectoFiltro")}&CveSubProyecto={e.Row.DBCampo("CveSubProyectoFiltro")}&CveTipoGasto={e.Row.DBCampo("CveTipoGastoFiltro")}&Agrupador={e.Row.DBCampo("AgrupadorFiltro")}&Mensual={False}&EsProyecto={EsProyecto}&FechaFin={FechaFin}&FechaInicio={FechaInicio}" Dim Liga = $"/Contratos/RepPresupuestosDetalle.aspx?&CveAgrupador={CveAgrupador}&CveClasificacion={e.Row.DBCampo("CveClasificacionFiltro")}&CveConceptoContableNom={e.Row.DBCampo("CveConceptoContableNomFiltro")}&CveProyecto={e.Row.DBCampo("CveProyectoFiltro")}&CveSubProyecto={e.Row.DBCampo("CveSubProyectoFiltro")}&CveTipoGasto={e.Row.DBCampo("CveTipoGastoFiltro")}&Agrupador={e.Row.DBCampo("AgrupadorFiltro")}&Mensual={False}&EsProyecto={EsProyecto}&FechaFin={FechaFin}&FechaInicio={FechaInicio}"
e.Row.Cells(0).Text = "<a class=" + "" + Css + "" + " href=" + "" + Liga + "" + ">" + e.Row.Cells(0).Text + "</a>" e.Row.Cells(0).Text = "<a class=" + "" + Css + "" + " href=" + "" + Liga + "" + ">" + e.Row.Cells(0).Text + "</a>"
End If End If
End If End If
End Sub End Sub
#End Region #End Region
Protected Sub ChkMensual_CheckedChanged(sender As Object, e As EventArgs) Handles ChkMensual.CheckedChanged Protected Sub ChkMensual_CheckedChanged(sender As Object, e As EventArgs) Handles ChkMensual.CheckedChanged
DivRepDatos.Visible = Not ChkMensual.Checked DivRepDatos.Visible = Not ChkMensual.Checked
@@ -492,7 +497,7 @@ Partial Class Contratos_RepPresupuestos
Dim FechaFin = e.Row.DBCampo("FechaFFiltro").ToDate.ToShortDateString Dim FechaFin = e.Row.DBCampo("FechaFFiltro").ToDate.ToShortDateString
Dim FechaInicio = e.Row.DBCampo("FechaIFiltro").ToDate.ToShortDateString Dim FechaInicio = e.Row.DBCampo("FechaIFiltro").ToDate.ToShortDateString
Dim Css = "Texto" Dim Css = "Texto"
Dim Liga = $"/Contratos/RepPresupuestosDetalle.aspx?&CveAgrupador={CveAgrupador}&CveClasificacion={e.Row.DBCampo("CveClasificacionFiltro")}&CveProyecto={e.Row.DBCampo("CveProyectoFiltro")}&CveSubProyecto={e.Row.DBCampo("CveSubProyectoFiltro")}&CveTipoGasto={e.Row.DBCampo("CveTipoGastoFiltro")}&Agrupador={e.Row.DBCampo("AgrupadorFiltro")}&Mensual={True}&EsProyecto={EsProyecto}&FechaFin={FechaFin}&FechaInicio={FechaInicio}" Dim Liga = $"/Contratos/RepPresupuestosDetalle.aspx?&CveAgrupador={CveAgrupador}&CveClasificacion={e.Row.DBCampo("CveClasificacionFiltro")}&CveConceptoContableNom={e.Row.DBCampo("CveConceptoContableNomFiltro")}&CveProyecto={e.Row.DBCampo("CveProyectoFiltro")}&CveSubProyecto={e.Row.DBCampo("CveSubProyectoFiltro")}&CveTipoGasto={e.Row.DBCampo("CveTipoGastoFiltro")}&Agrupador={e.Row.DBCampo("AgrupadorFiltro")}&Mensual={True}&EsProyecto={EsProyecto}&FechaFin={FechaFin}&FechaInicio={FechaInicio}"
e.Row.Cells(0).Text = "<a class=" + "" + Css + "" + " href=" + "" + Liga + "" + ">" + e.Row.Cells(0).Text + "</a>" e.Row.Cells(0).Text = "<a class=" + "" + Css + "" + " href=" + "" + Liga + "" + ">" + e.Row.Cells(0).Text + "</a>"
End If End If
Else Else
@@ -506,7 +511,7 @@ Partial Class Contratos_RepPresupuestos
Dim FechaFin = e.Row.DBCampo("FechaFFiltro").ToDate.ToShortDateString Dim FechaFin = e.Row.DBCampo("FechaFFiltro").ToDate.ToShortDateString
Dim FechaInicio = e.Row.DBCampo("FechaIFiltro").ToDate.ToShortDateString Dim FechaInicio = e.Row.DBCampo("FechaIFiltro").ToDate.ToShortDateString
Dim Css = "Texto" Dim Css = "Texto"
Dim Liga = $"/Contratos/RepPresupuestosDetalle.aspx?&CveAgrupador={CveAgrupador}&CveClasificacion={e.Row.DBCampo("CveClasificacionFiltro")}&CveProyecto={e.Row.DBCampo("CveProyectoFiltro")}&CveSubProyecto={e.Row.DBCampo("CveSubProyectoFiltro")}&CveTipoGasto={e.Row.DBCampo("CveTipoGastoFiltro")}&Agrupador={e.Row.DBCampo("AgrupadorFiltro")}&Mensual={True}&EsProyecto={EsProyecto}&FechaFin={FechaFin}&FechaInicio={FechaInicio}" Dim Liga = $"/Contratos/RepPresupuestosDetalle.aspx?&CveAgrupador={CveAgrupador}&CveClasificacion={e.Row.DBCampo("CveClasificacionFiltro")}&CveConceptoContableNom={e.Row.DBCampo("CveConceptoContableNomFiltro")}&CveProyecto={e.Row.DBCampo("CveProyectoFiltro")}&CveSubProyecto={e.Row.DBCampo("CveSubProyectoFiltro")}&CveTipoGasto={e.Row.DBCampo("CveTipoGastoFiltro")}&Agrupador={e.Row.DBCampo("AgrupadorFiltro")}&Mensual={True}&EsProyecto={EsProyecto}&FechaFin={FechaFin}&FechaInicio={FechaInicio}"
e.Row.Cells(0).Text = "<a class=" + "" + Css + "" + " href=" + "" + Liga + "" + ">" + e.Row.Cells(0).Text + "</a>" e.Row.Cells(0).Text = "<a class=" + "" + Css + "" + " href=" + "" + Liga + "" + ">" + e.Row.Cells(0).Text + "</a>"
End If End If
End If End If
@@ -515,8 +520,8 @@ Partial Class Contratos_RepPresupuestos
End Sub End Sub
Protected Sub DdlProyecto_SelectedIndexChanged(sender As Object, e As EventArgs) Protected Sub DdlProyecto_SelectedIndexChanged(sender As Object, e As EventArgs)
CargaSubProyecto() CargaSubProyecto()
End Sub End Sub
#Region " IMPRESION - NUEVO " #Region " IMPRESION - NUEVO "
Protected Sub ImgExcel_Click(sender As Object, e As System.EventArgs) Handles ImgExcel.Click Protected Sub ImgExcel_Click(sender As Object, e As System.EventArgs) Handles ImgExcel.Click
GenerarPDF("EXCEL") GenerarPDF("EXCEL")
@@ -555,7 +560,7 @@ Partial Class Contratos_RepPresupuestos
Alert("No hay datos consultados", TipoMensaje.MsgAdvertencia) Alert("No hay datos consultados", TipoMensaje.MsgAdvertencia)
End If End If
End Sub End Sub
#End Region #End Region
End Class End Class

View File

@@ -226,7 +226,7 @@
</div> </div>
<div class="col-md-1" style="max-width: 120px">Clasificacion:</div> <div class="col-md-1" style="max-width: 120px">Clasificacion:</div>
<div class="col-md-2"> <div class="col-md-2">
<asp:DropDownList ID="DdlClasificacion" DataTextField="Clasificacion" AppendDataBoundItems="true" DataValueField="CveClasificacion" Width="200px" runat="server" CssClass="form-control input-sm select2me"> <asp:DropDownList ID="DdlClasificacion" DataTextField="Agrupador" DataValueField="CveAgrupador" Width="200px" runat="server" CssClass="form-control input-sm select2me">
</asp:DropDownList> </asp:DropDownList>
</div> </div>
<div class="col-md-1" style="max-width: 120px">Tipo Gasto:</div> <div class="col-md-1" style="max-width: 120px">Tipo Gasto:</div>

View File

@@ -45,9 +45,14 @@ Partial Class Contratos_RepPresupuestosDetalle
TxtFiltrosFechaInicio.Text = $"01/09/{Now.Year - 1}" TxtFiltrosFechaInicio.Text = $"01/09/{Now.Year - 1}"
TxtFiltrosFechaFin.Text = $"31/08/{Now.Year}" TxtFiltrosFechaFin.Text = $"31/08/{Now.Year}"
DdlClasificacion.DataSource = GlobalDTClasificaciones(UsuarioActual.CveEmpresa) Dim dtAgrupador = (From dr In GlobalDTClasificaciones(UsuarioActual.CveEmpresa)
Select New With {.CveAgrupador = dr("CveClasificacion").ToString().ToEntero(), .Agrupador = dr("Clasificacion").ToString()}
).Union(From dr In GlobalDTContaConceptosContables(-1)
Select New With {.CveAgrupador = dr("CveConceptoContable").ToString().ToEntero(), .Agrupador = dr("ConceptoContable").ToString()}).QueryToDataTable(True)
DdlClasificacion.DataSource = dtAgrupador
DdlClasificacion.DataBind()
DdlClasificacion.Items.Insert(0, New ListItem("Todas", "-1")) DdlClasificacion.Items.Insert(0, New ListItem("Todas", "-1"))
DdlClasificacion.DataBind()
DdlTipoGasto.DataSource = GlobalDTTiposGastos(UsuarioActual.CveEmpresa) DdlTipoGasto.DataSource = GlobalDTTiposGastos(UsuarioActual.CveEmpresa)
DdlTipoGasto.DataBind() DdlTipoGasto.DataBind()
@@ -181,7 +186,7 @@ Partial Class Contratos_RepPresupuestosDetalle
EsProyecto = True EsProyecto = True
End If End If
Dim Css = "Texto" Dim Css = "Texto"
Dim Liga = $"/Contratos/RepPresupuestosDetalleCompras.aspx?&CveAgrupador={CveAgrupador}&CveClasificacion={e.Row.DBCampo("CveClasificacionFiltro")}&CveProyecto={e.Row.DBCampo("CveProyectoFiltro")}&CveSubProyecto={e.Row.DBCampo("CveSubProyectoFiltro")}&CveTipoGasto={e.Row.DBCampo("CveTipoGastoFiltro")}&Agrupador={e.Row.DBCampo("AgrupadorFiltro")}&Mensual={False}&EsProyecto={EsProyecto}&FechaFin={FechaFin}&FechaInicio={FechaInicio}" Dim Liga = $"/Contratos/RepPresupuestosDetalleCompras.aspx?&CveAgrupador={CveAgrupador}&CveClasificacion={e.Row.DBCampo("CveClasificacionFiltro")}&CveConceptoContableNom={e.Row.DBCampo("CveConceptoContableNomFiltro")}&CveProyecto={e.Row.DBCampo("CveProyectoFiltro")}&CveSubProyecto={e.Row.DBCampo("CveSubProyectoFiltro")}&CveTipoGasto={e.Row.DBCampo("CveTipoGastoFiltro")}&Agrupador={e.Row.DBCampo("AgrupadorFiltro")}&Mensual={False}&EsProyecto={EsProyecto}&FechaFin={FechaFin}&FechaInicio={FechaInicio}"
e.Row.Cells(0).Text = "<a class=" + "" + Css + "" + " href=" + "" + Liga + "" + ">" + e.Row.Cells(0).Text + "</a>" e.Row.Cells(0).Text = "<a class=" + "" + Css + "" + " href=" + "" + Liga + "" + ">" + e.Row.Cells(0).Text + "</a>"
End If End If
End If End If
@@ -302,7 +307,7 @@ Partial Class Contratos_RepPresupuestosDetalle
EsProyecto = True EsProyecto = True
End If End If
Dim Css = "Texto" Dim Css = "Texto"
Dim Liga = $"/Contratos/RepPresupuestosDetalleCompras.aspx?&CveAgrupador={CveAgrupador}&CveClasificacion={e.Row.DBCampo("CveClasificacionFiltro")}&CveProyecto={e.Row.DBCampo("CveProyectoFiltro")}&CveSubProyecto={e.Row.DBCampo("CveSubProyectoFiltro")}&CveTipoGasto={e.Row.DBCampo("CveTipoGastoFiltro")}&Agrupador={e.Row.DBCampo("AgrupadorFiltro")}&Mensual={False}&EsProyecto={EsProyecto}&FechaFin={FechaFin}&FechaInicio={FechaInicio}" Dim Liga = $"/Contratos/RepPresupuestosDetalleCompras.aspx?&CveAgrupador={CveAgrupador}&CveClasificacion={e.Row.DBCampo("CveClasificacionFiltro")}&CveConceptoContableNom={e.Row.DBCampo("CveConceptoContableNomFiltro")}&CveProyecto={e.Row.DBCampo("CveProyectoFiltro")}&CveSubProyecto={e.Row.DBCampo("CveSubProyectoFiltro")}&CveTipoGasto={e.Row.DBCampo("CveTipoGastoFiltro")}&Agrupador={e.Row.DBCampo("AgrupadorFiltro")}&Mensual={False}&EsProyecto={EsProyecto}&FechaFin={FechaFin}&FechaInicio={FechaInicio}"
e.Row.Cells(0).Text = "<a class=" + "" + Css + "" + " href=" + "" + Liga + "" + ">" + e.Row.Cells(0).Text + "</a>" e.Row.Cells(0).Text = "<a class=" + "" + Css + "" + " href=" + "" + Liga + "" + ">" + e.Row.Cells(0).Text + "</a>"
End If End If
End If End If

View File

@@ -346,8 +346,9 @@
<Value>=Parameters!QR.Value</Value> <Value>=Parameters!QR.Value</Value>
<Sizing>FitProportional</Sizing> <Sizing>FitProportional</Sizing>
<Top>0.04167in</Top> <Top>0.04167in</Top>
<Left>0.04352in</Left>
<Height>1.37377in</Height> <Height>1.37377in</Height>
<Width>1.7524in</Width> <Width>1.73969in</Width>
<Style> <Style>
<Border> <Border>
<Style>None</Style> <Style>None</Style>
@@ -489,7 +490,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox88</rd:DefaultName> <rd:DefaultName>Textbox88</rd:DefaultName>
<Top>0.07057cm</Top> <Top>0.07057cm</Top>
<Left>4.6275cm</Left> <Left>4.54701cm</Left>
<Height>2.25463cm</Height> <Height>2.25463cm</Height>
<Width>16.27211cm</Width> <Width>16.27211cm</Width>
<ZIndex>1</ZIndex> <ZIndex>1</ZIndex>
@@ -506,9 +507,9 @@
</ReportItems> </ReportItems>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
<Top>6.61175in</Top> <Top>6.61175in</Top>
<Left>0.06752in</Left> <Left>0.09419in</Left>
<Height>1.42169in</Height> <Height>1.42169in</Height>
<Width>8.23953in</Width> <Width>8.20784in</Width>
<Style> <Style>
<Border> <Border>
<Style>None</Style> <Style>None</Style>
@@ -519,34 +520,34 @@
<TablixBody> <TablixBody>
<TablixColumns> <TablixColumns>
<TablixColumn> <TablixColumn>
<Width>0.54014in</Width> <Width>0.5387in</Width>
</TablixColumn> </TablixColumn>
<TablixColumn> <TablixColumn>
<Width>0.59111in</Width> <Width>0.58967in</Width>
</TablixColumn> </TablixColumn>
<TablixColumn> <TablixColumn>
<Width>0.80359in</Width> <Width>0.80215in</Width>
</TablixColumn> </TablixColumn>
<TablixColumn> <TablixColumn>
<Width>0.66404in</Width> <Width>0.64011in</Width>
</TablixColumn> </TablixColumn>
<TablixColumn> <TablixColumn>
<Width>2.11562in</Width> <Width>2.06124in</Width>
</TablixColumn> </TablixColumn>
<TablixColumn> <TablixColumn>
<Width>0.6863in</Width> <Width>0.68486in</Width>
</TablixColumn> </TablixColumn>
<TablixColumn> <TablixColumn>
<Width>0.69852in</Width> <Width>0.69708in</Width>
</TablixColumn> </TablixColumn>
<TablixColumn> <TablixColumn>
<Width>0.6403in</Width> <Width>0.63886in</Width>
</TablixColumn> </TablixColumn>
<TablixColumn> <TablixColumn>
<Width>0.67895in</Width> <Width>0.67751in</Width>
</TablixColumn> </TablixColumn>
<TablixColumn> <TablixColumn>
<Width>0.80447in</Width> <Width>0.80303in</Width>
</TablixColumn> </TablixColumn>
</TablixColumns> </TablixColumns>
<TablixRows> <TablixRows>
@@ -1384,9 +1385,9 @@
</TablixRowHierarchy> </TablixRowHierarchy>
<DataSetName>DsOC</DataSetName> <DataSetName>DsOC</DataSetName>
<Top>1.75278in</Top> <Top>1.75278in</Top>
<Left>0.09836in</Left> <Left>0.13771in</Left>
<Height>0.36206in</Height> <Height>0.36206in</Height>
<Width>8.22304in</Width> <Width>8.13325in</Width>
<ZIndex>1</ZIndex> <ZIndex>1</ZIndex>
<Style> <Style>
<Border> <Border>
@@ -1410,9 +1411,9 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox5</rd:DefaultName> <rd:DefaultName>Textbox5</rd:DefaultName>
<Top>9.07761cm</Top> <Top>9.07761cm</Top>
<Left>0.28014cm</Left> <Left>0.34979cm</Left>
<Height>0.05496cm</Height> <Height>0.05496cm</Height>
<Width>20.88652cm</Width> <Width>20.64332cm</Width>
<ZIndex>2</ZIndex> <ZIndex>2</ZIndex>
<Style> <Style>
<Border> <Border>
@@ -1472,7 +1473,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox1</rd:DefaultName> <rd:DefaultName>Textbox1</rd:DefaultName>
<Top>9.21872cm</Top> <Top>9.21872cm</Top>
<Left>1.10521cm</Left> <Left>1.04171cm</Left>
<Height>0.47226cm</Height> <Height>0.47226cm</Height>
<Width>12.31061cm</Width> <Width>12.31061cm</Width>
<ZIndex>3</ZIndex> <ZIndex>3</ZIndex>
@@ -1491,7 +1492,7 @@
<Value>ID2</Value> <Value>ID2</Value>
<Sizing>FitProportional</Sizing> <Sizing>FitProportional</Sizing>
<Top>0.15875cm</Top> <Top>0.15875cm</Top>
<Left>1.15361cm</Left> <Left>1.09011cm</Left>
<Height>2.2881cm</Height> <Height>2.2881cm</Height>
<Width>2.75323cm</Width> <Width>2.75323cm</Width>
<ZIndex>4</ZIndex> <ZIndex>4</ZIndex>
@@ -1571,7 +1572,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName> <rd:DefaultName>Textbox4</rd:DefaultName>
<Left>4.32565cm</Left> <Left>4.26215cm</Left>
<Height>1.93cm</Height> <Height>1.93cm</Height>
<Width>7.93893cm</Width> <Width>7.93893cm</Width>
<ZIndex>5</ZIndex> <ZIndex>5</ZIndex>
@@ -1651,7 +1652,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName> <rd:DefaultName>Textbox4</rd:DefaultName>
<Left>12.68838cm</Left> <Left>12.62488cm</Left>
<Height>2.55125cm</Height> <Height>2.55125cm</Height>
<Width>5.11312cm</Width> <Width>5.11312cm</Width>
<ZIndex>6</ZIndex> <ZIndex>6</ZIndex>
@@ -1685,7 +1686,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox8</rd:DefaultName> <rd:DefaultName>Textbox8</rd:DefaultName>
<Left>18.23008cm</Left> <Left>18.13483cm</Left>
<Height>0.96018cm</Height> <Height>0.96018cm</Height>
<Width>2.79101cm</Width> <Width>2.79101cm</Width>
<ZIndex>7</ZIndex> <ZIndex>7</ZIndex>
@@ -1721,7 +1722,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox8</rd:DefaultName> <rd:DefaultName>Textbox8</rd:DefaultName>
<Top>0.97782cm</Top> <Top>0.97782cm</Top>
<Left>18.23008cm</Left> <Left>18.13483cm</Left>
<Height>0.6cm</Height> <Height>0.6cm</Height>
<Width>2.79101cm</Width> <Width>2.79101cm</Width>
<ZIndex>8</ZIndex> <ZIndex>8</ZIndex>
@@ -1772,7 +1773,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox8</rd:DefaultName> <rd:DefaultName>Textbox8</rd:DefaultName>
<Top>1.57782cm</Top> <Top>1.57782cm</Top>
<Left>18.23008cm</Left> <Left>18.13483cm</Left>
<Height>0.86903cm</Height> <Height>0.86903cm</Height>
<Width>2.79101cm</Width> <Width>2.79101cm</Width>
<ZIndex>9</ZIndex> <ZIndex>9</ZIndex>
@@ -1862,10 +1863,10 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName> <rd:DefaultName>Textbox4</rd:DefaultName>
<Top>2.47332cm</Top> <Top>2.4839cm</Top>
<Left>0.28014cm</Left> <Left>0.34979cm</Left>
<Height>1.09007cm</Height> <Height>1.09007cm</Height>
<Width>9.71199cm</Width> <Width>9.64071cm</Width>
<ZIndex>10</ZIndex> <ZIndex>10</ZIndex>
<Style> <Style>
<Border> <Border>
@@ -1940,9 +1941,9 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName> <rd:DefaultName>Textbox4</rd:DefaultName>
<Top>2.45319cm</Top> <Top>2.45319cm</Top>
<Left>10.09281cm</Left> <Left>10.06106cm</Left>
<Height>1.12078cm</Height> <Height>1.12078cm</Height>
<Width>10.9783cm</Width> <Width>10.82019cm</Width>
<ZIndex>11</ZIndex> <ZIndex>11</ZIndex>
<Style> <Style>
<Border> <Border>
@@ -2140,9 +2141,9 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName> <rd:DefaultName>Textbox4</rd:DefaultName>
<Top>3.56339cm</Top> <Top>3.56339cm</Top>
<Left>0.25136cm</Left> <Left>0.34979cm</Left>
<Height>0.74611cm</Height> <Height>0.74611cm</Height>
<Width>13.82025cm</Width> <Width>13.69007cm</Width>
<ZIndex>12</ZIndex> <ZIndex>12</ZIndex>
<Style> <Style>
<Border> <Border>
@@ -2173,7 +2174,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox32</rd:DefaultName> <rd:DefaultName>Textbox32</rd:DefaultName>
<Top>3.64071cm</Top> <Top>3.64071cm</Top>
<Left>14.07729cm</Left> <Left>14.04554cm</Left>
<Height>0.57354cm</Height> <Height>0.57354cm</Height>
<Width>2.90753cm</Width> <Width>2.90753cm</Width>
<ZIndex>13</ZIndex> <ZIndex>13</ZIndex>
@@ -2211,7 +2212,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName> <rd:DefaultName>Textbox4</rd:DefaultName>
<Top>5.4306cm</Top> <Top>5.4306cm</Top>
<Left>1.74571cm</Left> <Left>1.68221cm</Left>
<Height>1.05328cm</Height> <Height>1.05328cm</Height>
<Width>17.71415cm</Width> <Width>17.71415cm</Width>
<ZIndex>14</ZIndex> <ZIndex>14</ZIndex>
@@ -2244,7 +2245,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox5</rd:DefaultName> <rd:DefaultName>Textbox5</rd:DefaultName>
<Top>14.04286cm</Top> <Top>14.04286cm</Top>
<Left>0.30274cm</Left> <Left>0.23924cm</Left>
<Height>0.05496cm</Height> <Height>0.05496cm</Height>
<Width>20.88652cm</Width> <Width>20.88652cm</Width>
<ZIndex>15</ZIndex> <ZIndex>15</ZIndex>
@@ -2298,9 +2299,9 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox32</rd:DefaultName> <rd:DefaultName>Textbox32</rd:DefaultName>
<Top>3.57397cm</Top> <Top>3.57397cm</Top>
<Left>17.11694cm</Left> <Left>17.05344cm</Left>
<Height>0.64028cm</Height> <Height>0.64028cm</Height>
<Width>3.90165cm</Width> <Width>3.82781cm</Width>
<ZIndex>16</ZIndex> <ZIndex>16</ZIndex>
<Style> <Style>
<Border> <Border>
@@ -2465,9 +2466,9 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName> <rd:DefaultName>Textbox4</rd:DefaultName>
<Top>14.20365cm</Top> <Top>14.20365cm</Top>
<Left>0.21674cm</Left> <Left>0.23068cm</Left>
<Height>2.44366cm</Height> <Height>2.44366cm</Height>
<Width>15.51057cm</Width> <Width>15.43864cm</Width>
<ZIndex>17</ZIndex> <ZIndex>17</ZIndex>
<Style> <Style>
<Border> <Border>
@@ -2500,7 +2501,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox19</rd:DefaultName> <rd:DefaultName>Textbox19</rd:DefaultName>
<Top>5.5781in</Top> <Top>5.5781in</Top>
<Left>6.237in</Left> <Left>6.212in</Left>
<Height>0.17608in</Height> <Height>0.17608in</Height>
<Width>0.94607in</Width> <Width>0.94607in</Width>
<ZIndex>18</ZIndex> <ZIndex>18</ZIndex>
@@ -2535,7 +2536,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox19</rd:DefaultName> <rd:DefaultName>Textbox19</rd:DefaultName>
<Top>5.73307in</Top> <Top>5.73307in</Top>
<Left>6.23699in</Left> <Left>6.21199in</Left>
<Height>0.17608in</Height> <Height>0.17608in</Height>
<Width>0.94607in</Width> <Width>0.94607in</Width>
<ZIndex>19</ZIndex> <ZIndex>19</ZIndex>
@@ -2570,7 +2571,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox19</rd:DefaultName> <rd:DefaultName>Textbox19</rd:DefaultName>
<Top>5.89456in</Top> <Top>5.89456in</Top>
<Left>6.23699in</Left> <Left>6.21199in</Left>
<Height>0.17608in</Height> <Height>0.17608in</Height>
<Width>0.94607in</Width> <Width>0.94607in</Width>
<ZIndex>20</ZIndex> <ZIndex>20</ZIndex>
@@ -2605,7 +2606,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox19</rd:DefaultName> <rd:DefaultName>Textbox19</rd:DefaultName>
<Top>6.06331in</Top> <Top>6.06331in</Top>
<Left>6.24741in</Left> <Left>6.22241in</Left>
<Height>0.17608in</Height> <Height>0.17608in</Height>
<Width>0.94607in</Width> <Width>0.94607in</Width>
<ZIndex>21</ZIndex> <ZIndex>21</ZIndex>
@@ -2641,7 +2642,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox19</rd:DefaultName> <rd:DefaultName>Textbox19</rd:DefaultName>
<Top>6.22894in</Top> <Top>6.22894in</Top>
<Left>6.25783in</Left> <Left>6.23283in</Left>
<Height>0.19596in</Height> <Height>0.19596in</Height>
<Width>0.94607in</Width> <Width>0.94607in</Width>
<ZIndex>22</ZIndex> <ZIndex>22</ZIndex>
@@ -2677,7 +2678,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox42</rd:DefaultName> <rd:DefaultName>Textbox42</rd:DefaultName>
<Top>5.5781in</Top> <Top>5.5781in</Top>
<Left>7.18307in</Left> <Left>7.15807in</Left>
<Height>0.17608in</Height> <Height>0.17608in</Height>
<Width>0.98426in</Width> <Width>0.98426in</Width>
<ZIndex>23</ZIndex> <ZIndex>23</ZIndex>
@@ -2712,7 +2713,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox42</rd:DefaultName> <rd:DefaultName>Textbox42</rd:DefaultName>
<Top>5.73307in</Top> <Top>5.73307in</Top>
<Left>7.18307in</Left> <Left>7.15807in</Left>
<Height>0.17608in</Height> <Height>0.17608in</Height>
<Width>0.98425in</Width> <Width>0.98425in</Width>
<ZIndex>24</ZIndex> <ZIndex>24</ZIndex>
@@ -2747,7 +2748,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox42</rd:DefaultName> <rd:DefaultName>Textbox42</rd:DefaultName>
<Top>5.89456in</Top> <Top>5.89456in</Top>
<Left>7.19349in</Left> <Left>7.16849in</Left>
<Height>0.17608in</Height> <Height>0.17608in</Height>
<Width>0.98425in</Width> <Width>0.98425in</Width>
<ZIndex>25</ZIndex> <ZIndex>25</ZIndex>
@@ -2783,7 +2784,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox42</rd:DefaultName> <rd:DefaultName>Textbox42</rd:DefaultName>
<Top>6.06331in</Top> <Top>6.06331in</Top>
<Left>7.19349in</Left> <Left>7.16849in</Left>
<Height>0.17608in</Height> <Height>0.17608in</Height>
<Width>0.98425in</Width> <Width>0.98425in</Width>
<ZIndex>26</ZIndex> <ZIndex>26</ZIndex>
@@ -2819,7 +2820,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox42</rd:DefaultName> <rd:DefaultName>Textbox42</rd:DefaultName>
<Top>6.22894in</Top> <Top>6.22894in</Top>
<Left>7.20391in</Left> <Left>7.17891in</Left>
<Height>0.19596in</Height> <Height>0.19596in</Height>
<Width>0.98425in</Width> <Width>0.98425in</Width>
<ZIndex>27</ZIndex> <ZIndex>27</ZIndex>
@@ -2854,7 +2855,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox90</rd:DefaultName> <rd:DefaultName>Textbox90</rd:DefaultName>
<Top>1.77125cm</Top> <Top>1.77125cm</Top>
<Left>7.90108cm</Left> <Left>7.83758cm</Left>
<Height>0.78cm</Height> <Height>0.78cm</Height>
<Width>4.3635cm</Width> <Width>4.3635cm</Width>
<ZIndex>28</ZIndex> <ZIndex>28</ZIndex>
@@ -2884,9 +2885,9 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox5</rd:DefaultName> <rd:DefaultName>Textbox5</rd:DefaultName>
<Top>16.71787cm</Top> <Top>16.71787cm</Top>
<Left>0.1587cm</Left> <Left>0.23924cm</Left>
<Height>0.05496cm</Height> <Height>0.05496cm</Height>
<Width>20.88652cm</Width> <Width>20.75387cm</Width>
<ZIndex>29</ZIndex> <ZIndex>29</ZIndex>
<Style> <Style>
<Border> <Border>
@@ -2931,7 +2932,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox3</rd:DefaultName> <rd:DefaultName>Textbox3</rd:DefaultName>
<Top>6.48388cm</Top> <Top>6.48388cm</Top>
<Left>1.15361cm</Left> <Left>1.05836cm</Left>
<Height>1.32415cm</Height> <Height>1.32415cm</Height>
<Width>19.15078cm</Width> <Width>19.15078cm</Width>
<ZIndex>30</ZIndex> <ZIndex>30</ZIndex>
@@ -2964,9 +2965,9 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox5</rd:DefaultName> <rd:DefaultName>Textbox5</rd:DefaultName>
<Top>20.40466cm</Top> <Top>20.40466cm</Top>
<Left>0.15401cm</Left> <Left>0.25268cm</Left>
<Height>0.05496cm</Height> <Height>0.05496cm</Height>
<Width>20.88652cm</Width> <Width>20.6857cm</Width>
<ZIndex>31</ZIndex> <ZIndex>31</ZIndex>
<Style> <Style>
<Border> <Border>
@@ -3004,7 +3005,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox15</rd:DefaultName> <rd:DefaultName>Textbox15</rd:DefaultName>
<Top>7.98442cm</Top> <Top>7.98442cm</Top>
<Left>1.15361cm</Left> <Left>1.04171cm</Left>
<Height>1.05791cm</Height> <Height>1.05791cm</Height>
<Width>19.15078cm</Width> <Width>19.15078cm</Width>
<ZIndex>32</ZIndex> <ZIndex>32</ZIndex>
@@ -3504,9 +3505,9 @@
</ReportItems> </ReportItems>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
<Top>20.4949cm</Top> <Top>20.4949cm</Top>
<Left>0.16383cm</Left> <Left>0.15875cm</Left>
<Height>2.26835cm</Height> <Height>2.26835cm</Height>
<Width>20.89818cm</Width> <Width>20.98078cm</Width>
<ZIndex>33</ZIndex> <ZIndex>33</ZIndex>
<Visibility> <Visibility>
<Hidden>=Microsoft.VisualBasic.Interaction.IIF(First(Fields!SerieFolio.Value, "DataSet4") &lt;&gt; "", False, True)</Hidden> <Hidden>=Microsoft.VisualBasic.Interaction.IIF(First(Fields!SerieFolio.Value, "DataSet4") &lt;&gt; "", False, True)</Hidden>
@@ -3556,7 +3557,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox1</rd:DefaultName> <rd:DefaultName>Textbox1</rd:DefaultName>
<Top>9.14816cm</Top> <Top>9.14816cm</Top>
<Left>13.59221cm</Left> <Left>13.52871cm</Left>
<Height>0.54281cm</Height> <Height>0.54281cm</Height>
<Width>7.38429cm</Width> <Width>7.38429cm</Width>
<ZIndex>34</ZIndex> <ZIndex>34</ZIndex>
@@ -3578,9 +3579,9 @@
<Value>logoLlantas21</Value> <Value>logoLlantas21</Value>
<Sizing>FitProportional</Sizing> <Sizing>FitProportional</Sizing>
<Top>13.24423cm</Top> <Top>13.24423cm</Top>
<Left>0.25908cm</Left> <Left>0.34979cm</Left>
<Height>0.85359cm</Height> <Height>0.85359cm</Height>
<Width>20.86494cm</Width> <Width>20.65846cm</Width>
<ZIndex>35</ZIndex> <ZIndex>35</ZIndex>
<Style> <Style>
<Border> <Border>
@@ -3613,9 +3614,9 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName> <rd:DefaultName>Textbox4</rd:DefaultName>
<Top>9.73684cm</Top> <Top>9.73684cm</Top>
<Left>0.20617cm</Left> <Left>0.23924cm</Left>
<Height>0.44183cm</Height> <Height>0.44183cm</Height>
<Width>20.83436cm</Width> <Width>20.69914cm</Width>
<ZIndex>36</ZIndex> <ZIndex>36</ZIndex>
<Style> <Style>
<Border> <Border>
@@ -3651,7 +3652,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox60</rd:DefaultName> <rd:DefaultName>Textbox60</rd:DefaultName>
<Top>0cm</Top> <Top>0cm</Top>
<Left>0.01593cm</Left> <Left>0cm</Left>
<Height>0.58237cm</Height> <Height>0.58237cm</Height>
<Width>20.96485cm</Width> <Width>20.96485cm</Width>
<Style> <Style>
@@ -3707,7 +3708,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox60</rd:DefaultName> <rd:DefaultName>Textbox60</rd:DefaultName>
<Top>0cm</Top> <Top>0cm</Top>
<Left>0.0506cm</Left> <Left>0.16167cm</Left>
<Height>1.49135cm</Height> <Height>1.49135cm</Height>
<Width>5.37042cm</Width> <Width>5.37042cm</Width>
<ZIndex>1</ZIndex> <ZIndex>1</ZIndex>
@@ -3800,7 +3801,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox60</rd:DefaultName> <rd:DefaultName>Textbox60</rd:DefaultName>
<Top>0.6882cm</Top> <Top>0.6882cm</Top>
<Left>7.25125cm</Left> <Left>7.23532cm</Left>
<Height>1.98084cm</Height> <Height>1.98084cm</Height>
<Width>6.56105cm</Width> <Width>6.56105cm</Width>
<ZIndex>2</ZIndex> <ZIndex>2</ZIndex>
@@ -3839,7 +3840,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox60</rd:DefaultName> <rd:DefaultName>Textbox60</rd:DefaultName>
<Top>0cm</Top> <Top>0cm</Top>
<Left>14.64769cm</Left> <Left>14.50476cm</Left>
<Height>1.46939cm</Height> <Height>1.46939cm</Height>
<Width>6.32076cm</Width> <Width>6.32076cm</Width>
<ZIndex>3</ZIndex> <ZIndex>3</ZIndex>
@@ -3859,7 +3860,7 @@
<MIMEType>image/png</MIMEType> <MIMEType>image/png</MIMEType>
<Sizing>FitProportional</Sizing> <Sizing>FitProportional</Sizing>
<Top>0.43341in</Top> <Top>0.43341in</Top>
<Left>6.67293in</Left> <Left>6.61666in</Left>
<Height>0.6035in</Height> <Height>0.6035in</Height>
<Width>0.78275in</Width> <Width>0.78275in</Width>
<ZIndex>4</ZIndex> <ZIndex>4</ZIndex>
@@ -3874,7 +3875,7 @@
<Value>ID3</Value> <Value>ID3</Value>
<Sizing>FitProportional</Sizing> <Sizing>FitProportional</Sizing>
<Top>1.7033cm</Top> <Top>1.7033cm</Top>
<Left>0.09579cm</Left> <Left>0.17511cm</Left>
<Height>0.93046cm</Height> <Height>0.93046cm</Height>
<Width>5.37042cm</Width> <Width>5.37042cm</Width>
<ZIndex>5</ZIndex> <ZIndex>5</ZIndex>
@@ -3887,9 +3888,9 @@
</ReportItems> </ReportItems>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
<Top>10.24923cm</Top> <Top>10.24923cm</Top>
<Left>0.15557cm</Left> <Left>0.17468cm</Left>
<Height>2.92445cm</Height> <Height>2.92445cm</Height>
<Width>20.98078cm</Width> <Width>20.96485cm</Width>
<ZIndex>37</ZIndex> <ZIndex>37</ZIndex>
<Style> <Style>
<Border> <Border>
@@ -3898,10 +3899,10 @@
</Style> </Style>
</Rectangle> </Rectangle>
</ReportItems> </ReportItems>
<Height>22.76324cm</Height> <Height>22.76325cm</Height>
<Style /> <Style />
</Body> </Body>
<Width>21.18926cm</Width> <Width>21.13953cm</Width>
<Page> <Page>
<PageFooter> <PageFooter>
<Height>0.52387cm</Height> <Height>0.52387cm</Height>
@@ -3939,8 +3940,8 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox8</rd:DefaultName> <rd:DefaultName>Textbox8</rd:DefaultName>
<Top>0.00882cm</Top> <Top>0.00881cm</Top>
<Left>0.12568cm</Left> <Left>0.25268cm</Left>
<Height>0.46771cm</Height> <Height>0.46771cm</Height>
<Width>6.86562cm</Width> <Width>6.86562cm</Width>
<Style> <Style>
@@ -3984,8 +3985,8 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox8</rd:DefaultName> <rd:DefaultName>Textbox8</rd:DefaultName>
<Top>0.01927cm</Top> <Top>0.01926cm</Top>
<Left>9.07541cm</Left> <Left>9.20241cm</Left>
<Height>0.46771cm</Height> <Height>0.46771cm</Height>
<Width>6.86562cm</Width> <Width>6.86562cm</Width>
<ZIndex>1</ZIndex> <ZIndex>1</ZIndex>
@@ -4020,8 +4021,8 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox35</rd:DefaultName> <rd:DefaultName>Textbox35</rd:DefaultName>
<Top>0.00882cm</Top> <Top>0.00881cm</Top>
<Left>18.54098cm</Left> <Left>18.57273cm</Left>
<Height>0.50624cm</Height> <Height>0.50624cm</Height>
<Width>2.5cm</Width> <Width>2.5cm</Width>
<ZIndex>2</ZIndex> <ZIndex>2</ZIndex>
@@ -4044,8 +4045,8 @@
</PageFooter> </PageFooter>
<PageHeight>27.94cm</PageHeight> <PageHeight>27.94cm</PageHeight>
<PageWidth>21.59cm</PageWidth> <PageWidth>21.59cm</PageWidth>
<LeftMargin>0cm</LeftMargin> <LeftMargin>0.2cm</LeftMargin>
<RightMargin>0cm</RightMargin> <RightMargin>0.24cm</RightMargin>
<TopMargin>0.5cm</TopMargin> <TopMargin>0.5cm</TopMargin>
<BottomMargin>0.5cm</BottomMargin> <BottomMargin>0.5cm</BottomMargin>
<ColumnSpacing>1.27cm</ColumnSpacing> <ColumnSpacing>1.27cm</ColumnSpacing>

View File

@@ -466,7 +466,7 @@
<asp:TemplateField ItemStyle-Width="93px" ItemStyle-HorizontalAlign ="Right"> <asp:TemplateField ItemStyle-Width="93px" ItemStyle-HorizontalAlign ="Right">
<ItemTemplate> <ItemTemplate>
<asp:Literal runat="server" Text='<%# Eval("Cantidad") %>' ID="ltlCantidad"></asp:Literal> <asp:Literal runat="server" Text='<%# Eval("Cantidad") %>' ID="ltlCantidad"></asp:Literal>
<asp:TextBox runat="server" ID="TxtCantidad2" Text='<%# Eval("Cantidad", "{0:###,###,###,##0.##}") %>' Width="50px" Visible="false"></asp:TextBox> <asp:TextBox runat="server" ID="TxtCantidad2" Text='<%# Eval("Cantidad", "{0:###,###,###,##0.######}") %>' Width="50px" Visible="false"></asp:TextBox>
<ajax:FilteredTextBoxExtender ID="SoloNumerosCantidadF" runat="server" TargetControlID="TxtCantidad2" FilterType="Numbers,custom" ValidChars="." /> <ajax:FilteredTextBoxExtender ID="SoloNumerosCantidadF" runat="server" TargetControlID="TxtCantidad2" FilterType="Numbers,custom" ValidChars="." />
</ItemTemplate> </ItemTemplate>
</asp:TemplateField> </asp:TemplateField>

View File

@@ -972,7 +972,7 @@ Partial Class Inventarios_TraspasoAlmacen
If Existencia < 0 Then If Existencia < 0 Then
ErrorExistencia = True ErrorExistencia = True
TextoExistencia.AppendFormat(" {1},", gvr.DataKey("No"), gvr.DataKey("CvePS"), If(gvr.DataKey("Serie").ToString().Trim().Length > 0, $" &nbsp; Serie: <b>{gvr.DataKey("Serie")}</b>", ""), (Existencia + gvr.FCTextBox("TxtCantidad2").Text.ToEntero), MsgAdicional) TextoExistencia.AppendFormat("-<b>#{0}</b> {1} {2} &nbsp; Existencia: <b>{3}</b>{4}<br/>", gvr.DataKey("No"), gvr.DataKey("PS"), If(gvr.DataKey("Serie").ToString().Trim().Length > 0, $" &nbsp; Serie: <b>{gvr.DataKey("Serie")}</b>", ""), (Existencia + gvr.FCTextBox("TxtCantidad2").Text.ToDecimal()), MsgAdicional)
End If End If
Next Next