-
+
diff --git a/Bancos/DepositosCaja.aspx.vb b/Bancos/DepositosCaja.aspx.vb
index 773b538be..e060b3de8 100644
--- a/Bancos/DepositosCaja.aspx.vb
+++ b/Bancos/DepositosCaja.aspx.vb
@@ -234,6 +234,12 @@ Partial Class Bancos_DepositosCaja
TotalImporte = TotalImporte - TxtComisionIntermediario.Text.ToDecimal - IVA
End If
+ If UsuarioActual.Empresa.Funcionalidad(382) = "1" AndAlso TotalImportePrePoliza = 0 Then
+ Alert("No se ha especificado un importe a depositar.", TipoMensaje.MsgAdvertencia)
+ Exit Sub
+ End If
+
+
Dim OcurrioError As Boolean = False
Dim NuevaCvePrePoliza As Integer
@@ -621,6 +627,8 @@ Partial Class Bancos_DepositosCaja
DDlMesesSinIntereses.Visible = False
End If
DDlMesesSinIntereses.SelectedValue = "-1"
+
+ UPPFiltros.Update()
End Sub
Private Function ImpresionDirectaPDF(CveIEOrigen As Integer, CvePrePoliza As Integer) As String
diff --git a/Ventas/Ventas.aspx.vb b/Ventas/Ventas.aspx.vb
index 04ee94e89..7e6a5be8c 100644
--- a/Ventas/Ventas.aspx.vb
+++ b/Ventas/Ventas.aspx.vb
@@ -8284,6 +8284,16 @@ Partial Class Ventas
End If
End If
+ 'SOLO HABILITAR PARA GENERAR NOTAS DE CREDITO
+ If UsuarioActual.Empresa.Funcionalidad(531) = "1" AndAlso ClienteEsDistribuidor AndAlso Not PermiteCredito AndAlso Not LnkSolicitarCredito.Visible Then
+ LnkSolicitarCredito.Visible = True
+
+ If DdlSolCreditoTipoDocto.Items.FindByValue("Ing") IsNot Nothing Then
+ DdlSolCreditoTipoDocto.Items.Remove(DdlSolCreditoTipoDocto.Items.FindByValue("Ing"))
+ End If
+
+ End If
+
If DdlTipoComprobante.SelectedValue.Contiene("Rem", "PeC", "PA", "Ped") Then
'ENVIO DE FACTURA
ChkEnviarFactura.Checked = False