-- candado con chk para validar ante el SAT, solo para rafa y ADS
This commit is contained in:
@@ -348,6 +348,7 @@
|
||||
</td>
|
||||
<td style="text-align: left; width: 30%">
|
||||
<asp:Button ID="BtnIEGuardar" runat="server" Text="Guardar" ValidationGroup="GrpGuardar" class="btn btn-primary" />
|
||||
<asp:CheckBox Text=" No Validar ante SAT" ID="ChkNoValidaSAT" CssClass="md-checksd" runat="server" Checked="false" Visible="false" />
|
||||
<asp:ValidationSummary ID="VS" runat="server" DisplayMode="BulletList" ShowSummary="true" ValidationGroup="GrpGuardar" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -264,6 +264,10 @@ Partial Class Bancos_ProveedoresAbonar
|
||||
ViewState("IdCtaContRetISR") = 0
|
||||
End If
|
||||
|
||||
'temporal
|
||||
If UsuarioActual.CveUsuario.Contiene(1803, 100) Then
|
||||
ChkNoValidaSAT.Visible = True
|
||||
End If
|
||||
|
||||
IdCuenta = 0
|
||||
PermiteModificarImporte = True
|
||||
@@ -666,7 +670,10 @@ Partial Class Bancos_ProveedoresAbonar
|
||||
End If
|
||||
|
||||
Dim ImporteSeleccionado As Decimal = 0
|
||||
If Not UsuarioActual.Empresa.Funcionalidad(529) = "1" Then
|
||||
Dim ValidaSAT As Boolean = True
|
||||
If UsuarioActual.Empresa.Funcionalidad(529) = "1" OrElse ChkNoValidaSAT.Checked Then ValidaSAT = False
|
||||
|
||||
If ValidaSAT Then
|
||||
Dim Validada As Boolean = False
|
||||
Dim MsgValidadas As New StringBuilder
|
||||
Dim Valida As New ClsValidaCFDi()
|
||||
|
||||
Reference in New Issue
Block a user