410 lines
28 KiB
Plaintext
410 lines
28 KiB
Plaintext
<%@ Page Title="Clasificaciones de Producto o Servicios" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="CatClasificaciones.aspx.vb" Inherits="CatClasificaciones" %>
|
||
|
||
<%@ 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">
|
||
Catálogo de Clasificaciones de Productos o Servicios
|
||
</asp:Content>
|
||
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
|
||
<asp:UpdatePanel runat="server">
|
||
<ContentTemplate>
|
||
<li>
|
||
<asp:LinkButton ID="HlAgregarClasificacion" runat="server"><i class="fa fa-plus"></i> Agregar Clasificación</asp:LinkButton>
|
||
</li>
|
||
<li>
|
||
<asp:LinkButton ID="LnkPersonalizar" runat="server" OnClick="LnkPersonalizar_Click"><i class="fa fa-pencil"></i> Personalizar Columnas</asp:LinkButton>
|
||
</li>
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
</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" id="idnecesaria">
|
||
<div class="portlet-title portlet-filterT smalltitle">
|
||
<div class="tools">
|
||
<asp:Button ID="BtnConsultar" OnClick="BtnConsultar_Click" runat="server" Text="Consultar" class="btn btn-primary" />
|
||
<a href="javascript:;" class="expand"></a>
|
||
</div>
|
||
<div class="titlefiltros caption">
|
||
<div class="row">
|
||
<label class="col-md-1 ">Categoria:</label>
|
||
<div class="col-md-2">
|
||
<asp:DropDownList ID="DdlCategoriaFiltro" runat="server" AppendDataBoundItems="true" DataTextField="Categoria" DataValueField="CveCategoria" Class="table-group-action-input form-control input-inline input-sm select2me" Width="100%">
|
||
</asp:DropDownList>
|
||
</div>
|
||
<label class="col-md-1 ">Tipo Clasificacion:</label>
|
||
<div class="col-md-1">
|
||
<asp:DropDownList ID="DdlTipoClasificacion" runat="server" AppendDataBoundItems="true" Class="table-group-action-input form-control input-inline input-sm select2me" Width="100%">
|
||
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
|
||
<asp:ListItem Text="Ingresos" Value="1"></asp:ListItem>
|
||
<asp:ListItem Text="Gasto" Value="2"></asp:ListItem>
|
||
<asp:ListItem Text="Ingresos/Gasto" Value="3"></asp:ListItem>
|
||
</asp:DropDownList>
|
||
</div>
|
||
<label class="col-md-1 ">Estatus:</label>
|
||
<div class="col-md-1">
|
||
<asp:DropDownList ID="DdlEstatus" runat="server" AppendDataBoundItems="true" Class="table-group-action-input form-control input-inline input-sm select2me" Width="100%">
|
||
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
|
||
<asp:ListItem Text="Activo" Value="1"></asp:ListItem>
|
||
<asp:ListItem Text="Inactivo" Value="0"></asp:ListItem>
|
||
</asp:DropDownList>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="portlet-body" style="display: none;">
|
||
</div>
|
||
</div>
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
<asp:UpdatePanel ID="UpDatos" runat="server" UpdateMode="Conditional">
|
||
<ContentTemplate>
|
||
<div align="right">
|
||
<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:Button ID="BtnCargarCuentas" runat="server" ClientIDMode="Static" Text="CargaCuentas" Style="display: none;" />
|
||
<asp:HiddenField ID="HdnCuenta" runat="server" ClientIDMode="Static" Value="0" />
|
||
<asp:Button ID="BtnCargarCuentasEdit" runat="server" ClientIDMode="Static" Text="CargaCuentas2" Style="display: none;" />
|
||
<asp:HiddenField ID="HiddenField2" runat="server" ClientIDMode="Static" Value="0" />
|
||
<div>
|
||
<asp:GridView ID="GvDatos" runat="server" data-sort="true" AutoGenerateColumns="False"
|
||
DataKeyNames="CveClasificacion, CveCategoria, Clasificacion, UsoClasificacion, CuentaGasto, RequiereSerieLote,CveSATPS,SATClaveProductoServicio, RequiereAFCompra, RequiereAFInsumo, RequierePersonal, Estatus,EsAcumulador,TopVentas,TopCompras,PrecioBaseCosto,CveCuentaAsignacionGasto, CveCuentaGasto" EmptyDataText="No se encontraron Clasificaciones Registradas" ToolTip="Listado de Clasificaciones" CssClass="table table-striped table-advance table-hover Widthall ScrollAD mysmallbtn" GridLines="None">
|
||
<Columns>
|
||
<asp:TemplateField HeaderText="Clasificación">
|
||
<ItemTemplate>
|
||
<asp:Label ID="LtlClasificacion" runat="server" Text='<%# Eval("Clasificacion", "{0}") %>' Style="word-break: break-all;"></asp:Label>
|
||
</ItemTemplate>
|
||
<EditItemTemplate>
|
||
<asp:TextBox ID="TxtClasificacion" runat="server" CausesValidation="true" MaxLength="200" Text='<%# Eval("Clasificacion") %>' ValidationGroup="GrpGV" Width="184px"></asp:TextBox>
|
||
<asp:RequiredFieldValidator ID="RFVClasificacion" runat="server" ControlToValidate="TxtClasificacion" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Clasificación''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGV"></asp:RequiredFieldValidator>
|
||
<ajax:ValidatorCalloutExtender ID="VCClasificacion" runat="server" HighlightCssClass="vco" TargetControlID="RFVClasificacion" Width="300px"></ajax:ValidatorCalloutExtender>
|
||
</EditItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField HeaderText="Cuenta Gasto">
|
||
<ItemTemplate>
|
||
<asp:Label ID="LtlCuentaGasto" runat="server" Text='<%# Eval("CuentaGasto")%>' Style="word-break: break-all;"></asp:Label>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField HeaderText="Cuenta Costos">
|
||
<ItemTemplate>
|
||
<asp:Label ID="LtlCuentaCosto" runat="server" Text=''></asp:Label>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField HeaderText="Cuenta Ingresos">
|
||
<ItemTemplate>
|
||
<asp:Label ID="LtlCuentaIngresos" runat="server" Text=''></asp:Label>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField HeaderText="Categoría">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="LtlCategoria" runat="server" Text='<%# Eval("Categoria")%>'></asp:Literal>
|
||
</ItemTemplate>
|
||
<EditItemTemplate>
|
||
<asp:DropDownList ID="DdlCategoria" CssClass="form-control input-sm select2me" DataTextField="Categoria" DataValueField="CveCategoria" runat="server" Width="110px"></asp:DropDownList>
|
||
</EditItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField HeaderText="Req. Serie" ItemStyle-Width="60px" Visible="false">
|
||
|
||
<ItemTemplate>
|
||
<asp:Literal ID="LtlRequiereSerieLote" runat="server" Text='<%# If(Eval("RequiereSerieLote").ToString = "True", "Si", "No") %>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField HeaderText="Estatus">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="LtlEstado" runat="server" Text='<%# Eval("Estatus") %>'></asp:Literal>
|
||
</ItemTemplate>
|
||
<EditItemTemplate>
|
||
<asp:CheckBox ID="ChkEstado" runat="server" Checked='<%# If(Eval("Estatus").ToString = "Activo", True, False) %>' />
|
||
</EditItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="LtlFecha" runat="server" Text='<%# Eval("Fecha", "{0:d}") %>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Usuario" ItemStyle-HorizontalAlign="Left" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="LtlUsuario" runat="server" Text='<%# Eval("Usuario") %>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
|
||
<asp:TemplateField HeaderText="Uso Clasif." ItemStyle-Width="20px">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="LtlUsoClasif" runat="server" Text='<%# Eval("UsoClasif")%>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField HeaderText="Producto SAT" ItemStyle-Width="50px" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="LtlSATClaveProductoServicio" runat="server" Text='<%# Eval("SATClaveProductoServicio")%>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField HeaderText="Req. AF<br />Compra" ItemStyle-Width="60px" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="LtlRequiereAFCompra" runat="server" Text='<%# If(Eval("RequiereAFCompra").ToString = "True", "Si", "No") %>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField HeaderText="Req. AF<br />Insumo" ItemStyle-Width="60px" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="LtlRequiereAFInsumo" runat="server" Text='<%# If(Eval("RequiereAFInsumo").ToString = "True", "Si", "No") %>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField HeaderText="Req.<br />Personal" ItemStyle-Width="60px" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="LtlRequirePersonal" runat="server" Text='<%# If(Eval("RequierePersonal").ToString = "True", "Si", "No") %>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField ItemStyle-Width="5%" HeaderText="" ItemStyle-HorizontalAlign="Center">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="imgE" runat="server" AlternateText="Editar" CausesValidation="False" OnClick="ActualizaClasificacion" CssClass="btn btn-circle btn-sm green" Text="<i class='fa fa-pencil'></i>" />
|
||
|
||
<asp:LinkButton ID="imgD" runat="server" AlternateText="Eliminar" CausesValidation="False" CommandName="Delete" CssClass="btn btn-circle btn-sm red" Text="<i class='icon-trash'></i>" data-toggle="confirmation" data-popout="true" data-original-title="Confirmar" data-btn-ok-label="si" />
|
||
</ItemTemplate>
|
||
<ItemStyle Width="80" />
|
||
</asp:TemplateField>
|
||
|
||
|
||
</Columns>
|
||
</asp:GridView>
|
||
</div>
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
<asp:UpdatePanel runat="server" UpdateMode="Conditional" ID="UpModal">
|
||
<ContentTemplate>
|
||
<div id="ModalClasificaciones" class="modal ADS fade" role="dialog">
|
||
<div class="modal-dialog" style="width: 450px;">
|
||
<asp:UpdatePanel runat="server" class="modal-content" ID="UpModalClasif" UpdateMode="Conditional">
|
||
<ContentTemplate>
|
||
<div class="modal-header ">
|
||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||
<h4 class="modal-title">
|
||
<asp:Literal ID="LtlTituloModal" runat="server">Agregar Clasificación</asp:Literal></h4>
|
||
</div>
|
||
<div class="modal-body">
|
||
|
||
<div class="form-group form-md-line-input input-iconright">
|
||
<asp:TextBox ID="TxtClasificacion" CssClass="form-control " runat="server" MaxLength="50" CausesValidation="true"></asp:TextBox>
|
||
<asp:RequiredFieldValidator ID="RFVClasificacion" runat="server" ControlToValidate="TxtClasificacion" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>'¨Clasificación''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
||
<label for="<%= TxtClasificacion.ClientID.ToString()%>">Clasificación:</label>
|
||
</div>
|
||
|
||
<br />
|
||
|
||
<div class="row">
|
||
<div class="col-md-8">
|
||
<div class="form-group form-md-line-input input-iconright">
|
||
<asp:DropDownList ID="DdlCategoria" CssClass="form-control input-sm select2me js-cuenta-programmatic" runat="server" AppendDataBoundItems="true" DataTextField="Categoria" DataValueField="CveCategoria" Width="340px" ValidationGroup="GrpGuardar"></asp:DropDownList>
|
||
<label for="<%= DdlCategoria.ClientID.ToString()%>">Categoría:</label>
|
||
</div>
|
||
|
||
<div class="form-group form-md-line-input input-iconright">
|
||
<asp:DropDownList ID="DdlUsoClasificacion" CssClass="form-control input-sm select2me js-cuenta-programmatic" runat="server" AppendDataBoundItems="true" Width="340px" ValidationGroup="GrpGuardar">
|
||
<asp:ListItem Text="Ingresos" Value="1"></asp:ListItem>
|
||
<asp:ListItem Text="Gasto" Value="2"></asp:ListItem>
|
||
<asp:ListItem Text="Ingresos/Gasto" Value="3"></asp:ListItem>
|
||
</asp:DropDownList>
|
||
<label for="<%= DdlUsoClasificacion.ClientID.ToString()%>">Uso Clasificación:</label>
|
||
</div>
|
||
|
||
|
||
<div class="form-group input-iconright" id="DivCuentaGasto" runat="server">
|
||
<asp:HiddenField ID="HdnCveCuentaAsignacion" runat="server" />
|
||
<label for="<%= DdlCuentaGasto.ClientID.ToString()%>" style="color: #888888; font-size: 13px;">Cuenta Gasto:</label>
|
||
<asp:DropDownList ID="DdlCuentaGasto" CssClass="form-control input-sm js-cuenta-programmatic" runat="server" AppendDataBoundItems="true" DataTextField="CtaCodigo" DataValueField="Id" Width="340px"></asp:DropDownList>
|
||
</div>
|
||
|
||
|
||
<div class="form-group input-iconright" id="DivCuentaCostos" visible="false" runat="server">
|
||
<label for="<%= DdlCuentaCostos.ClientID.ToString()%>" style="color: #888888; font-size: 13px;">Cuenta Costos:</label>
|
||
<asp:DropDownList ID="DdlCuentaCostos" CssClass="form-control input-sm js-cuenta-programmatic" runat="server" AppendDataBoundItems="true" DataTextField="CtaCodigo" DataValueField="Id" Width="340px"></asp:DropDownList>
|
||
</div>
|
||
|
||
|
||
<div class="form-group input-iconright" id="DivCuentaIngresos" visible="false" runat="server">
|
||
<label for="<%= DdlCuentaIngresos.ClientID.ToString()%>" style="color: #888888; font-size: 13px;">Cuenta Ingresos:</label>
|
||
<asp:DropDownList ID="DdlCuentaIngresos" CssClass="form-control input-sm js-cuenta-programmatic" runat="server" AppendDataBoundItems="true" DataTextField="CtaCodigo" DataValueField="Id" Width="340px"></asp:DropDownList>
|
||
</div>
|
||
<div class="form-group form-md-line-input input-iconright" runat="server" id="DivPSSAT">
|
||
<ADS:Dropdownlost runat="server" ID="DdlSATPS" CssStyle="width: 340px;" CssClass="form-control input-sm select2me" DataTextField="Descripcion" DataValueField="CveSATPS" />
|
||
<label for="<%= DdlSATPS.ClientID.ToString()%>">Producto Servicio SAT:</label>
|
||
</div>
|
||
</div>
|
||
<div class="col-md-4">
|
||
<div class="form-group form-md-line-input" runat="server">
|
||
<asp:TextBox ID="TxtPrecioBaseCosto" CssClass="form-control" Width="130px" MaxLength="5" runat="server" CausesValidation="true" Style="text-align: right!important" OnKeyup="FormatoMoneda(this);"></asp:TextBox>
|
||
<label for="<%= TxtPrecioBaseCosto.ClientID.ToString()%>" style="width: 130px;">Precio Base Costo:</label>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<br />
|
||
|
||
<div class="row">
|
||
<div class="col-md-6">
|
||
<div class="form-group form-md-line-input input-iconright">
|
||
<label for="<%= ChkEstatus.ClientID.ToString()%>" style="width: 130px;">Estatus:</label>
|
||
<asp:CheckBox runat="server" ID="ChkEstatus" Checked="true" CssClass="make-switchsd" />
|
||
</div>
|
||
<div id="DivRequiereSerieLote" runat="server" class="form-group form-md-line-input input-iconright" visible="false">
|
||
<label for="<%= ChkRequiereSerieLote.ClientID.ToString()%>" style="width: 130px;">Requiere Serie:</label>
|
||
<asp:CheckBox ID="ChkRequiereSerieLote" runat="server" CssClass="make-switchsd" />
|
||
</div>
|
||
<div class="form-group form-md-line-input" runat="server">
|
||
<label for="<%= ChkRequiereAFCompra.ClientID.ToString()%>" style="width: 130px;">Requiere AF Compra:</label>
|
||
<asp:CheckBox ID="ChkRequiereAFCompra" Checked="false" CssClass="make-switchsd" runat="server" />
|
||
</div>
|
||
<div class="form-group form-md-line-input" runat="server">
|
||
<label for="<%= ChkRequiereAFInsumo.ClientID.ToString()%>" style="width: 130px;">Requiere AF Insumo:</label>
|
||
<asp:CheckBox ID="ChkRequiereAFInsumo" Checked="false" CssClass="make-switchsd" runat="server" />
|
||
</div>
|
||
<div class="form-group form-md-line-input" runat="server">
|
||
<label for="<%= ChkRequierePersonal.ClientID.ToString()%>" style="width: 130px;">Requiere Personal:</label>
|
||
<asp:CheckBox ID="ChkRequierePersonal" Checked="false" runat="server" CssClass="make-switchsd" />
|
||
</div>
|
||
<div runat="server" id="DivEsAcumulador" visible="false" class="form-group form-md-line-input input-iconright">
|
||
<label style="width: 130px;">Es Acumulador: </label>
|
||
<asp:CheckBox ID="ChkEsAcumulador" runat="server" CssClass="make-switchsd" Text="" ClientIDMode="Static" />
|
||
</div>
|
||
</div>
|
||
<div class="col-md-6">
|
||
<div class="form-group form-md-line-input" runat="server">
|
||
<label for="<%= ChkTopVentas.ClientID.ToString()%>" style="width: 130px;">TOP 10 Ventas:</label>
|
||
<asp:CheckBox ID="ChkTopVentas" Checked="false" runat="server" CssClass="make-switchsd" />
|
||
</div>
|
||
<div class="form-group form-md-line-input" runat="server">
|
||
<label for="<%= ChkTopCompras.ClientID.ToString()%>" style="width: 130px;">TOP 10 Compras:</label>
|
||
<asp:CheckBox ID="ChkTopCompras" Checked="false" runat="server" CssClass="make-switchsd" />
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="modal-footer">
|
||
<asp:LinkButton ID="LbAgregar" runat="server" class="btn btn-success" Text="Agregar" ValidationGroup="GrpGuardar" />
|
||
<button id="BtnCancelarProyecto" runat="server" type="button" class="btn default" data-dismiss="modal">Cancelar</button>
|
||
</div>
|
||
<asp:HiddenField ID="HdnModalidadClasificacion" runat="server" Value="A" ClientIDMode="Static" />
|
||
<asp:HiddenField ID="HdnIDClasificacion" runat="server" Value="-1" ClientIDMode="Static" />
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
</div>
|
||
</div>
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
<asp:UpdatePanel runat="server" ID="UPPersonalizar" UpdateMode="Conditional">
|
||
<ContentTemplate>
|
||
<div id="DivPersonalizar" class="modal fade" role="dialog">
|
||
<div class="modal-dialog">
|
||
|
||
<!-- Modal content-->
|
||
<div class="modal-content">
|
||
<div class="modal-header">
|
||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||
<h4 class="modal-title">
|
||
<asp:Label ID="Label1" runat="server" ClientIDMode="Static" Text="Personalizar Columnas"></asp:Label></h4>
|
||
</div>
|
||
<div class="modal-body">
|
||
<table style="width: 598px; margin-bottom: 0px !important;" class="table table-advance ">
|
||
<tbody>
|
||
<tr>
|
||
<td runat="server" id="TDReqSerie" style="text-align: left;" visible="false">
|
||
<asp:CheckBox ID="ChkReqSerie" runat="server" Text="Requiere Serie" />
|
||
</td>
|
||
<td style="text-align: left;">
|
||
<asp:CheckBox ID="ChkReqAFCompra" runat="server" Text="Requiere AF Compra" />
|
||
</td>
|
||
<td style="text-align: left;">
|
||
<asp:CheckBox ID="ChkReqAFInsumo" runat="server" Text="Requiere AF Insumo" />
|
||
</td>
|
||
<td style="text-align: left;">
|
||
<asp:CheckBox ID="ChkReqPersonal" runat="server" Text="Requiere Personal" />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td style="text-align: left;" colspan="1">
|
||
<asp:CheckBox ID="ChkUsuario" runat="server" Text="Usuario" />
|
||
</td>
|
||
<td style="text-align: left;" colspan="3">
|
||
<asp:CheckBox ID="ChkProductoSAT" runat="server" Text="Producto SAT" />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="4"></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<div class="modal-footer">
|
||
<asp:Button ID="BtnPersonalizar" OnClick="BtnPersonalizar_Click" runat="server" Text="Personalizar" class="btn btn-success" />
|
||
<%--OnClientClick="javascript:$('#DivPersonalizar').modal('hide')"--%>
|
||
<button type="button" class="btn btn-default" data-dismiss="modal">Cancelar</button>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
</asp:Content>
|
||
<asp:Content ID="Content7" ContentPlaceHolderID="JS" runat="Server">
|
||
|
||
<script>
|
||
function SetText(ObjFrom, ObjTo) {
|
||
ObjTo.value = ObjFrom.value;
|
||
}
|
||
|
||
function CargaCuentas(op) {
|
||
$get("HdnCuenta").value = op;
|
||
$("#BtnCargarCuentas").click();
|
||
}
|
||
|
||
function CargaCuentas2(op) {
|
||
$get("HiddenField2").value = op;
|
||
$("#BtnCargarCuentasEdit").click();
|
||
}
|
||
|
||
function fnCxP() {
|
||
|
||
$("#BtnRecargaCxP").click();
|
||
}
|
||
|
||
function pageLoad() {
|
||
var isAsyncPostback = Sys.WebForms.PageRequestManager.getInstance().get_isInAsyncPostBack();
|
||
if (isAsyncPostback) {
|
||
tb_init('a.thickbox');
|
||
}
|
||
}
|
||
$(document).ready(function () {
|
||
|
||
var Alto = 300
|
||
|
||
$('#gv-container').css({ 'max-height': Alto + 'px' });
|
||
|
||
|
||
});
|
||
|
||
|
||
|
||
|
||
</script>
|
||
</asp:Content>
|