Fix broken print: add format_money helper + rewrite receipt views
Root cause: format_money() was used in 20+ views but never defined,
causing silent fatal errors on every print attempt. Also simplified
ReceiptController to render standalone HTML pages instead of depending
on ReceiptTemplate records that may not exist in the DB.
Co-Authored-By:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
app/Helpers/money.php
0 → 100644
Please register or sign in to comment