-- simplificación
This commit is contained in:
88
Site.master
88
Site.master
@@ -645,35 +645,7 @@
|
||||
<!-- END QUICK SIDEBAR -->
|
||||
</div>
|
||||
<!-- END CONTAINER -->
|
||||
|
||||
|
||||
<%-- MODAL SOPORTE --%>
|
||||
<%-- <div class="modal ADS fade" id="ModalSoporte" tabindex="-1" style="vertical-align: middle; text-align: center;">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title">Soporte</h4>
|
||||
</div>
|
||||
|
||||
<div class="modal-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
hola
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>--%>
|
||||
<%-- END MODAL SOPORTE --%>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- BEGIN FOOTER -->
|
||||
<%--<div class="page-footer" runat="server" id="divfooter">
|
||||
@@ -688,63 +660,7 @@
|
||||
<!-- END FOOTER -->
|
||||
|
||||
<!-- END JAVASCRIPTS -->
|
||||
|
||||
<asp:Panel runat="server" ID="pnlNotificacionSAT" Visible="false" CssClass="modal ADS fade" role="dialog">
|
||||
<asp:UpdatePanel ID="UpNotificacionesFoliosSAT" class="modal-dialog" tabindex="-1" runat="server" UpdateMode="Conditional">
|
||||
<ContentTemplate>
|
||||
<div class="modal-content rowpadding">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
<h4 class="modal-title" runat="server" style="text-align: left">Folios descargados</h4>
|
||||
</div>
|
||||
<div class="modal-body" style="min-width: 1000px;">
|
||||
<asp:TextBox ID="TxtCveNotisat" CssClass="hidden" runat="server"></asp:TextBox><asp:Button ID="btnoknotisat" OnClick="btnoknotisat_Click" CssClass="hidden" runat="server" Text="Button" />
|
||||
|
||||
<asp:GridView ID="GVnotiFoliosSAT" runat="server" GridLines="None" CssClass="table table-hover table-striped ScrollAD Widthall GVFoliosSAT" AutoGenerateColumns="False"
|
||||
DataKeyNames="UUID" data-sort="2">
|
||||
<Columns>
|
||||
<asp:TemplateField HeaderText="Folio Fiscal ">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" Text='<%# Eval("UUID")%>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Tipo Comprobante">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" Text='<%# Eval("TipoComprobante")%>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="RFC">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" Text='<%# Eval("RFCDe")%>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Serie - Folio ">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" Text='<%# Eval("SerieFolio")%>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Fecha">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" Text='<%# Eval("FechaFactura","{0: dd/MM/yyyy}")%>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Total" ItemStyle-HorizontalAlign="Right">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" Text='<%# Eval("Total","{0:N2}")%>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-danger" data-dismiss="modal">Cancelar</button>
|
||||
</div>
|
||||
</div>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
</asp:Panel>
|
||||
|
||||
<div id="pogresspostback" class="hidden" style="z-index: 10000;" runat="server">
|
||||
<div style="width: 200px; position: absolute; margin: 0 0 0 -100px; top: 50%; left: 50%; background-color: transparent;">
|
||||
<div class="loading-spinner" style="width: 300px;">
|
||||
|
||||
@@ -461,21 +461,21 @@ Partial Class Site
|
||||
End If
|
||||
OC.Dispose()
|
||||
End If
|
||||
If UsuarioActual.TienePermisoProceso(303) Then
|
||||
Using objgen As New ClsGenerales
|
||||
pnlNotificacionSAT.Visible = True
|
||||
objgen.SAT_DescargaSolicitudesAddNotificacionesCOUNT(UsuarioActual.CveEmpresa)
|
||||
If objgen.DtResultados.Rows.Count > 0 Then
|
||||
For Each dtrow As DataRow In objgen.DtResultados.Rows
|
||||
If dtrow("Contador").ToString().ToEntero() > 0 Then
|
||||
Notificaciones.Append(ItemNotificaciones(String.Format("Se registro una solicitud de descarga del SAT con {0} XML", dtrow("Contador")), Ico:="fa fa-tags", Tipo:="info", Link:=String.Format("javascript:$('#{0}').val({1});$('#{2}').click();", TxtCveNotisat.ClientID, dtrow("CveSolicitudSat").ToString().ToEntero(), btnoknotisat.ClientID), tonewpage:=False)) '
|
||||
countNotificaciones = countNotificaciones + 1
|
||||
'If UsuarioActual.TienePermisoProceso(303) Then
|
||||
' Using objgen As New ClsGenerales
|
||||
' pnlNotificacionSAT.Visible = True
|
||||
' objgen.SAT_DescargaSolicitudesAddNotificacionesCOUNT(UsuarioActual.CveEmpresa)
|
||||
' If objgen.DtResultados.Rows.Count > 0 Then
|
||||
' For Each dtrow As DataRow In objgen.DtResultados.Rows
|
||||
' If dtrow("Contador").ToString().ToEntero() > 0 Then
|
||||
' Notificaciones.Append(ItemNotificaciones(String.Format("Se registro una solicitud de descarga del SAT con {0} XML", dtrow("Contador")), Ico:="fa fa-tags", Tipo:="info", Link:=String.Format("javascript:$('#{0}').val({1});$('#{2}').click();", TxtCveNotisat.ClientID, dtrow("CveSolicitudSat").ToString().ToEntero(), btnoknotisat.ClientID), tonewpage:=False)) '
|
||||
' countNotificaciones = countNotificaciones + 1
|
||||
|
||||
End If
|
||||
Next
|
||||
End If
|
||||
End Using
|
||||
End If
|
||||
' End If
|
||||
' Next
|
||||
' End If
|
||||
' End Using
|
||||
'End If
|
||||
|
||||
''OC Pendientes por atender
|
||||
'Dim OC As New ClsOC
|
||||
@@ -556,14 +556,14 @@ Partial Class Site
|
||||
#End Region
|
||||
Protected Sub btnoknotisat_Click(sender As Object, e As EventArgs)
|
||||
|
||||
GVnotiFoliosSAT.DataSource = New DataTable()
|
||||
Using objgen As New ClsGenerales
|
||||
objgen.SAT_DescargaSolicitudesAddNotificaciones(UsuarioActual.CveEmpresa, TxtCveNotisat.Text.ToEntero())
|
||||
GVnotiFoliosSAT.DataSource = objgen.DtResultados
|
||||
End Using
|
||||
GVnotiFoliosSAT.DataBind()
|
||||
UpNotificacionesFoliosSAT.Update()
|
||||
RegistraScript(String.Format("$('#{0}').modal();", pnlNotificacionSAT.ClientID))
|
||||
'GVnotiFoliosSAT.DataSource = New DataTable()
|
||||
'Using objgen As New ClsGenerales
|
||||
' objgen.SAT_DescargaSolicitudesAddNotificaciones(UsuarioActual.CveEmpresa, TxtCveNotisat.Text.ToEntero())
|
||||
' GVnotiFoliosSAT.DataSource = objgen.DtResultados
|
||||
'End Using
|
||||
'GVnotiFoliosSAT.DataBind()
|
||||
'UpNotificacionesFoliosSAT.Update()
|
||||
'RegistraScript(String.Format("$('#{0}').modal();", pnlNotificacionSAT.ClientID))
|
||||
End Sub
|
||||
Protected Sub LnkDescargarManual_Click(sender As Object, e As EventArgs)
|
||||
Dim ruta As String = $"{ModExtensiones.DirectorioEmpresas}Grales\ManualSIG.pdf"
|
||||
|
||||
Reference in New Issue
Block a user