133 lines
8.2 KiB
Plaintext
133 lines
8.2 KiB
Plaintext
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepABT.aspx.vb" Inherits="Ventas_RepABT" %>
|
|
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="HB" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="H" runat="Server">
|
|
<img src="/Imagenes/separador02.gif" alt="" />
|
|
<asp:ImageButton ID="ImgExcel" runat="server" ImageUrl="/Imagenes/IconoExcel.gif" Width="20px" Height="20px" />
|
|
</asp:Content>
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="CP" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content4" ContentPlaceHolderID="CSS" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content5" ContentPlaceHolderID="E" runat="Server">
|
|
<asp:Label ID="LbTitulo" Text="Reporte ABT" runat="server"></asp:Label>
|
|
</asp:Content>
|
|
<asp:Content ID="Content6" ContentPlaceHolderID="JS" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content7" ContentPlaceHolderID="C" runat="Server">
|
|
|
|
<%--<asp:UpdatePanel runat="server" ID="UpFiltros" UpdateMode="Conditional">
|
|
<ContentTemplate>--%>
|
|
<div class="portlet solid grey-cascade portlet-filter">
|
|
<div class="portlet-title portlet-filterT smalltitle">
|
|
<div class="tools">
|
|
<asp:Button ID="BtnConsultar" CssClass="btn btn-default" Text="Consultar" runat="server" />
|
|
<a href="javascript;" class="expand" data-original-title="" title=""></a>
|
|
</div>
|
|
<div class="titlefiltros caption ">
|
|
<div class="row">
|
|
<label class="col-md-1">Ejercicio:</label>
|
|
<div class="col-md-2">
|
|
<asp:DropDownList ID="DdlEjercicio" CssClass="form-control input-sm input-small select2me" runat="server" >
|
|
<asp:ListItem Text="2014" Value="2014"></asp:ListItem>
|
|
<asp:ListItem Text="2015" Value="2015"></asp:ListItem>
|
|
</asp:DropDownList></div>
|
|
<label class="col-md-1">Periodo:</label>
|
|
<div class="col-md-2">
|
|
<asp:DropDownList ID="DdlPeriodo" CssClass="form-control input-small input-sm select2me" runat="server" >
|
|
<asp:ListItem Text="Enero" Value="1"></asp:ListItem>
|
|
<asp:ListItem Text="Febrero" Value="2"></asp:ListItem>
|
|
<asp:ListItem Text="Marzo" Value="3"></asp:ListItem>
|
|
<asp:ListItem Text="Abril" Value="4"></asp:ListItem>
|
|
<asp:ListItem Text="Mayo" Value="5"></asp:ListItem>
|
|
<asp:ListItem Text="Junio" Value="6"></asp:ListItem>
|
|
<asp:ListItem Text="Julio" Value="7"></asp:ListItem>
|
|
<asp:ListItem Text="Agosto" Value="8"></asp:ListItem>
|
|
<asp:ListItem Text="Septiembre" Value="9"></asp:ListItem>
|
|
<asp:ListItem Text="Octubre" Value="10"></asp:ListItem>
|
|
<asp:ListItem Text="Noviembre" Value="11"></asp:ListItem>
|
|
<asp:ListItem Text="Diciembre" Value="12"></asp:ListItem>
|
|
</asp:DropDownList></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<%-- </ContentTemplate>
|
|
</asp:UpdatePanel>--%>
|
|
|
|
<br />
|
|
<br />
|
|
|
|
<asp:UpdatePanel ID="UpDatos" UpdateMode="Conditional" runat="server">
|
|
<ContentTemplate>
|
|
<asp:GridView ID="GvRepABT" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Registros">
|
|
<Columns>
|
|
<asp:TemplateField HeaderText="Reporte ABT">
|
|
<HeaderTemplate>
|
|
<table CssClass="table table-smallpadding Widthall">
|
|
<tr>
|
|
<td style="width: 5%">Tipo</td>
|
|
<td style="width: 5%">Folio</td>
|
|
<td style="width: 25%">Cliente</td>
|
|
<td style="width: 25%">Sucursal</td>
|
|
<td style="width: 10%">Fecha Venta</td>
|
|
<td style="width: 5%">Mesa</td>
|
|
<td style="width: 5%"># Per</td>
|
|
<td style="width: 10%">Fecha Corte</td>
|
|
<td style="width: 10%" align="right">Total</td>
|
|
</tr>
|
|
</table>
|
|
</HeaderTemplate>
|
|
<ItemTemplate>
|
|
<table width="995px">
|
|
<tr>
|
|
<td style="width: 5%"><b><%# Eval("TipoDocto") %></b></td>
|
|
<td style="width: 5%"><b><%# Eval("SerieFolio") %></b></td>
|
|
<td style="width: 25%"><b><%# Eval("Cliente")%></b></td>
|
|
<td style="width: 25%"><b><%# Eval("Sucursal")%></b></td>
|
|
<td style="width: 10%"><b><%# Eval("FechaVenta", "{0:d}")%></td>
|
|
<td style="width: 5%"><b><%# Eval("Mesa")%></b></td>
|
|
<td style="width: 5%"><b><%# Eval("NumeroPersonas")%></b></td>
|
|
<td style="width: 10%"><b><%# Eval("FechaCorte", "{0:d}")%></b></td>
|
|
<td style="width: 10%" align="right"><b><%# Eval("TotalRemision", "{0:F2}")%></b></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="4"></td>
|
|
<td colspan="5" align="right">
|
|
<asp:GridView ID="GvD" CssClass="table table-hover table-advance table-smallpadding Widthall" BorderWidth="0" GridLines="None" runat="server" AutoGenerateColumns="false" ShowHeader="false" >
|
|
<Columns>
|
|
<asp:BoundField DataField="Cantidad" HeaderText="Folio" ItemStyle-Width="5%"/>
|
|
<asp:BoundField DataField="Concepto" HeaderText="Concepto" ItemStyle-Width="80%"/>
|
|
<asp:BoundField DataField="TotalConcepto" HeaderText="TotalConcepto" DataFormatString="{0:F2}" ItemStyle-HorizontalAlign="right" ItemStyle-Width="15%"/>
|
|
</Columns>
|
|
</asp:GridView>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<%--<asp:Label ID="Label1" runat="server" Text='<%# Bind("TipoDocto") %>'></asp:Label>--%>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<%-- <asp:BoundField DataField="SerieFolio" HeaderText="Folio"/>
|
|
<asp:BoundField DataField="Cliente" HeaderText="Cliente"/>
|
|
<asp:BoundField DataField="Sucursal" HeaderText="Sucursal"/>
|
|
<asp:BoundField DataField="FechaVenta" HeaderText="Fecha Venta" DataFormatString="{0:dd/MM/yyyy}"/>
|
|
<asp:BoundField DataField="Mesa" HeaderText="Mesa"/>
|
|
<asp:BoundField DataField="NumeroPersonas" HeaderText="Número de Personas"/>
|
|
<asp:BoundField DataField="Cantidad" HeaderText="Cant."/>
|
|
<asp:BoundField DataField="Concepto" HeaderText="Concepto"/>
|
|
<asp:BoundField DataField="PU" HeaderText="P. U."/>
|
|
<asp:BoundField DataField="Descuento" HeaderText="Desct."/>
|
|
<asp:BoundField DataField="TotalConcepto" HeaderText="Total Concepto"/>
|
|
<asp:BoundField DataField="TotalRemision" HeaderText="Total Remisión"/>
|
|
<asp:BoundField DataField="FechaCorte" HeaderText="Fecha Corte" DataFormatString="{0:dd/MM/yyyy}"/>--%>
|
|
</Columns>
|
|
<HeaderStyle CssClass="Titulos" />
|
|
<AlternatingRowStyle CssClass="TextoAlterno" />
|
|
<RowStyle CssClass="Texto" />
|
|
</asp:GridView>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
</asp:Content>
|
|
|