diff options
| -rw-r--r-- | lib/payments.js | 1 | ||||
| -rw-r--r-- | templates/payments/received.html | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lib/payments.js b/lib/payments.js index d9ee58b6..2d1bf6c0 100644 --- a/lib/payments.js +++ b/lib/payments.js @@ -278,6 +278,7 @@ export let completePayment = async (p, user) => { tip: p.tip ? fmt(p.tip) : undefined, fiat: f(fiat(p.amount, p.rate), p.currency), fiatTip: p.tip ? f(fiat(p.tip, p.rate), p.currency) : undefined, + memo: p.memo, items: p.items && p.items.map((i) => { diff --git a/templates/payments/received.html b/templates/payments/received.html index 61888742..612f253e 100644 --- a/templates/payments/received.html +++ b/templates/payments/received.html @@ -24,6 +24,12 @@ {{payment.amount}} + {{payment.tip}} </div> + {{#if payment.memo}} + <div style="margin-bottom: 10px"> + Memo: {{payment.memo}} + </div> + {{/if}} + <div style="margin-bottom: 10px"> <a href="{{payment.link}}">{{payment.link}}</a> </div> |
