diff options
| author | Adam Soltys <[email protected]> | 2024-02-24 21:39:44 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-02-24 21:39:44 -0800 |
| commit | fee415dd6c5ee83159990a5e7d59184b0ab1ec96 (patch) | |
| tree | d6a0fb1d8348c163d15d062f2b3136147dd5b277 /templates | |
| parent | f0e144cfe7b4a7a49e9533ffaa6c61000a19bd32 (diff) | |
| download | coinos-server-fee415dd6c5ee83159990a5e7d59184b0ab1ec96.tar.gz coinos-server-fee415dd6c5ee83159990a5e7d59184b0ab1ec96.zip | |
itemized email
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/payments/received.html | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/templates/payments/received.html b/templates/payments/received.html index dc98006d..61888742 100644 --- a/templates/payments/received.html +++ b/templates/payments/received.html @@ -8,10 +8,20 @@ <html> <body> - <div style="margin-bottom: 10px">{{hello}} {{username}},</div> + {{#if payment.items}} + <div style="margin-bottom: 10px"> + {{#each payment.items}} + <div>{{this.quantity}} {{this.name}} {{this.totalFiat}}</div> + {{/each}} + </div> + {{/if}} + + <div style="margin-bottom: 10px"> + {{payment.fiat}} {{#if payment.tip}} + {{payment.fiatTip}}{{/if}} + </div> <div style="margin-bottom: 10px"> - {{youReceived}} {{payment.amount}} + {{payment.amount}} + {{payment.tip}} </div> <div style="margin-bottom: 10px"> @@ -33,7 +43,7 @@ {{/if}} <a href="{{payment.link}}"> - <img src="https://coinos.io/images/logo.webp" style="width: 200px; margin: 50px;"/> + <img src="https://coinos.io/images/logo.webp" style="width: 200px; margin-top: 20px;"/> </a> </body> </html> |
