From 30eab84d5d662033f8ee1e2c546c8cfd8dd3f8da Mon Sep 17 00:00:00 2001 From: Jonathan Alexis Perez Morales Date: Thu, 5 Dec 2024 09:08:50 -0700 Subject: [PATCH] -- Ocultar btn facturar si no tiene credito disponible --- Ventas/Ventas.aspx.vb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Ventas/Ventas.aspx.vb b/Ventas/Ventas.aspx.vb index 353e03685..fac264844 100644 --- a/Ventas/Ventas.aspx.vb +++ b/Ventas/Ventas.aspx.vb @@ -7805,6 +7805,10 @@ Partial Class Ventas DdlTipoComprobante.Items.Remove(DdlTipoComprobante.Items.FindByValue("Ant")) End If DdlTipoComprobante.Items.Remove(DdlTipoComprobante.Items.FindByValue("Rem")) + + If (DdlTipoComprobante.SelectedValue = "Cot" AndAlso CveVenta > 0) Then + BtnsFacturar.Visible = False + End If End If Dim Bloqueo As Boolean = False