Ruční generování QR kódů mimo Pizza day #27

Open
opened 2026-02-04 14:27:51 +01:00 by batmanisko · 0 comments
Member

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
## 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
batmanisko added the Vylepšení label 2026-02-04 14:30:09 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Marbes/Luncher#27