219 lines
10 KiB
Plaintext
219 lines
10 KiB
Plaintext
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepResumenMovimientosDiario.aspx.vb" Inherits="Inventarios_RepResumenMovimientosDiario" %>
|
|
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
|
<style>
|
|
.select2-selection__rendered {
|
|
margin-top: 0px;
|
|
height: 25px;
|
|
}
|
|
|
|
.dataTables_scrollBody table th {
|
|
padding: 0px !important;
|
|
padding-right: 4px !important;
|
|
padding-left: 4px !important;
|
|
}
|
|
|
|
.table-scrollable {
|
|
margin: 0px !important;
|
|
}
|
|
|
|
.dataTables_scrollFoot {
|
|
display: none;
|
|
}
|
|
|
|
.dataTables_scroll {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
.table.dataTable {
|
|
margin-top: 0px !important;
|
|
}
|
|
|
|
.table table-striped table-hover dataTable no-footer {
|
|
margin-top: 0px !important;
|
|
}
|
|
|
|
.Excede {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.psagregar > div.comboxes {
|
|
display: inline-block;
|
|
width: 250px;
|
|
}
|
|
|
|
.psagregar > div.codigo input {
|
|
width: 79px;
|
|
}
|
|
|
|
.psagregar > div.codigo {
|
|
display: inline-block;
|
|
width: 80px;
|
|
}
|
|
|
|
.psagregar > div.codigo > input[type="submit"] {
|
|
display: none;
|
|
}
|
|
|
|
|
|
|
|
.widget-thumb {
|
|
padding: 15px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.widget-thumb.bordered {
|
|
border: 3px solid whitesmoke;
|
|
}
|
|
|
|
.widget-thumb .widget-thumb-heading {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: #8e9daa;
|
|
margin: 0px 5px;
|
|
text-align: center;
|
|
}
|
|
|
|
.widget-thumb .widget-thumb-wrap {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.widget-thumb .widget-thumb-wrap .widget-thumb-icon {
|
|
float: left;
|
|
width: 60px;
|
|
height: 60px;
|
|
display: inline-block;
|
|
font-size: 20px;
|
|
line-height: 41px;
|
|
color: #fff;
|
|
text-align: center;
|
|
padding: 10px;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.widget-thumb .widget-thumb-body {
|
|
overflow: hidden;
|
|
padding: 5px;
|
|
}
|
|
|
|
.widget-thumb .widget-thumb-body .widget-thumb-subtitle {
|
|
padding-top: 2px;
|
|
display: block;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #8e9daa;
|
|
}
|
|
|
|
.widget-thumb .widget-thumb-body .widget-thumb-body-stat {
|
|
display: block;
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
color: #3e4f5e;
|
|
}
|
|
</style>
|
|
</asp:Content>
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
|
Resumen de movimientos del cierre del dia
|
|
</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="UpAcciones" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
<li>
|
|
<asp:LinkButton ID="LnkImprimir" runat="server" OnClick="LnkImprimir_Click"><i class="fa fa-file-pdf-o" style="font-weight: bold;"></i>Exportar a PDF</asp:LinkButton>
|
|
</li>
|
|
</ContentTemplate>
|
|
<Triggers>
|
|
<asp:PostBackTrigger ControlID="LnkImprimir" />
|
|
</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 runat="server" ID="UpFiltros">
|
|
<ContentTemplate>
|
|
<div class="portlet solid grey-cascade portlet-filter">
|
|
<div class="portlet-title portlet-filterT smalltitle" style="min-height: 45px; position: relative;">
|
|
<div class="tools">
|
|
<asp:Button ID="btConsultar" CssClass="btn btn-primary" runat="server" ValidationGroup="GrpConsultar" Text="Consultar" /></td>
|
|
</div>
|
|
<div class="titlefiltros caption magindate">
|
|
<div class="row">
|
|
<div class="col-md-1 truncate text-right">Fecha del mes: </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: 95px !important; padding: 0px;">
|
|
<asp:TextBox Style="width: 80px !important;" ID="TxtFechaMes" runat="server" CssClass="form-control" CausesValidation="true" MaxLength="10"></asp:TextBox>
|
|
<span class="input-group-btn ">
|
|
<asp:LinkButton ID="ImgFechaMes" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
|
|
</span>
|
|
</div>
|
|
<ajax:MaskedEditExtender ID="MaskedEditExtender1" runat="server" TargetControlID="TxtFechaMes" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
|
|
<ajax:CalendarExtender runat="server" ID="CalendarExtender1" TargetControlID="TxtFechaMes" PopupButtonID="ImgFechaMes" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender>
|
|
</div>
|
|
|
|
<label class="col-md-1 truncate text-right" runat="server">Almacén:</label>
|
|
<div class="col-md-2">
|
|
<asp:DropDownList ID="ddlAlmacen" runat="server" CssClass="select2me" DataTextField="Almacen" DataValueField="CveAlmacen"></asp:DropDownList>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
<div class="text-right" style="margin: 5px 0px;">
|
|
<input type="text" id="TxtBusqueda" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", GvDatos.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
|
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", GvDatos.ClientID) %>" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
|
</div>
|
|
|
|
<asp:UpdatePanel ID="UPDatos" runat="server" UpdateMode="Conditional" RenderMode="Inline">
|
|
<ContentTemplate>
|
|
<asp:GridView ID="GvDatos" Width="100%" runat="server" ShowHeader="true" EmptyDataText="No hay registros." AutoGenerateColumns="False" AllowPaging="False"
|
|
ShowFooter="True" ShowHeaderWhenEmpty="True" CssClass="table table-striped table-hover Widthall ScrollAD mysmallbtn" GridLines="None" DataKeyNames="CveMovimiento,FechaMovto">
|
|
<Columns>
|
|
<asp:BoundField DataField="FechaMovto" DataFormatString="{0:dd/MM/yyyy HH:mm:ss}" ItemStyle-Width="90px" HeaderText="Fecha" />
|
|
<asp:BoundField DataField="Almacen" HeaderText="Almacén" ItemStyle-Width="150px" ItemStyle-HorizontalAlign="Left" />
|
|
<asp:BoundField DataField="Concepto" HeaderText="Movimiento" ItemStyle-Width="150px" ItemStyle-HorizontalAlign="Left" />
|
|
<asp:HyperLinkField DataTextField="CodigoPS" DataNavigateUrlFields="CvePS" DataNavigateUrlFormatString="/Ventas/ProductosServicios.aspx?CvePS={0}" HeaderText="Descripción" ItemStyle-HorizontalAlign="Left" />
|
|
<asp:BoundField DataField="TipoMovimiento" HeaderText="Tipo" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Left" />
|
|
<asp:TemplateField ItemStyle-Width="70px" HeaderText="Folio">
|
|
<ItemTemplate>
|
|
<asp:HyperLink ID="hlFolio" runat="server" Text='<%# Eval("Folio")%>' CssClass="Texto" NavigateUrl='<%# Eval("CveMovimiento", "/Inventarios/EntradasSalidas.aspx?CveMovimiento={0}")%>' Target="_blank" />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField ItemStyle-Width="75px" ItemStyle-HorizontalAlign="Right" HeaderText="Entrada">
|
|
<ItemTemplate>
|
|
<asp:Label ID="lbEntrada" runat="server"
|
|
Text='<%# Eval("Entrada", "{0:###,###.####}")%>'></asp:Label>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField ItemStyle-Width="75px" ItemStyle-HorizontalAlign="Right" HeaderText="Salida">
|
|
<ItemTemplate>
|
|
<asp:Label ID="lbSalida" runat="server"
|
|
Text='<%# Eval("Salida", "{0:###,###.####}")%>'></asp:Label>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:BoundField DataField="ClienteProveedor" HeaderText="Cliente/Proveedor" ItemStyle-HorizontalAlign="Left" />
|
|
</Columns>
|
|
<RowStyle CssClass="Texto" />
|
|
<AlternatingRowStyle CssClass="TextoAlterno" />
|
|
</asp:GridView>
|
|
</div>
|
|
|
|
</ContentTemplate>
|
|
<Triggers>
|
|
<asp:AsyncPostBackTrigger ControlID="btConsultar" EventName="Click" />
|
|
</Triggers>
|
|
</asp:UpdatePanel>
|
|
</asp:Content>
|
|
<asp:Content ID="Content8" ContentPlaceHolderID="JS" runat="Server">
|
|
</asp:Content>
|
|
|