From 28518e8cb0936b89e5b24746eb4c093a387e7344 Mon Sep 17 00:00:00 2001 From: Suherdy Yacob Date: Mon, 1 Jun 2026 22:35:03 +0700 Subject: [PATCH] feat: add getOrderlines and lines proxy getters to pos_store service --- static/src/app/services/pos_store.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/static/src/app/services/pos_store.js b/static/src/app/services/pos_store.js index abc6f06..3e5b2e9 100644 --- a/static/src/app/services/pos_store.js +++ b/static/src/app/services/pos_store.js @@ -162,6 +162,14 @@ patch(PosStore.prototype, { if (prop === 'changed_lines_to_print') { return changedLines; } + if (prop === 'getOrderlines') { + return function() { + return changedLines; + }; + } + if (prop === 'lines') { + return changedLines; + } let value = Reflect.get(target, prop, receiver); if (typeof value === 'function') { return value.bind(receiver);