We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When i click on pos refund buton it generate error like this:
TypeError: Cannot read properties of undefined (reading 'get_orderlines') at TicketScreen._doesOrderHaveSoleItem (http://allan-linux:8016/web/assets/143-7d62636/point_of_sale.assets.min.js:1571:54) at TicketScreen._onDoRefund (http://allan-linux:8016/web/assets/143-7d62636/point_of_sale.assets.min.js:1540:71) at ActionpadWidget.__trigger (http://allan-linux:8016/web/assets/121-a65fd85/web.assets_common.min.js:2080:104) at ActionpadWidget.trigger (http://allan-linux:8016/web/assets/121-a65fd85/web.assets_common.min.js:2078:33) at ActionpadWidget.hdlr2 (eval at compile (http://allan-linux:8016/web/assets/121-a65fd85/web.assets_common.min.js:2001:370), :23:27) at Object.mainEventHandler (http://allan-linux:8016/web/assets/121-a65fd85/web.assets_common.min.js:2008:77) at HTMLButtonElement.listener (http://allan-linux:8016/web/assets/121-a65fd85/web.assets_common.min.js:1241:15)
The text was updated successfully, but these errors were encountered:
To reproduce this: Point of Sale -> any POS without any orders -> Refund (ProductScreen) -> Refund (TicketScreen).
Culprint is here: fa06e32#diff-a656f74e5ff6c8c6f2aee69ca86440c173a0f2a3e40c4246c02eb9a9bcdb0a84 if (!order) check was moved for some reason after _doesOrderHaveSoleItem.
if (!order)
Ping @caburj as author of commit above.
Sorry, something went wrong.
No branches or pull requests
When i click on pos refund buton it generate error like this:
TypeError: Cannot read properties of undefined (reading 'get_orderlines')
at TicketScreen._doesOrderHaveSoleItem (http://allan-linux:8016/web/assets/143-7d62636/point_of_sale.assets.min.js:1571:54)
at TicketScreen._onDoRefund (http://allan-linux:8016/web/assets/143-7d62636/point_of_sale.assets.min.js:1540:71)
at ActionpadWidget.__trigger (http://allan-linux:8016/web/assets/121-a65fd85/web.assets_common.min.js:2080:104)
at ActionpadWidget.trigger (http://allan-linux:8016/web/assets/121-a65fd85/web.assets_common.min.js:2078:33)
at ActionpadWidget.hdlr2 (eval at compile (http://allan-linux:8016/web/assets/121-a65fd85/web.assets_common.min.js:2001:370), :23:27)
at Object.mainEventHandler (http://allan-linux:8016/web/assets/121-a65fd85/web.assets_common.min.js:2008:77)
at HTMLButtonElement.listener (http://allan-linux:8016/web/assets/121-a65fd85/web.assets_common.min.js:1241:15)
The text was updated successfully, but these errors were encountered: