feat: add optional last_cashier_name prop to ClosePosPopup component
This commit is contained in:
parent
c39ee5abd5
commit
e319ecdb72
@ -11,6 +11,9 @@ import { _t } from "@web/core/l10n/translation";
|
|||||||
import { PrinterService } from "@point_of_sale/app/services/printer_service";
|
import { PrinterService } from "@point_of_sale/app/services/printer_service";
|
||||||
import { waitImages } from "@point_of_sale/utils";
|
import { waitImages } from "@point_of_sale/utils";
|
||||||
|
|
||||||
|
ClosePosPopup.props.push("last_cashier_name?");
|
||||||
|
|
||||||
|
|
||||||
// Patch PrinterService.printWeb to return a promise that resolves only after print dialog is closed
|
// Patch PrinterService.printWeb to return a promise that resolves only after print dialog is closed
|
||||||
patch(PrinterService.prototype, {
|
patch(PrinterService.prototype, {
|
||||||
async printWeb(el) {
|
async printWeb(el) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user