diff --git a/apps/web/process/create-kp/reactions.ts b/apps/web/process/create-kp/reactions.ts index 174a8b1..42e8390 100644 --- a/apps/web/process/create-kp/reactions.ts +++ b/apps/web/process/create-kp/reactions.ts @@ -14,4 +14,22 @@ export function common({ store }: ProcessContext) { } } ); + + reaction( + () => $calculation.element('cbxPriceWithDiscount').getValue(), + (priceWithDiscount) => { + if (priceWithDiscount === true) { + $calculation.element('cbxFullPriceWithDiscount').setValue(false); + } + } + ); + + reaction( + () => $calculation.element('cbxFullPriceWithDiscount').getValue(), + (fullPriceWithDiscount) => { + if (fullPriceWithDiscount === true) { + $calculation.element('cbxPriceWithDiscount').setValue(false); + } + } + ); }