From 8eff7cd4925427fa68a93241e55aeca35170073c Mon Sep 17 00:00:00 2001 From: Suherdy Yacob Date: Sat, 20 Jun 2026 12:07:40 +0700 Subject: [PATCH] fix: ensure disabled state logic explicitly checks for positive order changes in POS action buttons --- .../app/screens/product_screen/action_pad/action_pad.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/src/app/screens/product_screen/action_pad/action_pad.xml b/static/src/app/screens/product_screen/action_pad/action_pad.xml index 2b593ba..cec1566 100644 --- a/static/src/app/screens/product_screen/action_pad/action_pad.xml +++ b/static/src/app/screens/product_screen/action_pad/action_pad.xml @@ -3,7 +3,7 @@ pos.canPay - this.pos.getOrderChanges().nbrOfChanges + this.pos.getOrderChanges().nbrOfChanges > 0 @@ -14,7 +14,7 @@ @@ -24,7 +24,7 @@ !pos.scanning and pos.canPay - this.pos.getOrderChanges().nbrOfChanges + this.pos.getOrderChanges().nbrOfChanges > 0