From 2cbd87b9b1dda81ef6c23314c6820eaed04b8b4a Mon Sep 17 00:00:00 2001 From: Suherdy Yacob Date: Wed, 13 May 2026 08:09:39 +0700 Subject: [PATCH] refactor: refine XPath selectors to separately target non-cash payment overview rows and input fields in closing popup --- static/src/app/close_pos_popup_inherit.xml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/static/src/app/close_pos_popup_inherit.xml b/static/src/app/close_pos_popup_inherit.xml index b31ff73..0fd4b10 100644 --- a/static/src/app/close_pos_popup_inherit.xml +++ b/static/src/app/close_pos_popup_inherit.xml @@ -12,23 +12,27 @@ pos.config.module_pos_hr and !pos.config.custom_hide_payment_details - - - + + pos.config.custom_hide_non_cash_inputs ? 'd-none' : 'w-100 mb-3' - + + + pos.config.custom_hide_non_cash_inputs ? 'd-none' : 'w-100 mb-3' + + + pos.showCashMoveButton and !pos.config.custom_hide_cash_in_out - + !pos.config.custom_hide_summary_data - + !pos.config.custom_hide_copy_btn @@ -38,7 +42,7 @@ !pos.config.custom_hide_copy_btn - + !pos.config.custom_hide_daily_sale_btn