Skip to content

Release: develop -> main - #1187

Merged
davidleomay merged 2 commits into
mainfrom
develop
Jul 23, 2026
Merged

Release: develop -> main#1187
davidleomay merged 2 commits into
mainfrom
develop

Conversation

@github-actions

Copy link
Copy Markdown

Automatic Release PR

This PR was automatically created after changes were pushed to develop.

Commits: 1 new commit(s)

Checklist

  • Review all changes
  • Verify CI passes
  • Approve and merge when ready for production

…EV-4572) (#1160)

* feat(compliance): DE/EN PDF export for OnRamp/OffRamp/Account Info (DEV-4572)

Adds three per-transaction PDF exports to the compliance user screen's
transaction detail row:

  - OnRamp analysis (BuyCrypto / Fiat2Krypto)
  - OffRamp analysis (BuyFiat / Krypto2Fiat)
  - Customer Account Info (DFX vs. Bank two-column overview)

Each PDF ships with German and English label sets and renders via
jspdf + jspdf-autotable. Buttons for both languages appear in the
existing action-button row of an expanded transaction, so the language
is chosen at export time without switching the whole app UI.

- New src/util/pdf/ module with a shared common helper (DFX color
  palette, UTC time formatting, footer legend) and one renderer per
  PDF type.
- Renderers are dynamically imported so the jspdf bundle only loads
  when a compliance user actually clicks Export.
- TransactionsTable accepts the UserData record so the renderers get
  KYC / mail / address context without an extra API round-trip.

* fix(compliance): rename PDF export buttons

Shorten the button labels in the tx detail action row:
- 'OnRamp/OffRamp PDF (DE|EN)' -> 'Transaction PDF (DE|EN)'
- 'Account Info PDF (DE|EN)'   -> 'Account PDF (DE|EN)'

The ramp is already implied by the row's transaction type, so calling it
out in the button label was redundant.
@davidleomay
davidleomay merged commit 5064986 into main Jul 23, 2026
8 checks passed
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