This commit is contained in:
@@ -10,12 +10,32 @@
|
||||
|
||||
table.table > tbody > tr.Grupo1 {
|
||||
background-color: #CCC !important;
|
||||
cursor:pointer;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
table.table > tbody > tr.Grupo2 {
|
||||
background-color: #DDD !important;
|
||||
cursor:pointer;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.GVRepConciliacionSatGET > tbody > tr > td:not(:nth-child(1)) {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.GVRepConciliacionSatGET tr:not(.Grupo0):not(.Grupo3) .showhideicon {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
font-size: 7px;
|
||||
display: block;
|
||||
background-image: url(/Metronic/assets/global/img/portlet-collapse-icon-white.png);
|
||||
}
|
||||
|
||||
.GVRepConciliacionSatGET tr:not(.Grupo0):not(.Grupo3).hidex .showhideicon {
|
||||
background-image: url(/Metronic/assets/global/img/portlet-expand-icon-white.png);
|
||||
}
|
||||
|
||||
.GVRepConciliacionSatGET .bactions {
|
||||
width: 5px;
|
||||
}
|
||||
</style>
|
||||
</asp:Content>
|
||||
@@ -25,7 +45,7 @@
|
||||
<asp:Content ID="Content4" ContentPlaceHolderID="HB" runat="Server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
|
||||
<li><a onclick="javascript:AbrirVentana('/Ventas/SolicitudesSAT.aspx?Masterimpoup=true',1400);"><i class="fa fa-dropbox"></i>Solicitudes SAT </a></li>
|
||||
<li><a onclick="javascript:AbrirVentana('/Ventas/SolicitudesSAT.aspx?tipo=2&Masterimpoup=true',1400);"><i class="fa fa-dropbox"></i>Solicitudes SAT </a></li>
|
||||
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content6" ContentPlaceHolderID="HA" runat="Server">
|
||||
@@ -42,8 +62,8 @@
|
||||
</div>
|
||||
<div class="titlefiltros caption">
|
||||
<div class="row">
|
||||
<label class="col-md-1" style="padding-top: 13px; display:none;">Tipo: </label>
|
||||
<div class="col-md-2" style="display:none;">
|
||||
<label class="col-md-1" style="padding-top: 13px; display: none;">Tipo: </label>
|
||||
<div class="col-md-2" style="display: none;">
|
||||
<asp:ListBox ID="DdlTipoComprobante" data-text="Todos" SelectionMode="Multiple" CssClass="form-control ddlFiltros input-sm select2me Widthall" Style="width: 100%;" runat="server">
|
||||
<asp:ListItem Text="Ingresos" Value="Ing"></asp:ListItem>
|
||||
<asp:ListItem Text="Egresos" Value="Egs"></asp:ListItem>
|
||||
@@ -99,7 +119,7 @@
|
||||
</asp:UpdatePanel>
|
||||
<asp:UpdatePanel ID="upDatosRepC" runat="server" UpdateMode="Conditional">
|
||||
<ContentTemplate>
|
||||
<asp:GridView ID="GVRepConciliacionSatGET" runat="server" GridLines="None" CssClass="table table-hover table-striped ScrollAD Widthall" AutoGenerateColumns="False"
|
||||
<asp:GridView ID="GVRepConciliacionSatGET" runat="server" GridLines="None" CssClass="table table-hover table-striped ScrollAD Widthall GVRepConciliacionSatGET" AutoGenerateColumns="False"
|
||||
DataKeyNames="anio,Mes,MesText,Dia,GRUPOCve,Grupo,CFDISIG,CFDISAT,CFDISIGSinSAT,CFDISATSinSIG" OnRowDataBound="GVRepConciliacionSatGET_RowDataBound">
|
||||
<Columns>
|
||||
<asp:TemplateField HeaderText=" ">
|
||||
@@ -109,26 +129,36 @@
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="SIG">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblcFDISIG" runat="server" Text='<%# Eval("CFDISIG")%>'> </asp:Label>
|
||||
<asp:HyperLink ID="HypSIG" runat="server"><%# Eval("CFDISIG")%></asp:HyperLink>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="SAT">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblcFDISAT" runat="server" Text='<%# Eval("CFDISAT")%>'> </asp:Label>
|
||||
<asp:HyperLink ID="HypSAT" runat="server"><%# Eval("CFDISAT")%></asp:HyperLink>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Sin Encontrar SAT">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblcFDISIGSinSAT" runat="server" Text='<%# Eval("CFDISIGSinSAT")%>'> </asp:Label>
|
||||
<asp:HyperLink ID="HypSIGnoSAT" runat="server"><%# Eval("CFDISIGSinSAT")%></asp:HyperLink>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Sin Encontrar SIG">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblcFDISATSinSIG" runat="server" Text='<%# Eval("CFDISATSinSIG")%>'> </asp:Label>
|
||||
<asp:HyperLink ID="HypSatnoSIG" runat="server"><%# Eval("CFDISATSinSIG")%></asp:HyperLink>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderStyle-CssClass="bactions">
|
||||
<ItemTemplate>
|
||||
<span class="showhideicon"></span>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderStyle-CssClass="bactions">
|
||||
<ItemTemplate>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<%--<CR:CrystalReportViewer ID="reports" runat="server" AutoDataBind="true"></CR:CrystalReportViewer>--%>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
</asp:Content>
|
||||
@@ -138,7 +168,7 @@
|
||||
var Grupo2hide = [];
|
||||
$('body').on('click', 'tr.Grupo2 ', function (e) {
|
||||
let gmes = $(this).attr('gmes');
|
||||
|
||||
|
||||
if (Grupo3Show.indexOf(gmes) >= 0) {
|
||||
Grupo3Show.pop(gmes);
|
||||
} else {
|
||||
@@ -148,7 +178,7 @@
|
||||
showhideg3();
|
||||
});
|
||||
function showhideg3() {
|
||||
|
||||
|
||||
$('.Grupo3').hide();
|
||||
$('.Grupo3').each(function () {
|
||||
let gmes = $(this).attr('gmes');
|
||||
@@ -157,10 +187,18 @@
|
||||
$(this).show();
|
||||
}
|
||||
});
|
||||
//
|
||||
$('.Grupo2').removeClass('hidex');
|
||||
$('.Grupo2').each(function () {
|
||||
let gmes = $(this).attr('gmes');
|
||||
if (Grupo3Show.indexOf(gmes) == -1) {
|
||||
$(this).addClass('hidex');
|
||||
}
|
||||
});
|
||||
}
|
||||
$('body').on('click', 'tr.Grupo1 ', function (e) {
|
||||
let ganio = $(this).attr('ganio');
|
||||
|
||||
|
||||
if (Grupo2hide.indexOf(ganio) >= 0) {
|
||||
Grupo2hide.pop(ganio);
|
||||
} else {
|
||||
@@ -171,7 +209,7 @@
|
||||
showhideg2();
|
||||
});
|
||||
function showhideg2() {
|
||||
|
||||
|
||||
$('.Grupo2').show();
|
||||
$('.Grupo2').each(function () {
|
||||
let ganio = $(this).attr('ganio')
|
||||
@@ -179,6 +217,15 @@
|
||||
$(this).hide();
|
||||
}
|
||||
});
|
||||
|
||||
$('.Grupo1').removeClass('hidex');
|
||||
$('.Grupo1').each(function () {
|
||||
let gmes = $(this).attr('gmes');
|
||||
let ganio = $(this).attr('ganio');
|
||||
if (Grupo2hide.indexOf(gmes) > -1) {
|
||||
$(this).addClass('hidex');
|
||||
}
|
||||
});
|
||||
}
|
||||
function ADSBegin() {
|
||||
showhideg3();
|
||||
|
||||
Reference in New Issue
Block a user