|
|
|
|
@@ -1,201 +1,214 @@
|
|
|
|
|
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepIngresos.aspx.vb" Inherits="Ventas_RepIngresos" %>
|
|
|
|
|
|
|
|
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
|
|
|
|
|
</asp:Content>
|
|
|
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
|
|
|
|
<style>
|
|
|
|
|
.btnopaco {
|
|
|
|
|
background-color: rgba(0,0,0,0.2);
|
|
|
|
|
color: #FFF;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnopaco:hover {
|
|
|
|
|
background-color: rgba(0,0,0,0.4);
|
|
|
|
|
color: #FFF;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.select2 .select2-selection__rendered {
|
|
|
|
|
line-height: 1;
|
|
|
|
|
color: #111;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.select2 .select2-selection--multiple {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
display: block;
|
|
|
|
|
min-height: 20px;
|
|
|
|
|
user-select: none;
|
|
|
|
|
-webkit-user-select: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.select2-selection__rendered {
|
|
|
|
|
margin-top: 0px;
|
|
|
|
|
height: 25px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.select2-selection {
|
|
|
|
|
margin-top: 0px;
|
|
|
|
|
height: 31px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.select2-container--default.select2-container--focus .select2-selection--multiple {
|
|
|
|
|
border: none;
|
|
|
|
|
outline: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#chartdiv {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 500px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
</asp:Content>
|
|
|
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
|
|
|
|
Reporte de Ingresos
|
|
|
|
|
</asp:Content>
|
|
|
|
|
<asp:Content ID="Content4" ContentPlaceHolderID="HB" runat="Server">
|
|
|
|
|
</asp:Content>
|
|
|
|
|
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
|
|
|
|
|
<asp:UpdatePanel runat="server" ID="UpAgregar">
|
|
|
|
|
<ContentTemplate>
|
|
|
|
|
<li>
|
|
|
|
|
<asp:LinkButton ID="LnkPDF" OnClick="LnkPDF_Click" runat="server"><i class="fa fa-file-pdf-o" style="font-weight:bold;"></i> PDF</asp:LinkButton>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<asp:LinkButton ID="LnkExcel" OnClick="LnkExcel_Click" runat="server"><i class="fa fa-file-excel-o" style="font-weight:bold;"></i> Excel</asp:LinkButton>
|
|
|
|
|
</li>
|
|
|
|
|
</ContentTemplate>
|
|
|
|
|
<Triggers>
|
|
|
|
|
<asp:PostBackTrigger ControlID="LnkPDF" />
|
|
|
|
|
<asp:PostBackTrigger ControlID="LnkExcel" />
|
|
|
|
|
</Triggers>
|
|
|
|
|
</asp:UpdatePanel>
|
|
|
|
|
</asp:Content>
|
|
|
|
|
<asp:Content ID="Content6" ContentPlaceHolderID="HA" runat="Server">
|
|
|
|
|
</asp:Content>
|
|
|
|
|
<asp:Content ID="Content7" ContentPlaceHolderID="C" runat="Server">
|
|
|
|
|
<asp:UpdatePanel ID="upDatosRepI" runat="server" UpdateMode="Conditional">
|
|
|
|
|
<ContentTemplate>
|
|
|
|
|
|
|
|
|
|
<div class="portlet solid grey-cascade portlet-filter" id="idnecesaria">
|
|
|
|
|
<div class="portlet-title portlet-filterT smalltitle">
|
|
|
|
|
<div class="tools">
|
|
|
|
|
<asp:Button ID="LnkFiltrar" OnClick="LnkFiltrar_Click" runat="server" CausesValidation="true" CssClass=" btn btn-primary " Text="Consultar" ValidationGroup="GrpFiltrar"></asp:Button>
|
|
|
|
|
|
|
|
|
|
<a href="javascript;" data-idchekbox="<%= chkexpand.ClientID%>" class=" <%= IIf(chkexpand.Checked = True, "collapse", "expand")%>"></a>
|
|
|
|
|
|
|
|
|
|
<asp:CheckBox ID="chkexpand" CssClass="hidden" runat="server" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="titlefiltros caption ">
|
|
|
|
|
<div class="row " style="height: 32px;" >
|
|
|
|
|
<div class="col-md-1 lbltitle">
|
|
|
|
|
<asp:Label runat="server" Text="Fecha Inicio" AssociatedControlID="TxtFechaInicio"></asp:Label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-1">
|
|
|
|
|
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 100px !important; padding: 0px;">
|
|
|
|
|
<asp:TextBox ID="TxtFechaInicio" Width="80" CssClass="form-control" runat="server"></asp:TextBox>
|
|
|
|
|
<span class="input-group-btn ">
|
|
|
|
|
<asp:LinkButton ID="LnkFechaInicio" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<ajax:MaskedEditExtender ID="MEEFechaInicio" runat="server" TargetControlID="TxtFechaInicio" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
|
|
|
|
|
<ajax:CalendarExtender runat="server" ID="CEEFechaInicio" TargetControlID="TxtFechaInicio" PopupButtonID="LnkFechaInicio" Enabled="True" Format="dd/MM/yyyy"></ajax:CalendarExtender>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-1 lbltitle">
|
|
|
|
|
<asp:Label runat="server" Text="Fecha Fin" AssociatedControlID="TxtFechaFin"></asp:Label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-1">
|
|
|
|
|
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 100px !important; padding: 0px;">
|
|
|
|
|
<asp:TextBox ID="TxtFechaFin" Width="80" CssClass="form-control" runat="server"></asp:TextBox>
|
|
|
|
|
<span class="input-group-btn ">
|
|
|
|
|
<asp:LinkButton ID="LnkFechaFin" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<ajax:MaskedEditExtender ID="MEEFechaFin" runat="server" TargetControlID="TxtFechaFin" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
|
|
|
|
|
<ajax:CalendarExtender runat="server" ID="CEEFechaFin" TargetControlID="TxtFechaFin" PopupButtonID="LnkFechaFin" Enabled="True" Format="dd/MM/yyyy"></ajax:CalendarExtender>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-1 lbltitle">
|
|
|
|
|
<asp:Label runat="server" Text="Tipo" AssociatedControlID="DdlTipoDocto"></asp:Label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-1">
|
|
|
|
|
<asp:DropDownList ID="DdlTipoDocto" runat="server" AppendDataBoundItems="true" CssClass="form-control input-small input-sm select2me" Width="100%">
|
|
|
|
|
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepIngresos.aspx.vb" Inherits="Ventas_RepIngresos" %>
|
|
|
|
|
|
|
|
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
|
|
|
|
|
</asp:Content>
|
|
|
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
|
|
|
|
<style>
|
|
|
|
|
.btnopaco {
|
|
|
|
|
background-color: rgba(0,0,0,0.2);
|
|
|
|
|
color: #FFF;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnopaco:hover {
|
|
|
|
|
background-color: rgba(0,0,0,0.4);
|
|
|
|
|
color: #FFF;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.select2 .select2-selection__rendered {
|
|
|
|
|
line-height: 1;
|
|
|
|
|
color: #111;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.select2 .select2-selection--multiple {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
display: block;
|
|
|
|
|
min-height: 20px;
|
|
|
|
|
user-select: none;
|
|
|
|
|
-webkit-user-select: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.select2-selection__rendered {
|
|
|
|
|
margin-top: 0px;
|
|
|
|
|
height: 25px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.select2-selection {
|
|
|
|
|
margin-top: 0px;
|
|
|
|
|
height: 31px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.select2-container--default.select2-container--focus .select2-selection--multiple {
|
|
|
|
|
border: none;
|
|
|
|
|
outline: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#chartdiv {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 500px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
</asp:Content>
|
|
|
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
|
|
|
|
Reporte de Ingresos
|
|
|
|
|
</asp:Content>
|
|
|
|
|
<asp:Content ID="Content4" ContentPlaceHolderID="HB" runat="Server">
|
|
|
|
|
</asp:Content>
|
|
|
|
|
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
|
|
|
|
|
<asp:UpdatePanel runat="server" ID="UpAgregar">
|
|
|
|
|
<ContentTemplate>
|
|
|
|
|
<li>
|
|
|
|
|
<asp:LinkButton ID="LnkPDF" OnClick="LnkPDF_Click" runat="server"><i class="fa fa-file-pdf-o" style="font-weight:bold;"></i> PDF</asp:LinkButton>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<asp:LinkButton ID="LnkExcel" OnClick="LnkExcel_Click" runat="server"><i class="fa fa-file-excel-o" style="font-weight:bold;"></i> Excel</asp:LinkButton>
|
|
|
|
|
</li>
|
|
|
|
|
</ContentTemplate>
|
|
|
|
|
<Triggers>
|
|
|
|
|
<asp:PostBackTrigger ControlID="LnkPDF" />
|
|
|
|
|
<asp:PostBackTrigger ControlID="LnkExcel" />
|
|
|
|
|
</Triggers>
|
|
|
|
|
</asp:UpdatePanel>
|
|
|
|
|
</asp:Content>
|
|
|
|
|
<asp:Content ID="Content6" ContentPlaceHolderID="HA" runat="Server">
|
|
|
|
|
</asp:Content>
|
|
|
|
|
<asp:Content ID="Content7" ContentPlaceHolderID="C" runat="Server">
|
|
|
|
|
<asp:UpdatePanel ID="upDatosRepI" runat="server" UpdateMode="Conditional">
|
|
|
|
|
<ContentTemplate>
|
|
|
|
|
|
|
|
|
|
<div class="portlet solid grey-cascade portlet-filter" id="idnecesaria">
|
|
|
|
|
<div class="portlet-title portlet-filterT smalltitle">
|
|
|
|
|
<div class="tools">
|
|
|
|
|
<asp:Button ID="LnkFiltrar" OnClick="LnkFiltrar_Click" runat="server" CausesValidation="true" CssClass=" btn btn-primary " Text="Consultar" ValidationGroup="GrpFiltrar"></asp:Button>
|
|
|
|
|
|
|
|
|
|
<a href="javascript;" data-idchekbox="<%= chkexpand.ClientID%>" class=" <%= IIf(chkexpand.Checked = True, "collapse", "expand")%>"></a>
|
|
|
|
|
|
|
|
|
|
<asp:CheckBox ID="chkexpand" CssClass="hidden" runat="server" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="titlefiltros caption ">
|
|
|
|
|
<div class="row " style="height: 32px;">
|
|
|
|
|
<div class="col-md-1 lbltitle">
|
|
|
|
|
<asp:Label runat="server" Text="Fecha Inicio" AssociatedControlID="TxtFechaInicio"></asp:Label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-1">
|
|
|
|
|
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 100px !important; padding: 0px;">
|
|
|
|
|
<asp:TextBox ID="TxtFechaInicio" Width="80" CssClass="form-control" runat="server"></asp:TextBox>
|
|
|
|
|
<span class="input-group-btn ">
|
|
|
|
|
<asp:LinkButton ID="LnkFechaInicio" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<ajax:MaskedEditExtender ID="MEEFechaInicio" runat="server" TargetControlID="TxtFechaInicio" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
|
|
|
|
|
<ajax:CalendarExtender runat="server" ID="CEEFechaInicio" TargetControlID="TxtFechaInicio" PopupButtonID="LnkFechaInicio" Enabled="True" Format="dd/MM/yyyy"></ajax:CalendarExtender>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-1 lbltitle">
|
|
|
|
|
<asp:Label runat="server" Text="Fecha Fin" AssociatedControlID="TxtFechaFin"></asp:Label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-1">
|
|
|
|
|
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 100px !important; padding: 0px;">
|
|
|
|
|
<asp:TextBox ID="TxtFechaFin" Width="80" CssClass="form-control" runat="server"></asp:TextBox>
|
|
|
|
|
<span class="input-group-btn ">
|
|
|
|
|
<asp:LinkButton ID="LnkFechaFin" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<ajax:MaskedEditExtender ID="MEEFechaFin" runat="server" TargetControlID="TxtFechaFin" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
|
|
|
|
|
<ajax:CalendarExtender runat="server" ID="CEEFechaFin" TargetControlID="TxtFechaFin" PopupButtonID="LnkFechaFin" Enabled="True" Format="dd/MM/yyyy"></ajax:CalendarExtender>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-1 lbltitle">
|
|
|
|
|
<asp:Label runat="server" Text="Tipo" AssociatedControlID="DdlTipoDocto"></asp:Label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="col-md-2">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<asp:ListBox ID="DdlTipoDocto" data-text="Todos" SelectionMode="Multiple" CssClass="form-control ddlFiltros input-sm select2me Widthall" Style="width: 100%;" runat="server">
|
|
|
|
|
<asp:ListItem Text="Todos" Value="-1"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Value="Ant" Text="Anticipos"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Value="Dev" Text="Devolución"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Value="Egs" Text="Egresos"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Value="Ing" Text="Ingresos"></asp:ListItem>
|
|
|
|
|
</asp:ListBox>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<%-- <asp:DropDownList ID="DdlTipoDocto" runat="server" AppendDataBoundItems="true" CssClass="form-control input-small input-sm select2me" Width="100%">
|
|
|
|
|
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Value="Ant" Text="Anticipos"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Value="Dev" Text="Devolución"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Value="Egs" Text="Egresos"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Value="Ing" Text="Ingresos"></asp:ListItem>
|
|
|
|
|
</asp:DropDownList>--%>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-1 lbltitle ">
|
|
|
|
|
<asp:Label runat="server" Text="Sub Proyecto" AssociatedControlID="DdlSubProyecto"></asp:Label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-2">
|
|
|
|
|
<%-- <asp:DropDownList ID="DdlSubProyecto" runat="server" AppendDataBoundItems="true" CssClass="form-control input-small input-sm select2me" Width="100%" DataTextField="SubProyecto" DataValueField="CveSubProyecto">
|
|
|
|
|
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Value="Ant" Text="Anticipos"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Value="Dev" Text="Devolución"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Value="Egs" Text="Egresos"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Value="Ing" Text="Ingresos"></asp:ListItem>
|
|
|
|
|
</asp:DropDownList>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-1 lbltitle ">
|
|
|
|
|
<asp:Label runat="server" Text="Sub Proyecto" AssociatedControlID="DdlSubProyecto"></asp:Label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-2" >
|
|
|
|
|
<%-- <asp:DropDownList ID="DdlSubProyecto" runat="server" AppendDataBoundItems="true" CssClass="form-control input-small input-sm select2me" Width="100%" DataTextField="SubProyecto" DataValueField="CveSubProyecto">
|
|
|
|
|
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
|
|
|
|
|
</asp:DropDownList>--%>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<asp:ListBox ID="DdlSubProyecto" SelectionMode="Multiple" data-text="Todos" AppendDataBoundItems="true" DataTextField="SubProyecto" DataValueField="CveSubProyecto" CssClass="form-control ddlFiltros input-sm select2me Widthall" Style="width: 100%;" runat="server"></asp:ListBox>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<asp:GridView ID="GVRepIngresos" runat="server" GridLines="None" CssClass="table table-hover table-striped GVRepIngresos ScrollAD Widthall" AutoGenerateColumns="False"
|
|
|
|
|
DataKeyNames="Importe,Descuento,Amortizacion,IVA,IEPS,ImpuestoLocal,Total">
|
|
|
|
|
<Columns>
|
|
|
|
|
<asp:TemplateField HeaderText="Titulo">
|
|
|
|
|
<ItemTemplate>
|
|
|
|
|
<asp:HyperLink runat="server" Text='<%# Eval("ConceptoContable")%>' NavigateUrl='<%# String.Format("/Ventas/RepIngresosDetalle.aspx?CveConceptoContable={0}&CveCuenta={1}&RsFechaI={2}", Eval("CveConceptoContable"), Eval("CveCuenta"), Eval("FechaInicio", "{0:yyyy/MM/dd}"))%>'> </asp:HyperLink>
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
</asp:TemplateField>
|
|
|
|
|
<asp:TemplateField HeaderText="Sub Total" ItemStyle-HorizontalAlign="Right">
|
|
|
|
|
<ItemTemplate>
|
|
|
|
|
<asp:HyperLink runat="server" Text='<%# Eval("Importe", "${0:N2}")%>' NavigateUrl='<%# String.Format("/Ventas/RepIngresosDetalle.aspx?CveConceptoContable={0}&CveCuenta={1}&RsFechaI={2}", Eval("CveConceptoContable"), Eval("CveCuenta"), Eval("FechaInicio", "{0:yyyy/MM/dd}"))%>'> </asp:HyperLink>
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
</asp:TemplateField>
|
|
|
|
|
<asp:TemplateField HeaderText="Descuento" ItemStyle-HorizontalAlign="Right">
|
|
|
|
|
<ItemTemplate>
|
|
|
|
|
<asp:HyperLink runat="server" Text='<%# Eval("Descuento", "${0:N2}")%>' NavigateUrl='<%# String.Format("/Ventas/RepIngresosDetalle.aspx?CveConceptoContable={0}&CveCuenta={1}&RsFechaI={2}", Eval("CveConceptoContable"), Eval("CveCuenta"), Eval("FechaInicio", "{0:yyyy/MM/dd}"))%>'> </asp:HyperLink>
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
</asp:TemplateField>
|
|
|
|
|
<asp:TemplateField HeaderText="Amortización" ItemStyle-HorizontalAlign="Right">
|
|
|
|
|
<ItemTemplate>
|
|
|
|
|
<asp:HyperLink runat="server" Text='<%# Eval("Amortizacion", "${0:N2}")%>' NavigateUrl='<%# String.Format("/Ventas/RepIngresosDetalle.aspx?CveConceptoContable={0}&CveCuenta={1}&RsFechaI={2}", Eval("CveConceptoContable"), Eval("CveCuenta"), Eval("FechaInicio", "{0:yyyy/MM/dd}"))%>'> </asp:HyperLink>
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
</asp:TemplateField>
|
|
|
|
|
<asp:TemplateField HeaderText="IVA" ItemStyle-HorizontalAlign="Right">
|
|
|
|
|
<ItemTemplate>
|
|
|
|
|
<asp:HyperLink runat="server" Text='<%# Eval("IVA", "${0:N2}")%>' NavigateUrl='<%# String.Format("/Ventas/RepIngresosDetalle.aspx?CveConceptoContable={0}&CveCuenta={1}&RsFechaI={2}", Eval("CveConceptoContable"), Eval("CveCuenta"), Eval("FechaInicio", "{0:yyyy/MM/dd}"))%>'> </asp:HyperLink>
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
</asp:TemplateField>
|
|
|
|
|
<asp:TemplateField HeaderText="IEPS" ItemStyle-HorizontalAlign="Right">
|
|
|
|
|
<ItemTemplate>
|
|
|
|
|
<asp:HyperLink runat="server" Text='<%# Eval("IEPS", "${0:N2}")%>' NavigateUrl='<%# String.Format("/Ventas/RepIngresosDetalle.aspx?CveConceptoContable={0}&CveCuenta={1}&RsFechaI={2}", Eval("CveConceptoContable"), Eval("CveCuenta"), Eval("FechaInicio", "{0:yyyy/MM/dd}"))%>'> </asp:HyperLink>
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
</asp:TemplateField>
|
|
|
|
|
<asp:TemplateField HeaderText="Impuesto Local" ItemStyle-HorizontalAlign="Right">
|
|
|
|
|
<ItemTemplate>
|
|
|
|
|
<asp:HyperLink runat="server" Text='<%# Eval("ImpuestoLocal", "${0:N2}")%>' NavigateUrl='<%# Eval("CveConceptoContable", String.Format("/Ventas/RepIngresosDetalle.aspx?GTipoDocto={{0}}{0}", Filtros))%>'> </asp:HyperLink>
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
</asp:TemplateField>
|
|
|
|
|
<asp:TemplateField HeaderText="Total" ItemStyle-HorizontalAlign="Right">
|
|
|
|
|
<ItemTemplate>
|
|
|
|
|
<asp:HyperLink runat="server" Text='<%# Eval("Total", "${0:N2}")%>' NavigateUrl='<%# Eval("CveConceptoContable", String.Format("/Ventas/RepIngresosDetalle.aspx?GTipoDocto={{0}}{0}", Filtros))%>'> </asp:HyperLink>
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
</asp:TemplateField>
|
|
|
|
|
</Columns>
|
|
|
|
|
</asp:GridView>
|
|
|
|
|
</ContentTemplate>
|
|
|
|
|
</asp:UpdatePanel>
|
|
|
|
|
</asp:Content>
|
|
|
|
|
<asp:Content ID="Content8" ContentPlaceHolderID="JS" runat="Server">
|
|
|
|
|
</asp:Content>
|
|
|
|
|
|
|
|
|
|
</asp:DropDownList>--%>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<asp:ListBox ID="DdlSubProyecto" SelectionMode="Multiple" data-text="Todos" AppendDataBoundItems="true" DataTextField="SubProyecto" DataValueField="CveSubProyecto" CssClass="form-control ddlFiltros input-sm select2me Widthall" Style="width: 100%;" runat="server"></asp:ListBox>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<asp:GridView ID="GVRepIngresos" runat="server" GridLines="None" CssClass="table table-hover table-striped GVRepIngresos ScrollAD Widthall" AutoGenerateColumns="False"
|
|
|
|
|
DataKeyNames="Importe,Descuento,Amortizacion,IVA,IEPS,ImpuestoLocal,Total">
|
|
|
|
|
<Columns>
|
|
|
|
|
<asp:TemplateField HeaderText="Titulo">
|
|
|
|
|
<ItemTemplate>
|
|
|
|
|
<asp:HyperLink runat="server" Text='<%# Eval("ConceptoContable")%>' NavigateUrl='<%# String.Format("/Ventas/RepIngresosDetalle.aspx?CveConceptoContable={0}&CveCuenta={1}&RsFechaI={2}", Eval("CveConceptoContable"), Eval("CveCuenta"), Eval("FechaInicio", "{0:yyyy/MM/dd}"))%>'> </asp:HyperLink>
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
</asp:TemplateField>
|
|
|
|
|
<asp:TemplateField HeaderText="Sub Total" ItemStyle-HorizontalAlign="Right">
|
|
|
|
|
<ItemTemplate>
|
|
|
|
|
<asp:HyperLink runat="server" Text='<%# Eval("Importe", "${0:N2}")%>' NavigateUrl='<%# String.Format("/Ventas/RepIngresosDetalle.aspx?CveConceptoContable={0}&CveCuenta={1}&RsFechaI={2}", Eval("CveConceptoContable"), Eval("CveCuenta"), Eval("FechaInicio", "{0:yyyy/MM/dd}"))%>'> </asp:HyperLink>
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
</asp:TemplateField>
|
|
|
|
|
<asp:TemplateField HeaderText="Descuento" ItemStyle-HorizontalAlign="Right">
|
|
|
|
|
<ItemTemplate>
|
|
|
|
|
<asp:HyperLink runat="server" Text='<%# Eval("Descuento", "${0:N2}")%>' NavigateUrl='<%# String.Format("/Ventas/RepIngresosDetalle.aspx?CveConceptoContable={0}&CveCuenta={1}&RsFechaI={2}", Eval("CveConceptoContable"), Eval("CveCuenta"), Eval("FechaInicio", "{0:yyyy/MM/dd}"))%>'> </asp:HyperLink>
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
</asp:TemplateField>
|
|
|
|
|
<asp:TemplateField HeaderText="Amortización" ItemStyle-HorizontalAlign="Right">
|
|
|
|
|
<ItemTemplate>
|
|
|
|
|
<asp:HyperLink runat="server" Text='<%# Eval("Amortizacion", "${0:N2}")%>' NavigateUrl='<%# String.Format("/Ventas/RepIngresosDetalle.aspx?CveConceptoContable={0}&CveCuenta={1}&RsFechaI={2}", Eval("CveConceptoContable"), Eval("CveCuenta"), Eval("FechaInicio", "{0:yyyy/MM/dd}"))%>'> </asp:HyperLink>
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
</asp:TemplateField>
|
|
|
|
|
<asp:TemplateField HeaderText="IVA" ItemStyle-HorizontalAlign="Right">
|
|
|
|
|
<ItemTemplate>
|
|
|
|
|
<asp:HyperLink runat="server" Text='<%# Eval("IVA", "${0:N2}")%>' NavigateUrl='<%# String.Format("/Ventas/RepIngresosDetalle.aspx?CveConceptoContable={0}&CveCuenta={1}&RsFechaI={2}", Eval("CveConceptoContable"), Eval("CveCuenta"), Eval("FechaInicio", "{0:yyyy/MM/dd}"))%>'> </asp:HyperLink>
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
</asp:TemplateField>
|
|
|
|
|
<asp:TemplateField HeaderText="IEPS" ItemStyle-HorizontalAlign="Right">
|
|
|
|
|
<ItemTemplate>
|
|
|
|
|
<asp:HyperLink runat="server" Text='<%# Eval("IEPS", "${0:N2}")%>' NavigateUrl='<%# String.Format("/Ventas/RepIngresosDetalle.aspx?CveConceptoContable={0}&CveCuenta={1}&RsFechaI={2}", Eval("CveConceptoContable"), Eval("CveCuenta"), Eval("FechaInicio", "{0:yyyy/MM/dd}"))%>'> </asp:HyperLink>
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
</asp:TemplateField>
|
|
|
|
|
<asp:TemplateField HeaderText="Impuesto Local" ItemStyle-HorizontalAlign="Right">
|
|
|
|
|
<ItemTemplate>
|
|
|
|
|
<asp:HyperLink runat="server" Text='<%# Eval("ImpuestoLocal", "${0:N2}")%>' NavigateUrl='<%# Eval("CveConceptoContable", String.Format("/Ventas/RepIngresosDetalle.aspx?GTipoDocto={{0}}{0}", Filtros))%>'> </asp:HyperLink>
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
</asp:TemplateField>
|
|
|
|
|
<asp:TemplateField HeaderText="Total" ItemStyle-HorizontalAlign="Right">
|
|
|
|
|
<ItemTemplate>
|
|
|
|
|
<asp:HyperLink runat="server" Text='<%# Eval("Total", "${0:N2}")%>' NavigateUrl='<%# Eval("CveConceptoContable", String.Format("/Ventas/RepIngresosDetalle.aspx?GTipoDocto={{0}}{0}", Filtros))%>'> </asp:HyperLink>
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
</asp:TemplateField>
|
|
|
|
|
</Columns>
|
|
|
|
|
</asp:GridView>
|
|
|
|
|
</ContentTemplate>
|
|
|
|
|
</asp:UpdatePanel>
|
|
|
|
|
</asp:Content>
|
|
|
|
|
<asp:Content ID="Content8" ContentPlaceHolderID="JS" runat="Server">
|
|
|
|
|
</asp:Content>
|
|
|
|
|
|
|
|
|
|
|