feat: add optional last_cashier_name prop to ClosePosPopup component

This commit is contained in:
Suherdy Yacob 2026-06-07 10:20:55 +07:00
parent c39ee5abd5
commit e319ecdb72

View File

@ -11,6 +11,9 @@ import { _t } from "@web/core/l10n/translation";
import { PrinterService } from "@point_of_sale/app/services/printer_service";
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.prototype, {
async printWeb(el) {