Iva 6% boton agregar ps se agrego valdia si se muest5ra boton de 6 %
This commit is contained in:
@@ -2237,6 +2237,11 @@ Partial Class Compras_Compras
|
|||||||
|
|
||||||
If UsuarioActual.Empresa.Funcionalidad(577).ToString = "1" Then
|
If UsuarioActual.Empresa.Funcionalidad(577).ToString = "1" Then
|
||||||
|
|
||||||
|
'If UsuarioActual.CveRol = 1 Then
|
||||||
|
' Alert("Ok funcionalidad 577")
|
||||||
|
'End If
|
||||||
|
|
||||||
|
|
||||||
If RetencionIVA = 0 And IVAOriginal > 0 Then
|
If RetencionIVA = 0 And IVAOriginal > 0 Then
|
||||||
For Each dRow As DataRow In TmpDT.Rows
|
For Each dRow As DataRow In TmpDT.Rows
|
||||||
If dRow("CveTipoPS").ToString.ToEntero = 1 Then
|
If dRow("CveTipoPS").ToString.ToEntero = 1 Then
|
||||||
@@ -16988,6 +16993,26 @@ Partial Class Compras_Compras
|
|||||||
CompruebaAgregar()
|
CompruebaAgregar()
|
||||||
GuardaAC()
|
GuardaAC()
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
If UsuarioActual.Empresa.Funcionalidad(577).ToString = "1" Then
|
||||||
|
|
||||||
|
'If UsuarioActual.CveRol = 1 Then
|
||||||
|
' Alert($"Ok funcionalidad 577 RetencionIVA { RetencionIVA} IVAOriginal {IVAOriginal}")
|
||||||
|
'End If
|
||||||
|
|
||||||
|
If RetencionIVA = 0 And IVAOriginal > 0 Then
|
||||||
|
For Each dRow As DataRow In TmpDT.Rows
|
||||||
|
If dRow("CveTipoPS").ToString.ToEntero = 1 Then
|
||||||
|
tdIVA6.Visible = True
|
||||||
|
Exit For
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
End If
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
UpPS.Update()
|
UpPS.Update()
|
||||||
CargaGvPersonal()
|
CargaGvPersonal()
|
||||||
End Sub
|
End Sub
|
||||||
|
|||||||
Reference in New Issue
Block a user