Ventas correcion tipo documento, clientes lista de precio opcin 10

This commit is contained in:
rakcsle
2023-12-19 18:31:58 -07:00
parent 14cd6374e2
commit 023379c90d
3 changed files with 52 additions and 18 deletions

View File

@@ -7519,7 +7519,7 @@ Partial Class Ventas
'Puede hacer pedido
If CveVenta <= 0 Then
If Not UsuarioActual.TienePermisoProceso(177) Then
If Not UsuarioActual.TienePermisoProceso(177) And Not EsVentaMedica Then
If DdlTipoComprobante.Items.FindByValue("Ped") IsNot Nothing Then
DdlTipoComprobante.Items.Remove(DdlTipoComprobante.Items.FindByValue("Ped"))
End If
@@ -36101,6 +36101,7 @@ Partial Class Ventas
TdFechaOS2.Visible = True
ChkRequiereTecnico.Checked = True
ChkRequiereTecnico.Enabled = False
DdlTipoComprobante.Items.Insert(DdlTipoComprobante.Items.Count, New ListItem("Pedido", "Ped"))
DdlTipoComprobante.SelectedValueExist("Ped")
Else
DdlTipoComprobante.SelectedValueExist("Ing")