192 lines
13 KiB
Plaintext
192 lines
13 KiB
Plaintext
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepPresupuestoEgresosMensual.aspx.vb" Inherits="AC_RepPresupuestoEgresosMensual" %>
|
|
|
|
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="HB" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content4" ContentPlaceHolderID="E" runat="Server">
|
|
Estado del Ejercicio del Presupuesto de Egresos - Mensual
|
|
</asp:Content>
|
|
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
|
|
<asp:ImageButton ID="ImgExcel" runat="server" ImageUrl="/Imagenes/IconoExcel.gif" Width="17px" Height="17px" />
|
|
<asp:ImageButton ID="BtnImprimir" OnClick="BtnImprimir_Click" runat="server" alt="Imprimir" src="/Imagenes/btnImprimir.gif" Style="cursor: pointer; height: 20px" />
|
|
</asp:Content>
|
|
<asp:Content ID="Content6" ContentPlaceHolderID="C" runat="Server">
|
|
|
|
|
|
<asp:UpdatePanel ID="UPFiltros" runat="server" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
|
|
<div class="portlet solid grey-cascade portlet-filter">
|
|
<div class="portlet-title portlet-filterT portletfiltrostitlee">
|
|
<div class="tools">
|
|
<%--<asp:Button ID="BtnConsultar" runat="server" Text="Consultar" class="btn btn-primary" />--%>
|
|
<asp:Button ID="consultar" runat="server" Text="Consultar" class="btn btn-primary" OnClick="consultar_Click" />
|
|
<a href="javascript;" class="expand" data-original-title="" title=""></a>
|
|
<a onclick="document.getElementById('C_BtnConsultar').click();" class="reload"></a>
|
|
</div>
|
|
<div class="titlefiltros caption">
|
|
<div class="row">
|
|
<div class="titlefiltros caption" style="width: 100%">
|
|
<label class="col-md-1 text-size-12" style="width: 150px; padding-right: 0px">
|
|
Cap. Objeto del Gasto:
|
|
</label>
|
|
<div class="col-md-2">
|
|
<asp:DropDownList ID="DdlCapituloClasificaciones" runat="server" AppendDataBoundItems="true" DataTextField="CodigoClasificacion" DataValueField="CveClasificacion" OnSelectedIndexChanged="DdlCapituloClasificaciones_SelectedIndexChanged" AutoPostBack="true" CssClass="form-control input-sm">
|
|
<asp:ListItem Selected="True" Text="Todas" Value="-1"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
</div>
|
|
<label class="col-md-1 text-size-12" style="width: 135px; padding-right: 0px">
|
|
Programa Operativo:
|
|
</label>
|
|
<div class="col-md-2 text-size-12">
|
|
<asp:DropDownList ID="DdlProgramaOperativo" CssClass="form-control input-sm" runat="server" AppendDataBoundItems="true" DataTextField="ProgramaOperativo" DataValueField="CveProgramaOperativo" >
|
|
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
</div>
|
|
<label class="col-md-1 text-size-12" style="padding-right: 0px;">
|
|
Ejercicio:
|
|
</label>
|
|
<div class="col-md-1">
|
|
<asp:DropDownList ID="DdlEjercicio" CssClass="form-control input-sm" runat="server" DataTextField="Ejercicio" DataValueField="Ejercicio" >
|
|
</asp:DropDownList>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="portlet-body magindate" style="display:none;">
|
|
<div class="row">
|
|
<label class="col-md-1 text-size-12 truncate" style="width:150px; padding-right:0px">
|
|
Objeto del Gasto:
|
|
</label>
|
|
<div class="col-md-2">
|
|
<asp:DropDownList ID="DdlClasificaciones" runat="server" AppendDataBoundItems="true" DataTextField="CodigoClasificacion" DataValueField="CveClasificacion" CssClass="form-control input-sm select2me">
|
|
<asp:ListItem Selected="True" Text="Todas" Value="-1"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
</div>
|
|
<label class="col-md-1 text-size-12 truncate" style="width:130px; padding-right:0px;">
|
|
Momento Contable:
|
|
</label>
|
|
<div class="col-md-2">
|
|
<asp:DropDownList ID="DdlTipoCuenta" runat="server" CssClass="form-control input-sm">
|
|
<%--<asp:ListItem Selected="True" Text="Aprobado" Value="APROV"></asp:ListItem>--%>
|
|
<asp:ListItem Text="Modificado" Value="MODIF"></asp:ListItem>
|
|
<asp:ListItem Text="Comprometido" Value="COMP"></asp:ListItem>
|
|
<asp:ListItem Text="Devengado" Value="DEV"></asp:ListItem>
|
|
<asp:ListItem Text="Ejercido" Value="EJER"></asp:ListItem>
|
|
<asp:ListItem Text="Pagado" Value="PAG"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
</div>
|
|
<label class="col-md-1 text-size-12 truncate" style="width:160px;">
|
|
Unidad Administrativa:
|
|
</label>
|
|
<div class="col-md-2">
|
|
<asp:DropDownList ID="DdlUnidadAdministrativa" runat="server" AppendDataBoundItems="true" DataTextField="UnidadAdministrativa" DataValueField="CveUnidadAdministrativa" CssClass="form-control input-sm">
|
|
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<%-- <td>
|
|
<asp:DropDownList ID="DropDownList2" runat="server" Visible="false" Width="150px">
|
|
<asp:ListItem Text="Presupuesto" Value="1"></asp:ListItem>
|
|
<asp:ListItem Text="AnteProyecto" Value="2"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
</td>--%>
|
|
<label class="col-md-1 text-size-12 truncate" style="width:150px; padding-right:0px;">
|
|
Fuente de Financiamiento:
|
|
</label>
|
|
<div class="col-md-2">
|
|
<asp:DropDownList ID="DdlFuenteFinanciamiento" runat="server" AppendDataBoundItems="true" DataTextField="FuenteFinanciamiento" DataValueField="CveFuenteFinanciamiento" CssClass="form-control input-sm">
|
|
<asp:ListItem Selected="True" Text="Todas" Value="-1"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
</div>
|
|
<div class="col-md-1" style="width:130px;"></div>
|
|
<div class="col-md-2">
|
|
<asp:DropDownList ID="DdlOrden" runat="server" CssClass="form-control input-sm">
|
|
<asp:ListItem Selected="True" Text="Objeto del Gasto" Value="1"></asp:ListItem>
|
|
<asp:ListItem Text="Objeto del Gasto - Proyecto / Proceso" Value="6"></asp:ListItem>
|
|
<asp:ListItem Text="Fuente de Financiamiento" Value="2"></asp:ListItem>
|
|
<asp:ListItem Text="Proyecto / Proceso" Value="3"></asp:ListItem>
|
|
<asp:ListItem Text="Unidad Administrativa" Value="4"></asp:ListItem>
|
|
<asp:ListItem Text="Proyecto / Proceso - F. Financiamiento" Value="5"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
|
|
<br />
|
|
|
|
<asp:UpdatePanel ID="UPPDatos" runat="server" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
<asp:GridView ID="Gv" runat="server" AutoGenerateColumns="false" EmptyDataText="No se encontraron Registros de Presupuesto de Egresos del Ejercicio" CssClass="table table-striped table-advance table-hover" Style="text-align: center;" GridLines="None">
|
|
<Columns>
|
|
<asp:TemplateField HeaderText="Cuenta">
|
|
<HeaderTemplate>
|
|
Grupo
|
|
</HeaderTemplate>
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LtlGrupo" runat="server" Text='<%# Eval("GPO").ToString%>'></asp:Literal>
|
|
</ItemTemplate>
|
|
<ItemStyle Width="320px" HorizontalAlign="Left" />
|
|
</asp:TemplateField>
|
|
<%--<asp:BoundField DataField="Vigente" HeaderText="Vigente" DataFormatString="{0:N2}" ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Right" />--%>
|
|
<asp:BoundField DataField="Ene" HeaderText="Ene" DataFormatString="{0:N2}" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" />
|
|
<asp:BoundField DataField="Feb" HeaderText="Feb" DataFormatString="{0:N2}" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" />
|
|
<asp:BoundField DataField="Mar" HeaderText="Mar" DataFormatString="{0:N2}" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" />
|
|
<asp:BoundField DataField="Abr" HeaderText="Abr" DataFormatString="{0:N2}" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" />
|
|
<asp:BoundField DataField="May" HeaderText="May" DataFormatString="{0:N2}" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" />
|
|
<asp:BoundField DataField="Jun" HeaderText="Jun" DataFormatString="{0:N2}" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" />
|
|
<asp:BoundField DataField="Jul" HeaderText="Jul" DataFormatString="{0:N2}" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" />
|
|
<asp:BoundField DataField="Ago" HeaderText="Ago" DataFormatString="{0:N2}" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" />
|
|
<asp:BoundField DataField="Sep" HeaderText="Sep" DataFormatString="{0:N2}" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" />
|
|
<asp:BoundField DataField="Oct" HeaderText="Oct" DataFormatString="{0:N2}" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" />
|
|
<asp:BoundField DataField="Nov" HeaderText="Nov" DataFormatString="{0:N2}" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" />
|
|
<asp:BoundField DataField="Dic" HeaderText="Dic" DataFormatString="{0:N2}" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
<asp:BoundField DataField="TotalAcumulado" HeaderText="Total" DataFormatString="{0:N2}" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" />
|
|
<%-- <asp:TemplateField HeaderText="Diferencia">
|
|
<ItemTemplate>
|
|
<asp:Label ID="lblDiferencia" runat="server" Text='<%# (CDbl(Eval("Vigente").ToString) - CDbl(Eval("Total").ToString)).ToString("N2")%>'></asp:Label>
|
|
</ItemTemplate>
|
|
<ItemStyle HorizontalAlign="Right" Width="70px" BackColor="LightGray" CssClass="BorderR" />
|
|
</asp:TemplateField>--%>
|
|
</Columns>
|
|
<HeaderStyle CssClass="Titulos"></HeaderStyle>
|
|
<AlternatingRowStyle CssClass="TextoAlterno"></AlternatingRowStyle>
|
|
<RowStyle CssClass="Texto"></RowStyle>
|
|
</asp:GridView>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
</asp:Content>
|
|
<asp:Content ID="Content7" ContentPlaceHolderID="JS" runat="Server">
|
|
|
|
<script type="text/javascript">
|
|
function pageLoad() {
|
|
$(document).ready(function () {
|
|
gridviewScroll();
|
|
});
|
|
|
|
function gridviewScroll() {
|
|
var Tam = TamañoVentana();
|
|
var Alto = Tam.height - 245;
|
|
|
|
$('#<%=Gv.ClientID%>').gridviewScroll({
|
|
width: 995,
|
|
height: Alto,
|
|
freezesize: 1,
|
|
headerrowcount: 2
|
|
});
|
|
}
|
|
}
|
|
</script>
|
|
|
|
</asp:Content>
|