|
|
|
@@ -1,233 +1,250 @@
|
|
|
|
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepAlmacenPeriodo.aspx.vb" Inherits="Inventarios_RepAlmacenPeriodo" %>
|
|
|
|
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepAlmacenPeriodo.aspx.vb" Inherits="Inventarios_RepAlmacenPeriodo" %>
|
|
|
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
.select2 .select2-selection__rendered {
|
|
|
|
.select2 .select2-selection__rendered {
|
|
|
|
line-height: 1;
|
|
|
|
line-height: 1;
|
|
|
|
color: #111;
|
|
|
|
color: #111;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.select2 .select2-selection--multiple {
|
|
|
|
.select2 .select2-selection--multiple {
|
|
|
|
box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
cursor: pointer;
|
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
|
|
|
display: block;
|
|
|
|
min-height: 20px;
|
|
|
|
min-height: 20px;
|
|
|
|
user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
|
|
|
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.select2-selection__rendered {
|
|
|
|
.select2-selection__rendered {
|
|
|
|
margin-top: 0px;
|
|
|
|
margin-top: 0px;
|
|
|
|
height: 25px;
|
|
|
|
height: 25px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.select2-selection {
|
|
|
|
.select2-selection {
|
|
|
|
margin-top: 0px;
|
|
|
|
margin-top: 0px;
|
|
|
|
height: 31px;
|
|
|
|
height: 31px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.select2-container--default.select2-container--focus .select2-selection--multiple {
|
|
|
|
.select2-container--default.select2-container--focus .select2-selection--multiple {
|
|
|
|
border: none;
|
|
|
|
border: none;
|
|
|
|
outline: 0;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#chartdiv {
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
#chartdiv {
|
|
|
|
height: 800px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
height: 800px;
|
|
|
|
</style>
|
|
|
|
}
|
|
|
|
</asp:Content>
|
|
|
|
</style>
|
|
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
|
|
|
</asp:Content>
|
|
|
|
Reporte de Almacen Periodo
|
|
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
|
|
|
</asp:Content>
|
|
|
|
Reporte de Almacen Periodo
|
|
|
|
<asp:Content ID="Content4" ContentPlaceHolderID="HB" runat="Server">
|
|
|
|
</asp:Content>
|
|
|
|
<li>
|
|
|
|
<asp:Content ID="Content4" ContentPlaceHolderID="HB" runat="Server">
|
|
|
|
<asp:HyperLink NavigateUrl="#" data-toggle="modal" data-target="#DivVerEn" ID="VerEn" runat="server"> <i class="fa fa-pencil"></i> Ver En</asp:HyperLink>
|
|
|
|
<li>
|
|
|
|
</li>
|
|
|
|
<asp:HyperLink NavigateUrl="#" data-toggle="modal" data-target="#DivVerEn" ID="VerEn" runat="server"> <i class="fa fa-pencil"></i> Ver En</asp:HyperLink>
|
|
|
|
<asp:UpdatePanel ID="UpAcciones" runat="server" UpdateMode="Conditional">
|
|
|
|
</li>
|
|
|
|
<ContentTemplate>
|
|
|
|
<asp:UpdatePanel ID="UpAcciones" runat="server" UpdateMode="Conditional">
|
|
|
|
<li>
|
|
|
|
<ContentTemplate>
|
|
|
|
<asp:LinkButton ID="LnkVerGrafica" OnClick="LnkVerGrafica_Click" runat="server">Ver Grafica</asp:LinkButton>
|
|
|
|
<li>
|
|
|
|
</li>
|
|
|
|
<asp:LinkButton ID="LnkVerGrafica" OnClick="LnkVerGrafica_Click" runat="server">Ver Grafica</asp:LinkButton>
|
|
|
|
</ContentTemplate>
|
|
|
|
</li>
|
|
|
|
</asp:UpdatePanel>
|
|
|
|
</ContentTemplate>
|
|
|
|
<li>
|
|
|
|
</asp:UpdatePanel>
|
|
|
|
<asp:LinkButton ID="LnkPdf" OnClick="LnkPdf_Click" runat="server"><i class="fa fa-ad-pdf"></i> Genera PDF</asp:LinkButton>
|
|
|
|
<li>
|
|
|
|
</li>
|
|
|
|
<asp:LinkButton ID="LnkPdf" OnClick="LnkPdf_Click" runat="server"><i class="fa fa-ad-pdf"></i> Genera PDF</asp:LinkButton>
|
|
|
|
<li>
|
|
|
|
</li>
|
|
|
|
<asp:LinkButton ID="LnkEXCEL" OnClick="LnkEXCEL_Click" runat="server"><i class="fa fa-ad-excel"></i> Genera Excel</asp:LinkButton>
|
|
|
|
<li>
|
|
|
|
</li>
|
|
|
|
<asp:LinkButton ID="LnkEXCEL" OnClick="LnkEXCEL_Click" runat="server"><i class="fa fa-ad-excel"></i> Genera Excel</asp:LinkButton>
|
|
|
|
</asp:Content>
|
|
|
|
</li>
|
|
|
|
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
|
|
|
|
</asp:Content>
|
|
|
|
</asp:Content>
|
|
|
|
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
|
|
|
|
<asp:Content ID="Content6" ContentPlaceHolderID="HA" runat="Server">
|
|
|
|
</asp:Content>
|
|
|
|
</asp:Content>
|
|
|
|
<asp:Content ID="Content6" ContentPlaceHolderID="HA" runat="Server">
|
|
|
|
<asp:Content ID="Content7" ContentPlaceHolderID="C" runat="Server">
|
|
|
|
</asp:Content>
|
|
|
|
<asp:UpdatePanel ID="UpFiltros" runat="server" UpdateMode="Conditional">
|
|
|
|
<asp:Content ID="Content7" ContentPlaceHolderID="C" runat="Server">
|
|
|
|
<ContentTemplate>
|
|
|
|
<asp:UpdatePanel ID="UpFiltros" runat="server" UpdateMode="Conditional">
|
|
|
|
<div class="portlet solid grey-cascade portlet-filter">
|
|
|
|
<ContentTemplate>
|
|
|
|
<div class="portlet-title portlet-filterT smalltitle">
|
|
|
|
<div class="portlet solid grey-cascade portlet-filter" style="" id="filtros">
|
|
|
|
<div class="tools">
|
|
|
|
<div class="portlet-title portlet-filterT smalltitle" style="">
|
|
|
|
<asp:Button ID="BtnConsultar" runat="server" Text="Consultar" OnClick="BtnConsultar_Click" class="btn btn-primary" />
|
|
|
|
<div class="tools">
|
|
|
|
<a href="javascript;" data-idchekbox="<%= chkexpand.ClientID%>" class=" <%= IIf(chkexpand.Checked = True, "collapse", "expand")%>"></a>
|
|
|
|
<asp:Button ID="BtnConsultar" runat="server" Text="Consultar" OnClick="BtnConsultar_Click" class="btn btn-primary" />
|
|
|
|
<asp:CheckBox ID="chkexpand" CssClass="hidden" runat="server" />
|
|
|
|
<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 truncate" style="text-align: right!important">Fecha Corte:</div>
|
|
|
|
<div class="col-md-1 truncate" style="text-align: right!important">Fecha Corte:</div>
|
|
|
|
<div class="col-md-1 col-sm-1">
|
|
|
|
<div class="col-md-1 col-sm-1">
|
|
|
|
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 95px !important; padding: 0px;">
|
|
|
|
<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="TxtFechaCorte" runat="server" CssClass="form-control" MaxLength="10"></asp:TextBox>
|
|
|
|
<asp:TextBox Style="width: 80px !important;" ID="TxtFechaCorte" runat="server" CssClass="form-control" MaxLength="10"></asp:TextBox>
|
|
|
|
<span class="input-group-btn ">
|
|
|
|
<span class="input-group-btn ">
|
|
|
|
<asp:LinkButton ID="LnkFechaCorte" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
|
|
|
|
<asp:LinkButton ID="LnkFechaCorte" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<ajax:MaskedEditExtender ID="MEEFechaCorte" runat="server" TargetControlID="TxtFechaCorte" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
|
|
|
|
<ajax:MaskedEditExtender ID="MEEFechaCorte" runat="server" TargetControlID="TxtFechaCorte" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
|
|
|
|
<ajax:CalendarExtender runat="server" ID="CECorte" TargetControlID="TxtFechaCorte" PopupButtonID="LnkFechaCorte" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender>
|
|
|
|
<ajax:CalendarExtender runat="server" ID="CECorte" TargetControlID="TxtFechaCorte" PopupButtonID="LnkFechaCorte" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-1 truncate" style="text-align: right!important">Tipo Almacen:</div>
|
|
|
|
<div class="col-md-1 truncate" style="text-align: right!important">Tipo Almacen:</div>
|
|
|
|
<div class="col-md-1">
|
|
|
|
<div class="col-md-1">
|
|
|
|
<asp:ListBox ID="DdlTipoAlmacen" SelectionMode="Multiple" CssClass="form-control ddlFiltros input-sm select2me Widthall" DataTextField="TipoAlmacen" DataValueField="CveTipoAlmacen" Style="width: 100%;" runat="server"></asp:ListBox>
|
|
|
|
<asp:ListBox ID="DdlTipoAlmacen" SelectionMode="Multiple" CssClass="form-control ddlFiltros input-sm select2me Widthall" DataTextField="TipoAlmacen" DataValueField="CveTipoAlmacen" Style="width: 100%;" runat="server"></asp:ListBox>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-1 truncate" style="text-align: right!important">Modalidad:</div>
|
|
|
|
<div class="col-md-1 truncate" style="text-align: right!important">Modalidad:</div>
|
|
|
|
<div class="col-md-1">
|
|
|
|
<div class="col-md-1">
|
|
|
|
<asp:DropDownList ID="DdlModalidadFiltro" runat="server" CssClass="input-small input-sm select2me" Width="100%">
|
|
|
|
<asp:DropDownList ID="DdlModalidadFiltro" runat="server" CssClass="input-small input-sm select2me" Width="100%">
|
|
|
|
<asp:ListItem Text="Todas" Value="-1" Selected="True"> </asp:ListItem>
|
|
|
|
<asp:ListItem Text="Todas" Value="-1" Selected="True"> </asp:ListItem>
|
|
|
|
<asp:ListItem Text="Contable" Value="1"></asp:ListItem>
|
|
|
|
<asp:ListItem Text="Contable" Value="1"></asp:ListItem>
|
|
|
|
<asp:ListItem Text="No Contable" Value="0"></asp:ListItem>
|
|
|
|
<asp:ListItem Text="No Contable" Value="0"></asp:ListItem>
|
|
|
|
</asp:DropDownList>
|
|
|
|
</asp:DropDownList>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<asp:CheckBox ID="ChkInventariable" CssClass="md-checksd" runat="server" Text="Aplica Inventario" />
|
|
|
|
<div class="col-md-1">
|
|
|
|
</div>
|
|
|
|
<asp:CheckBox ID="ChkInventariable" CssClass="md-checksd" runat="server" Text="Aplica Inventario" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-1 truncate v-center" style="text-align: right!important">Almacen:</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-3 v-center">
|
|
|
|
</ContentTemplate>
|
|
|
|
<asp:ListBox ID="DdlAlmacen" SelectionMode="Multiple" CssClass="form-control ddlFiltros input-sm select2me Widthall" DataTextField="Almacen" DataValueField="CveAlmacen" Style="width: 100%;" runat="server"></asp:ListBox>
|
|
|
|
</asp:UpdatePanel>
|
|
|
|
</div>
|
|
|
|
<asp:UpdatePanel ID="UpDatos" runat="server" UpdateMode="Conditional">
|
|
|
|
</div>
|
|
|
|
<ContentTemplate>
|
|
|
|
</div>
|
|
|
|
<div class="row" style="margin-left: 0px; margin-top: 15px; margin-bottom: 5px; text-align: right; margin-right: 5px;" align="left">
|
|
|
|
</div>
|
|
|
|
<input type="text" id="TxtBusqueda" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", GVAlmacen.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
|
|
|
<div class="portlet-body" style="display: none;">
|
|
|
|
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", GVAlmacen.ClientID) %>" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
|
|
|
<div class="row">
|
|
|
|
</div>
|
|
|
|
<div class="col-md-1 truncate" style="text-align: right!important">Sucursal:</div>
|
|
|
|
<asp:GridView ID="GVAlmacen" runat="server" AutoGenerateColumns="False" OnRowDataBound="GVAlmacen_RowDataBound" data-sort="true" EmptyDataText="No se encontraron Almacenes"
|
|
|
|
<div class="col-md-3">
|
|
|
|
CssClass="table table-striped table-advance table-hover Widthall ScrollAD" GridLines="None" Width="99%" >
|
|
|
|
<asp:DropDownList ID="DdlSucursal" runat="server" CssClass="input-small input-sm select2me" Width="100%" DataTextField="SubProyecto" DataValueField="CveSubProyecto">
|
|
|
|
<Columns>
|
|
|
|
<asp:ListItem Text="Todas" Value="-1" Selected="True"> </asp:ListItem>
|
|
|
|
<asp:HyperLinkField HeaderText="Almacen" DataTextField="Almacen" DataNavigateUrlFields="CveAlmacen" DataNavigateUrlFormatString="/Inventarios/RepEntradasSalidas.aspx?CveAlmacen={0}" Target="_blank" ItemStyle-HorizontalAlign="Left" />
|
|
|
|
</asp:DropDownList>
|
|
|
|
<asp:BoundField HeaderText="Enero" DataField="Enero" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
</div>
|
|
|
|
<asp:BoundField HeaderText="Febrero" DataField="Febrero" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
<div class="cold-md-8"></div>
|
|
|
|
<asp:BoundField HeaderText="Marzo" DataField="Marzo" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
</div>
|
|
|
|
<asp:BoundField HeaderText="Abril" DataField="Abril" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
</div>
|
|
|
|
<asp:BoundField HeaderText="Mayo" DataField="Mayo" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
</div>
|
|
|
|
<asp:BoundField HeaderText="Junio" DataField="Junio" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
</ContentTemplate>
|
|
|
|
<asp:BoundField HeaderText="Julio" DataField="Julio" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
</asp:UpdatePanel>
|
|
|
|
<asp:BoundField HeaderText="Agosto" DataField="Agosto" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
<asp:UpdatePanel ID="UpDatos" runat="server" UpdateMode="Conditional">
|
|
|
|
<asp:BoundField HeaderText="Septiembre" DataField="Septiembre" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
<ContentTemplate>
|
|
|
|
<asp:BoundField HeaderText="Octubre" DataField="Octubre" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
<div class="row" style="margin-left: 0px; margin-top: 15px; margin-bottom: 5px; text-align: right; margin-right: 5px;" align="left">
|
|
|
|
<asp:BoundField HeaderText="Noviembre" DataField="Noviembre" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
<input type="text" id="TxtBusqueda" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", GVAlmacen.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
|
|
|
<asp:BoundField HeaderText="Diciembre" DataField="Diciembre" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", GVAlmacen.ClientID) %>" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
|
|
|
<asp:BoundField HeaderText="Total" DataField="Total" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
</div>
|
|
|
|
</Columns>
|
|
|
|
<asp:GridView ID="GVAlmacen" runat="server" AutoGenerateColumns="False" OnRowDataBound="GVAlmacen_RowDataBound" data-sort="true" EmptyDataText="No se encontraron Almacenes"
|
|
|
|
</asp:GridView>
|
|
|
|
CssClass="table table-striped table-advance table-hover Widthall ScrollAD" GridLines="None" Width="99%">
|
|
|
|
</ContentTemplate>
|
|
|
|
<Columns>
|
|
|
|
</asp:UpdatePanel>
|
|
|
|
<asp:HyperLinkField HeaderText="Almacen" DataTextField="Almacen" DataNavigateUrlFields="CveAlmacen" DataNavigateUrlFormatString="/Inventarios/RepEntradasSalidas.aspx?CveAlmacen={0}" Target="_blank" ItemStyle-HorizontalAlign="Left" />
|
|
|
|
<asp:UpdatePanel runat="server" ID="UpVerEn" UpdateMode="Conditional">
|
|
|
|
<asp:BoundField HeaderText="Enero" DataField="Enero" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
<ContentTemplate>
|
|
|
|
<asp:BoundField HeaderText="Febrero" DataField="Febrero" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
<div id="DivVerEn" class="modal fade" role="dialog">
|
|
|
|
<asp:BoundField HeaderText="Marzo" DataField="Marzo" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
<div class="modal-dialog">
|
|
|
|
<asp:BoundField HeaderText="Abril" DataField="Abril" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
<div class="modal-content">
|
|
|
|
<asp:BoundField HeaderText="Mayo" DataField="Mayo" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
<div class="modal-header">
|
|
|
|
<asp:BoundField HeaderText="Junio" DataField="Junio" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
|
<asp:BoundField HeaderText="Julio" DataField="Julio" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
<h4 class="modal-title">
|
|
|
|
<asp:BoundField HeaderText="Agosto" DataField="Agosto" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
<asp:Label ID="Label2" runat="server" ClientIDMode="Static" Text="Ver En:"></asp:Label></h4>
|
|
|
|
<asp:BoundField HeaderText="Septiembre" DataField="Septiembre" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
</div>
|
|
|
|
<asp:BoundField HeaderText="Octubre" DataField="Octubre" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
<div class="modal-body">
|
|
|
|
<asp:BoundField HeaderText="Noviembre" DataField="Noviembre" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
<table style="width: 335px;" class="table table-striped table-advance table-hover">
|
|
|
|
<asp:BoundField HeaderText="Diciembre" DataField="Diciembre" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
<tbody>
|
|
|
|
<asp:BoundField HeaderText="Total" DataField="Total" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
|
|
|
<tr>
|
|
|
|
</Columns>
|
|
|
|
<td style="text-align: left;">
|
|
|
|
</asp:GridView>
|
|
|
|
<asp:RadioButton ID="RblTotal" Checked="true" GroupName="GnVerEn" Text="Total" runat="server" /></td>
|
|
|
|
</ContentTemplate>
|
|
|
|
<td style="text-align: left;">
|
|
|
|
</asp:UpdatePanel>
|
|
|
|
<asp:RadioButton ID="RblExistencia" GroupName="GnVerEn" Text="Existencia" runat="server" /></td>
|
|
|
|
<asp:UpdatePanel runat="server" ID="UpVerEn" UpdateMode="Conditional">
|
|
|
|
</tr>
|
|
|
|
<ContentTemplate>
|
|
|
|
</tbody>
|
|
|
|
<div id="DivVerEn" class="modal fade" role="dialog">
|
|
|
|
</table>
|
|
|
|
<div class="modal-dialog">
|
|
|
|
</div>
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-footer">
|
|
|
|
<div class="modal-header">
|
|
|
|
<asp:Button ID="BtnVerEn" ClientIDMode="Static" runat="server" Text="Cargar" class="btn btn-success" OnClick="BtnVerEn_Click" />
|
|
|
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Cancelar</button>
|
|
|
|
<h4 class="modal-title">
|
|
|
|
</div>
|
|
|
|
<asp:Label ID="Label2" runat="server" ClientIDMode="Static" Text="Ver En:"></asp:Label></h4>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
</div>
|
|
|
|
<table style="width: 335px;" class="table table-striped table-advance table-hover">
|
|
|
|
</ContentTemplate>
|
|
|
|
<tbody>
|
|
|
|
</asp:UpdatePanel>
|
|
|
|
<tr>
|
|
|
|
<div id="DivModalGrafica" class="modal ADS fade" role="dialog">
|
|
|
|
<td style="text-align: left;">
|
|
|
|
<asp:UpdatePanel class="modal-dialog modal-lg" runat="server" ID="UpGrafica" UpdateMode="Conditional">
|
|
|
|
<asp:RadioButton ID="RblTotal" Checked="true" GroupName="GnVerEn" Text="Total" runat="server" /></td>
|
|
|
|
<ContentTemplate>
|
|
|
|
<td style="text-align: left;">
|
|
|
|
<div class="modal-content">
|
|
|
|
<asp:RadioButton ID="RblExistencia" GroupName="GnVerEn" Text="Existencia" runat="server" /></td>
|
|
|
|
<div class="modal-header">
|
|
|
|
</tr>
|
|
|
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
|
</tbody>
|
|
|
|
<h4 class="modal-title">
|
|
|
|
</table>
|
|
|
|
<asp:Label ID="LblTituloGrafica" runat="server" ClientIDMode="Static" Text="Almacenes"></asp:Label>
|
|
|
|
</div>
|
|
|
|
</h4>
|
|
|
|
<div class="modal-footer">
|
|
|
|
</div>
|
|
|
|
<asp:Button ID="BtnVerEn" ClientIDMode="Static" runat="server" Text="Cargar" class="btn btn-success" OnClick="BtnVerEn_Click" />
|
|
|
|
<div class="modal-body">
|
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Cancelar</button>
|
|
|
|
<div id="chartdiv"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<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 id="DivModalGrafica" class="modal ADS fade" role="dialog">
|
|
|
|
</asp:UpdatePanel>
|
|
|
|
<asp:UpdatePanel class="modal-dialog modal-lg" runat="server" ID="UpGrafica" UpdateMode="Conditional">
|
|
|
|
</div>
|
|
|
|
<ContentTemplate>
|
|
|
|
</asp:Content>
|
|
|
|
<div class="modal-content">
|
|
|
|
<asp:Content ID="Content8" ContentPlaceHolderID="JS" runat="Server">
|
|
|
|
<div class="modal-header">
|
|
|
|
<script src="https://www.amcharts.com/lib/3/amcharts.js"></script>
|
|
|
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
|
<script src="https://www.amcharts.com/lib/3/serial.js"></script>
|
|
|
|
<h4 class="modal-title">
|
|
|
|
<script src="https://www.amcharts.com/lib/3/plugins/export/export.min.js"></script>
|
|
|
|
<asp:Label ID="LblTituloGrafica" runat="server" ClientIDMode="Static" Text="Almacenes"></asp:Label>
|
|
|
|
<link rel="stylesheet" href="https://www.amcharts.com/lib/3/plugins/export/export.css" type="text/css" media="all" />
|
|
|
|
</h4>
|
|
|
|
<script src="https://www.amcharts.com/lib/3/themes/light.js"></script>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
|
|
|
<div id="chartdiv"></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
|
|
|
<button type="button" class="btn btn-danger" data-dismiss="modal">Cerrar</button>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</ContentTemplate>
|
|
|
|
|
|
|
|
</asp:UpdatePanel>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</asp:Content>
|
|
|
|
|
|
|
|
<asp:Content ID="Content8" ContentPlaceHolderID="JS" runat="Server">
|
|
|
|
|
|
|
|
<script src="https://www.amcharts.com/lib/3/amcharts.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>
|
|
|
|
|
|
|
|
<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 type="text/javascript">
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
|
|
|
|
function CargaGraficaLineas(data, graph) {
|
|
|
|
function CargaGraficaLineas(data, graph) {
|
|
|
|
var chart = AmCharts.makeChart("chartdiv", {
|
|
|
|
var chart = AmCharts.makeChart("chartdiv", {
|
|
|
|
"type": "serial",
|
|
|
|
"type": "serial",
|
|
|
|
"theme": "light",
|
|
|
|
"theme": "light",
|
|
|
|
"legend": {
|
|
|
|
"legend": {
|
|
|
|
"useGraphSettings": true,
|
|
|
|
"useGraphSettings": true,
|
|
|
|
"valueWidth": 150
|
|
|
|
"valueWidth": 150
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"dataProvider": data,
|
|
|
|
"dataProvider": data,
|
|
|
|
"startDuration": 0.5,
|
|
|
|
"startDuration": 0.5,
|
|
|
|
"graphs": graph,
|
|
|
|
"graphs": graph,
|
|
|
|
"chartCursor": {
|
|
|
|
"chartCursor": {
|
|
|
|
"cursorAlpha": 0,
|
|
|
|
"cursorAlpha": 0,
|
|
|
|
"zoomable": false
|
|
|
|
"zoomable": false
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"categoryField": "mes",
|
|
|
|
"categoryField": "mes",
|
|
|
|
"categoryAxis": {
|
|
|
|
"categoryAxis": {
|
|
|
|
"gridPosition": "start",
|
|
|
|
"gridPosition": "start",
|
|
|
|
"axisAlpha": 0,
|
|
|
|
"axisAlpha": 0,
|
|
|
|
"fillAlpha": 0.05,
|
|
|
|
"fillAlpha": 0.05,
|
|
|
|
"fillColor": "#000000",
|
|
|
|
"fillColor": "#000000",
|
|
|
|
"gridAlpha": 0,
|
|
|
|
"gridAlpha": 0,
|
|
|
|
"position": "top"
|
|
|
|
"position": "top"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"export": {
|
|
|
|
"export": {
|
|
|
|
"enabled": true,
|
|
|
|
"enabled": true,
|
|
|
|
"position": "bottom-right"
|
|
|
|
"position": "bottom-right"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
</asp:Content>
|
|
|
|
</asp:Content>
|
|
|
|
|
|
|
|
|
|
|
|
|