fix(payments): stop doubling the pack size in buyer mail
CI / changes (pull_request) Successful in 2s
CI / unit (pull_request) Successful in 11s
CI / integration (pull_request) Successful in 23s
CI / ui (pull_request) Successful in 1m16s
CI / conformance (pull_request) Successful in 11s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 1m50s

Catalog titles already name the pack ("50 фишек"), so appending the chip count
produced "50 фишек — 50 фишек, 79.00 ₽". The letter now carries the title
exactly as the storefront shows it, then the price.

The tax receipt is unaffected: it states the quantity in the wording the tax
service wants, which is a separate surface with separate requirements.
This commit is contained in:
Ilia Denisov
2026-07-28 16:14:53 +02:00
parent f8efa21158
commit 4d4452596d
4 changed files with 19 additions and 13 deletions
-2
View File
@@ -125,7 +125,6 @@ type PurchaseMail struct {
OrderID uuid.UUID
Origin string
Title string
Chips int
AmountMinor int64
Currency string
CreatedAt time.Time
@@ -137,7 +136,6 @@ type ReceiptMail struct {
AccountID uuid.UUID
ReceiptUUID string
Title string
Chips int
AmountMinor int64
Currency string
OperationTime time.Time