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);