From fa505dc52a2606412b79f765502f15669503b274 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lara=20Mi=C3=B1ones=20Rodr=C3=ADguez?= Date: Fri, 19 Dec 2025 14:50:55 +0100 Subject: [PATCH] FIX now fixed amount discounts are allowed --- src/app/shared/forms/offer/offer.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/shared/forms/offer/offer.component.ts b/src/app/shared/forms/offer/offer.component.ts index 8bf2685f..de1b61ad 100644 --- a/src/app/shared/forms/offer/offer.component.ts +++ b/src/app/shared/forms/offer/offer.component.ts @@ -380,7 +380,7 @@ export class OfferComponent implements OnInit, OnDestroy{ priceComp.discountUnit='percentage' }else{ priceComp.discountValue=alter?.price?.value - priceComp.discountUnit=alter?.price?.unit + priceComp.discountUnit='fixed' } priceComp.discountDuration = alter?.unitOfMeasure?.amount priceComp.discountDurationUnit = alter?.unitOfMeasure?.units