Sales
Preview, Print, Reprint, SMS and WhatsApp Receipts
Receipt handling starts before Save with the tender preview, continues after Save with print/send buttons, and remains recoverable from Sales History.
- Menu path
- Home -> New Sale -> PAY, Settings -> Core Settings -> Receipt Print
- Verified from
- Posnic demo and current POS source reviewed on 2026-09-08
Technical source evidence
frontend/modules/sales_write.html tender_receipt_preview and sale-done card, frontend/static/script/js/modules/js/sales.js renderTenderReceiptPreview, frontend/static/script/js/modules/js/sales.js print_receipt_a4, print_receipt_thermal, sendSms, sendWhatsAppReceipt and auto-print response handling, frontend/modules/settings_write.html Receipt Print tab print_type, printall, print_logoimg, customer_print, receipt_barcode and Hardware Manager note
Preview Before Save
The tender page renders a receipt-style preview before the sale exists. It uses the cart rows and the current print type setting so the cashier can catch obvious mistakes before saving.
- Check shop name, customer, item lines, subtotal, discount, tax and grand total.
- If Print Type is A4, the preview uses an invoice-style layout.
- If Print Type is thermal/standard, the preview uses a compact till-roll layout.
- The preview reads the same cart row ids that the save path reads.
- Return flows keep their own document behavior and should be checked separately.
- Fix cart mistakes before Save; do not rely on reprint to hide a wrong sale.
Print After Save
- Save the sale from the tender drawer.
- Wait for the Successfully Completed card.
- Use Print receipt for the default print action.
- Use Thermal when the customer needs a till-roll receipt.
- Use A4 when the customer needs a full invoice.
- Use SMS or WhatsApp only after provider setup is finished and the customer phone is reliable.
- Use New sale only after printing or sending is finished.
Completed-Sale Buttons
| Button | What it does | Training note |
|---|---|---|
| New sale | Returns the cashier to a fresh sale. | Do this only after receipt work is finished. |
| Print receipt | Uses the shop's default receipt print behavior. | Default paper comes from Receipt Print settings. |
| Thermal | Prints the saved sale using the till-roll layout for this one action. | Useful when default is A4 but customer wants a small receipt. |
| A4 | Prints the saved sale using the full invoice layout for this one action. | Useful for business customers or tax invoice requests. |
| SMS | Sends a receipt when SMS receipt is enabled and phone data is valid. | If sending fails, reprint or resend from Sales History. |
| Sends a WhatsApp receipt when configured. | Do not promise it until provider setup has been tested. |
SMS and WhatsApp Receipts
SMS and WhatsApp buttons appear when those features are configured and available. The customer phone must be reliable before staff use these actions.
- Configure SMS and WhatsApp providers before promising digital receipts.
- Use the selected customer's phone or enter a valid phone number where prompted.
- Send one test receipt before training cashiers.
- When sending fails, print or reprint the receipt from Sales History.
Auto Print
Auto Print is a setting, not a substitute for printer testing. When enabled, a saved sale should print using the chosen receipt type and the local printer path configured for that counter.
- Open Settings -> Core Settings -> Receipt Print.
- Choose the default Print Type.
- Choose print size and product-name character limit when the receipt paper needs tighter lines.
- Decide whether to print logo, customer details, receipt barcode and brand URL.
- Enable Auto Print only after the printer has printed a test receipt.
- Auto Print uses the Print Type selected above; the completed-sale card still offers Thermal/A4 one-off overrides.
- Printer device, cash drawer, kitchen printers and weighing scale are local Hardware Manager responsibilities.
- Keep manual print buttons available for reprint and exceptions.
- If Auto Print fails, the sale is still saved; use Sales History reprint after fixing hardware.
Reprint From Sales History
| Need | Where to go | Check first |
|---|---|---|
| Customer lost receipt | Home -> Sales History -> Print | Correct sale id, date and total. |
| A4 invoice needed later | Sales History print/PDF path | Customer details and tax identity. |
| Digital receipt failed | Sales History SMS or WhatsApp action | Phone number and provider setup. |
| Printer changed | Receipt Print settings, then Sales History | Default print type and printer availability. |