Ruční generování QR kódů mimo Pizza day #27
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Feature: Custom QR Code Generation Outside Pizza Day
FeatureRequest enum:
CUSTOM_QRDescription: Ruční generování QR kódů mimo Pizza day (např. při objednávání)
Implementation Notes
Allow users to manually generate QR payment codes for regular lunch orders, not just during Pizza day events.
Key files to modify:
server/src/qr.ts– Extract QR generation logic into a reusable function; add a new endpoint for ad-hoc QR generationclient/src/App.tsx– Add a UI trigger (button) for generating QR codes on regular lunch daysApproach:
qr.tsto be reusable outside Pizza day contextPOST /api/qr/generate) that accepts amount and recipient account