PHP API (migrated from CFML)
Find a file
John Mizerek 04d09cfc4e Fix item prices returning as strings instead of floats in JSON
MySQL PDO returns DECIMAL/FLOAT columns as strings, causing json_encode
to emit them as JSON strings ("9.99") instead of numbers (9.99).
Android's Gson Map parsing fails the as? Number cast on strings,
defaulting to 0.0. Cast Price to (float) before building the response.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-16 17:24:57 -07:00
_webhook Add deploy webhook for auto-deploy from Forgejo 2026-03-14 15:04:53 -07:00
api Fix item prices returning as strings instead of floats in JSON 2026-03-16 17:24:57 -07:00
config Port Twilio SMS integration from CFML to PHP 2026-03-14 16:02:34 -07:00
cron Port admin, cron, and receipt endpoints from CFML to PHP 2026-03-14 15:57:25 -07:00
receipt Port admin, cron, and receipt endpoints from CFML to PHP 2026-03-14 15:57:25 -07:00