feat: add Print Receipt button to completed transactions

Add a 'Print Receipt' option for completed credit purchase transactions
in the AI provider config dialog. Clicking it opens a print-friendly
receipt with Soapbox Technology, LLC business details (soapbox.pub,
[email protected]) in a standard receipt layout showing payment ID,
date, method, credits, processing fee, and total charged.

Follows the existing window.open() print pattern used by gift card QR
code printing. Adds i18n translations for all 6 supported languages.
This commit is contained in:
Derek Ross committed 2026-04-10 12:05:50 -04:00
1 parent c285dbcd05
commit c229f40da8
7 files changed
+287 -6

No files matched your search

+9 -1
View File
@@ -496,5 +496,13 @@
"failedToDuplicateProject": "复制项目失败",
"newProjectName": "新项目名称",
"duplicateProjectDescription": "使用新名称创建此项目的副本",
"resume": "继续"
"resume": "继续",
"printReceipt": "打印收据",
"receipt": "收据",
"receiptNumber": "收据编号",
"date": "日期",
"status": "状态",
"paymentMethodLabel": "支付方式",
"totalCharged": "总收费",
"thankYouForPurchase": "感谢您的购买!"
}