diff options
| author | stuppie | 2026-09-25 13:35:56 -0600 |
|---|---|---|
| committer | stuppie | 2026-09-25 13:35:56 -0600 |
| commit | d43e82fd2c799410b15706d10dbbcaa838325a4d (patch) | |
| tree | a1eaa6297307f4a6f81e244347635548f30a85d3 | |
| parent | 08643310a783d4da5212ef419ee8d909f683f8e2 (diff) | |
| download | amt-jb-d43e82fd2c799410b15706d10dbbcaa838325a4d.tar.gz amt-jb-d43e82fd2c799410b15706d10dbbcaa838325a4d.zip | |
format_cashout_status_email_tokens more tokens
| -rw-r--r-- | jb/managers/email_manager.py | 3 | ||||
| -rw-r--r-- | requirements.txt | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/jb/managers/email_manager.py b/jb/managers/email_manager.py index fa4d38a..59b74d3 100644 --- a/jb/managers/email_manager.py +++ b/jb/managers/email_manager.py @@ -113,6 +113,9 @@ def format_cashout_status_email_tokens( "redemption_instructions": tx.get("redemption_instructions") or "", # From paypal "transaction_id": tx.get("transaction_id") or "", + "amount": USDCent(cashout.amount).to_usd_str(), + "cashout_method_type": cashout.payout_type.value, + "subject": f"Your {cashout.payout_type.value} cashout for James Billings", } # Cash-in-mail details are flat values in transaction_info. diff --git a/requirements.txt b/requirements.txt index b800a10..5bb0fa7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -git+ssh://code.g-r-l.com:6611/generalresearch@v3.6.0 +git+ssh://code.g-r-l.com:6611/generalresearch@v3.6.1 aiohappyeyeballs==2.6.1 aiohttp==3.13.0 aiosignal==1.4.0 |
