addons/pos_restaurant/static/src/app/screens/feedback_screen/feedback_screen.js
raw| 1 | import { FeedbackScreen } from "@point_of_sale/app/screens/feedback_screen/feedback_screen"; |
| 2 | import { patch } from "@web/core/utils/patch"; |
| 3 | |
| 4 | patch(FeedbackScreen.prototype, { |
| 5 | goNext() { |
| 6 | if (this.pos.isContinueSplitting(this.currentOrder)) { |
| 7 | this.pos.continueSplitting(this.currentOrder); |
| 8 | } else { |
| 9 | super.goNext(); |
| 10 | } |
| 11 | }, |
| 12 | }); |