-- JAM. solo niveles 1y2
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
<div class="portlet light smmallpadding bordered">
|
<div class="portlet light xspadding bordered">
|
||||||
<div class="portlet-title">
|
<div class="portlet-title">
|
||||||
<div class="caption font-green">
|
<div class="caption font-green">
|
||||||
<i class="icon-pin font-green"></i>
|
<i class="icon-pin font-green"></i>
|
||||||
@@ -81,7 +81,15 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
<div class="row" id="divMsg" runat="server" visible="false">
|
||||||
|
<div class="col-md-12" style="text-align: center;">
|
||||||
|
<div class="alert alert-warning" style="padding: 5px; margin-bottom: 5px; padding-right: 25px;">
|
||||||
|
<button type="button" class="close" data-dismiss="alert" style="margin-top: 5px;" aria-hidden="true"></button>
|
||||||
|
<strong style="font-size: 20px; margin-right: 25px;">Información: </strong>
|
||||||
|
<asp:Literal Text=" solo se consideran los niveles 1 y 2." runat="server" ID="LtTipoCambioAdvertencia"></asp:Literal>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12" style="text-align: center;">
|
<div class="col-md-12" style="text-align: center;">
|
||||||
<asp:Button ID="BtnGenerar" OnClick="BtnGenerar_Click" Text="Generar XML" Width="200px" CssClass="btn btn-primary" runat="server" />
|
<asp:Button ID="BtnGenerar" OnClick="BtnGenerar_Click" Text="Generar XML" Width="200px" CssClass="btn btn-primary" runat="server" />
|
||||||
|
|||||||
@@ -109,12 +109,11 @@ Partial Class Contabilidad_ContabilidadElectronica
|
|||||||
DtCuentas = ObjConpaq.DtResultados
|
DtCuentas = ObjConpaq.DtResultados
|
||||||
End If
|
End If
|
||||||
ObjConpaq.Dispose()
|
ObjConpaq.Dispose()
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If DtCuentas IsNot Nothing AndAlso DtCuentas.Rows.Count > 0 Then
|
If DtCuentas IsNot Nothing AndAlso DtCuentas.Rows.Count > 0 Then
|
||||||
Dim Str As New StringBuilder
|
|
||||||
|
|
||||||
|
Dim Str As New StringBuilder
|
||||||
'CABECERA
|
'CABECERA
|
||||||
Str.Append("<?xml version=""1.0"" encoding=""UTF-8""?>")
|
Str.Append("<?xml version=""1.0"" encoding=""UTF-8""?>")
|
||||||
Str.Append("<catalogocuentas:Catalogo xsi:schemaLocation=""http://www.sat.gob.mx/esquemas/ContabilidadE/1_3/CatalogoCuentas http://www.sat.gob.mx/esquemas/ContabilidadE/1_3/CatalogoCuentas/CatalogoCuentas_1_3.xsd"" Version=""1.3"" ")
|
Str.Append("<catalogocuentas:Catalogo xsi:schemaLocation=""http://www.sat.gob.mx/esquemas/ContabilidadE/1_3/CatalogoCuentas http://www.sat.gob.mx/esquemas/ContabilidadE/1_3/CatalogoCuentas/CatalogoCuentas_1_3.xsd"" Version=""1.3"" ")
|
||||||
@@ -288,8 +287,11 @@ Partial Class Contabilidad_ContabilidadElectronica
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
If DtCuentas IsNot Nothing AndAlso DtCuentas.Rows.Count > 0 Then
|
If DtCuentas IsNot Nothing AndAlso DtCuentas.Rows.Count > 0 Then
|
||||||
Dim Str As New StringBuilder
|
|
||||||
|
|
||||||
|
If UsuarioActual.CveEmpresa = 119 Then
|
||||||
|
DtCuentas = DtCuentas.FiltraParametros("Nivel IN (1,2) ")
|
||||||
|
End If
|
||||||
|
Dim Str As New StringBuilder
|
||||||
'CABECERA
|
'CABECERA
|
||||||
Str.Append("<?xml version=""1.0"" encoding=""UTF-8""?>")
|
Str.Append("<?xml version=""1.0"" encoding=""UTF-8""?>")
|
||||||
Str.Append("<bnc:Balanza ")
|
Str.Append("<bnc:Balanza ")
|
||||||
@@ -381,6 +383,9 @@ Partial Class Contabilidad_ContabilidadElectronica
|
|||||||
trTipoEnvio.Visible = False
|
trTipoEnvio.Visible = False
|
||||||
ElseIf DdlTipoReporte.SelectedValue = "2" Then
|
ElseIf DdlTipoReporte.SelectedValue = "2" Then
|
||||||
trTipoEnvio.Visible = True
|
trTipoEnvio.Visible = True
|
||||||
|
If UsuarioActual.CveEmpresa = 119 Then
|
||||||
|
divMsg.Visible = True
|
||||||
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|||||||
Reference in New Issue
Block a user