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