diff --git a/Database/scripts/factuges.sql b/Database/scripts/factuges.sql index 8a90eddc..94b9535c 100644 --- a/Database/scripts/factuges.sql +++ b/Database/scripts/factuges.sql @@ -3839,6 +3839,18 @@ begin suspend; end end + + /* Tratar la bonificaciones */ + for select id, DESCRIPCION_BONIFICACION as concepto, -1* IMPORTE_BONIFICACION as importe_total, 1 + from presupuestos_cliente + where id = :AID + into :ID, :CONCEPTO, :IMPORTE_TOTAL, :VISIBLE + do + begin + contador = contador + 1; + concepto_capitulo = concepto; + suspend; + end end ^