Skip to content

Station receipt labels, test-event printing, and cloud tsconfig fix#104

Merged
osswald merged 3 commits into
mainfrom
fix/cloud-frontend-tsconfig-ignore-deprecations
Jul 9, 2026
Merged

Station receipt labels, test-event printing, and cloud tsconfig fix#104
osswald merged 3 commits into
mainfrom
fix/cloud-frontend-tsconfig-ignore-deprecations

Conversation

@osswald

@osswald osswald commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Use article labels (not catalog names) on Pi station receipts and fiscal line snapshots, with a 21-character label cap enforced in cloud backend, import, and admin UI (auto-fill from name on blur).
  • Extend Pi test-event / printing work: TESTBETRIEB banner on prints, receipt charset selection, voucher config refactor, and related tests.
  • Fix cloud frontend tsconfig by removing deprecated baseUrl / ignoreDeprecations (resolves IDE Invalid value for '--ignoreDeprecations' error).

Test plan

  • cd cloud/frontend && npm test && npm run typecheck
  • cd pi/frontend && npm test
  • ./scripts/lint.sh
  • Cloud backend: create article with 21-char label (OK) and 22-char label (422)
  • Pi: place order with article that has label ≠ name; station receipt shows label
  • Pi test event: verify TESTBETRIEB banner on prints and charset setting persists

Made with Cursor

osswald and others added 2 commits July 9, 2026 11:16
- Updated EventConfiguration.vue to use eventArticleCatalog for voucher articles and added loading/error states for the catalog.
- Modified EventConfigVouchersSection.vue to integrate StationArticleTransferPicker and handle article selection with improved loading/error feedback.
- Enhanced backend ESC/POS rendering to support multiple character sets, allowing for better text representation on printers.
- Updated various print-related functions to accommodate charset options, ensuring correct encoding for printed receipts.
- Added tests for charset handling in payment receipts and ensured proper integration with frontend components.

This refactor improves the user experience when configuring events and vouchers, particularly in environments with specific character set requirements.
…ars.

Station slips and fiscal snapshots now prefer the short article label over the
catalog name. Cloud enforces a 21-character label cap with auto-fill from name,
and the cloud frontend tsconfig drops deprecated baseUrl/ignoreDeprecations.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 9, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@osswald osswald added the release:minor Minor release on merge (features) label Jul 9, 2026
@osswald osswald merged commit d83fbc4 into main Jul 9, 2026
11 of 12 checks passed
@osswald osswald deleted the fix/cloud-frontend-tsconfig-ignore-deprecations branch July 9, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:minor Minor release on merge (features)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant