480 B
480 B
POS Sync Before Print
Ensure POS receipts are only printed after the order is successfully synced with the server.
Description
This module patches the Point of Sale printReceipt method to check the synchronization state of the order. If the order has not been synchronized with the server yet, printing is blocked. During offline validation, the order validation proceeds normally but the receipt is not printed automatically, and a warning is shown if printing manually.