From fee415dd6c5ee83159990a5e7d59184b0ab1ec96 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 24 Feb 2024 21:39:44 -0800 Subject: itemized email --- templates/payments/received.html | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'templates') 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 @@ -
{{hello}} {{username}},
+ {{#if payment.items}} +
+ {{#each payment.items}} +
{{this.quantity}} {{this.name}} {{this.totalFiat}}
+ {{/each}} +
+ {{/if}} + +
+ {{payment.fiat}} {{#if payment.tip}} + {{payment.fiatTip}}{{/if}} +
- {{youReceived}} {{payment.amount}} + {{payment.amount}} + {{payment.tip}}
@@ -33,7 +43,7 @@ {{/if}} - + -- cgit v1.2.3