Feature: Custom QR Code Generation Outside Pizza Day
FeatureRequest enum:CUSTOM_QR Description: 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 generation
client/src/App.tsx – Add a UI trigger (button) for generating QR codes on regular lunch days
New UI component for QR generation dialog (amount input, account number selection)
Approach:
Refactor existing QR generation in qr.ts to be reusable outside Pizza day context
Add a new API endpoint (e.g., POST /api/qr/generate) that accepts amount and recipient account
Add a "Generate QR" button in the daily menu view for each restaurant
Display the generated QR code in a modal dialog
## Feature: Custom QR Code Generation Outside Pizza Day
**FeatureRequest enum:** `CUSTOM_QR`
**Description:** 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 generation
- `client/src/App.tsx` – Add a UI trigger (button) for generating QR codes on regular lunch days
- New UI component for QR generation dialog (amount input, account number selection)
**Approach:**
1. Refactor existing QR generation in `qr.ts` to be reusable outside Pizza day context
2. Add a new API endpoint (e.g., `POST /api/qr/generate`) that accepts amount and recipient account
3. Add a "Generate QR" button in the daily menu view for each restaurant
4. Display the generated QR code in a modal dialog
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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