Skip to content

Conversation

@TaprootFreak
Copy link
Collaborator

Summary

  • Fix invoice date for pending transactions showing current date instead of transaction creation date
  • Changed date: new Date() to date: request.created in createInvoiceFromRequest()

Problem

Invoice PDF showed "Zug 22.1.2026" (today) instead of "Zug 19.1.2026" (when transaction was created)

Fix

Use request.created instead of new Date() in swiss-qr.service.ts:77

@TaprootFreak TaprootFreak marked this pull request as ready for review January 22, 2026 17:26
@TaprootFreak TaprootFreak merged commit 1a66542 into develop Jan 22, 2026
7 checks passed
@TaprootFreak TaprootFreak deleted the fix/invoice-date-use-request-created branch January 22, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants