aboutsummaryrefslogtreecommitdiffstats
path: root/templates/payments/received.html
blob: 0b15dac63924b031ae664312b12d9c42612624b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<style>
  @import url("https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;700&display=swap");

  body {
    font-family: "Public Sans", sans-serif;
  }
</style>

<html>
  <body>
    {{#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">
      {{payment.amount}} {{#if payment.tip}} + {{payment.tip}}{{/if}}
    </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>

    {{#if withdrawal.amount}}
    <div style="margin-bottom: 10px">{{withdrawalTriggered}} {{withdrawal.amount}}</div>

    <div style="margin-bottom: 10px">
      <a href="{{withdrawal.link}}">{{withdrawal.link}}</a>
    </div>
    {{else if withdrawal.failed}}
    <div style="margin-bottom: 10px">{{problemWithdrawing}}</div>
    {{/if}}

    <a href="{{payment.link}}">
      <img src="https://coinos.io/images/logo.webp" style="width: 200px; margin-top: 20px" />
    </a>
  </body>
</html>