Add QR payment generator with live Medicus price list #1

Closed
administrator wants to merge 0 commits from master into main
Owner

Summary

  • New QRPlatba/ module � GUI app for generating SPAYD QR payment codes from Medicus
  • Price list loaded live from Medicus Firebird DB (VLV_SEL), sorted by order number (KOD)
  • Patient data (name, surname, birth number) passed as arguments from a Medicus button
  • QR code auto-generates on load and refreshes on every dropdown change
  • Two-account selector (FIO bank), save button exports PNG next to the EXE
  • Added .gitignore to exclude build artifacts, venv, IDE files

Test plan

  • Launch from Medicus button: pythonw.exe QRPlatbaApp.py "%JMENO%" "%PRIJMENI%" "%RODCISN%"
  • Verify patient data displays correctly from Medicus arguments
  • Verify all price list items load from live Medicus DB
  • Change dropdown item ? QR refreshes automatically
  • Change account ? QR refreshes automatically
  • Click "Ulo�it QR k�d" ? PNG saved to QRPlatby/ folder next to EXE
  • Scan QR with banking app ? correct IBAN, amount, VS and MSG

?? Generated with Claude Code

## Summary - New `QRPlatba/` module � GUI app for generating SPAYD QR payment codes from Medicus - Price list loaded live from Medicus Firebird DB (`VLV_SEL`), sorted by order number (`KOD`) - Patient data (name, surname, birth number) passed as arguments from a Medicus button - QR code auto-generates on load and refreshes on every dropdown change - Two-account selector (FIO bank), save button exports PNG next to the EXE - Added `.gitignore` to exclude build artifacts, venv, IDE files ## Test plan - [ ] Launch from Medicus button: `pythonw.exe QRPlatbaApp.py "%JMENO%" "%PRIJMENI%" "%RODCISN%"` - [ ] Verify patient data displays correctly from Medicus arguments - [ ] Verify all price list items load from live Medicus DB - [ ] Change dropdown item ? QR refreshes automatically - [ ] Change account ? QR refreshes automatically - [ ] Click "Ulo�it QR k�d" ? PNG saved to `QRPlatby/` folder next to EXE - [ ] Scan QR with banking app ? correct IBAN, amount, VS and MSG ?? Generated with [Claude Code](https://claude.com/claude-code)
administrator added 2 commits 2026-03-25 20:09:54 +01:00
- New QRPlatba/ module: standalone app for generating SPAYD QR payment codes
- Live price list loaded directly from Medicus Firebird DB (VLV_SEL), sorted by KOD
- Patient data (name, surname, RC) passed as arguments from Medicus button
- Auto-generates QR on load and refreshes on every dropdown change
- Account selector dropdown (two FIO accounts with IBAN)
- Save button exports QR as PNG next to the EXE (sys.executable-relative path)
- SPAYD format: ACC, AM, CC, X-VS (rodné číslo), MSG (patient + item)
- README.md with full documentation, Medicus button command, DB schema
- Add .gitignore (excludes build/, dist/, .venv/, .idea/, .claude/)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
administrator closed this pull request 2026-03-25 20:11:30 +01:00
administrator deleted branch master 2026-03-25 20:11:30 +01:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: administrator/fio#1