From 825ae37f059d15e8ed5c3f329a9dfb0ffb998b57 Mon Sep 17 00:00:00 2001 From: Jonathan Alexis Perez Morales Date: Fri, 17 Feb 2023 16:12:58 -0700 Subject: [PATCH] Editar cantidad y precio al en contrato de venta --- Ventas/Ventas.aspx.vb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Ventas/Ventas.aspx.vb b/Ventas/Ventas.aspx.vb index b6bda839e..6aa55776f 100644 --- a/Ventas/Ventas.aspx.vb +++ b/Ventas/Ventas.aspx.vb @@ -7928,6 +7928,11 @@ Partial Class Ventas e.Row.FCTextBox("TxtPrecio").Enabled = False End If + If CveContrato > 0 AndAlso CveContratoTipo = 33 Then + e.Row.FCTextBox("TxtCantidad").Enabled = True + e.Row.FCTextBox("TxtPrecio").Enabled = True + End If + If DTOrdenesCompraPS IsNot Nothing AndAlso DTOrdenesCompraPS.Rows.Count > 0 Then e.Row.FCLinkButton("imgClone").Visible = False e.Row.FCTextBox("TxtOrden").Visible = True