Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mohamedhamdhy-145655248's avatar

Help Needed with "Enable Show Receipt" Setting in MindsPOS

The requirement: I need to add a checkbox in the Settings Panel under business settings. This checkbox will control whether the receipt should be shown after completing a cash transaction:

Enabled: The receipt will be displayed after a cash payment. Disabled: No receipt will be shown after a cash payment.

Current Implementation: Added a checkbox for "Enable Show Receipt" in the settings. The setting is stored in the database (pos_settings table) and persists across sessions. I’ve updated the backend and front-end code to dynamically check this setting when processing transactions. There are already some checkboxes in the settings panel that are functional, but when I implemented the new checkbox, it doesn't seem to work. I didn’t migrate the enable_show_receipt setting to pos_settings through Laravel migration; instead, I updated it directly in the database table. I made changes in the Business Controller, Transaction Payment Controller, Business Utils, settings_pos.blade.php, and pos.js.

Issue: Even though the setting is stored correctly and seems to be updating, the window.print() dialog box won't appear, and the receipt is not displaying as expected after completing a transaction. Whether I enable or disable the checkbox, the receipt still doesn't show up.

Has anyone encountered a similar issue or can suggest what might be missing in the logic? Any help would be appreciated! 🙏

Thanks in advance! 🚀

0 likes
0 replies

Please or to participate in this conversation.