-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebit.html
More file actions
99 lines (91 loc) · 4.27 KB
/
debit.html
File metadata and controls
99 lines (91 loc) · 4.27 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<div class="invoice-box">
<button id="print" onclick="window.print()">Print</button>
<table cellpadding="0" cellspacing="0">
<tr class="top">
<td colspan="2">
<table>
<tr>
<td class="title">
<a href="https://devternity.com"><img
src="https://res.cloudinary.com/eduardsi/image/upload/c_scale,h_200/v1513458004/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoyOTM1MTYwLCJidWNrZXQiOiJ1cGxvYWRzIiwia2V5IjoiJ2RvY3MtJy0yOTM1MTYwL3VwbG9hZC1kZGIwMjcyMDYyMDllYmE3ODQyYzIyNmIyNzlhZTVhM2E0ZTk2YjI0IiwiZmlsZW5hbWUiOiJ_nottdy.png"
style="width: 30%; max-width: 300px" /></a>
</td>
<td>
<h3>Invoice ID: {{invoice.details.no}}</h3>
Issued: {{invoice.issued}}<br />
Due: {{invoice.due}}
</td>
</tr>
</table>
</td>
</tr>
<tr class="information">
<td colspan="2">
<table>
<tr>
<td>
<strong>Billed To</strong><br />
{{invoice.details.name}}<br />
VAT number: {{invoice.details.vatNo}}<br />
{{invoice.details.address}}
</td>
<td>
<strong>Issued By</strong><br />
{{invoice.details.billTo.name}}<br />
Registration number: {{invoice.details.billTo.regNo}}<br />
VAT number: {{invoice.details.billTo.vatNo}}<br />
{{invoice.details.billTo.address}}<br /><br />
<strong>Bank Transfer Details {{invoice.details.billTo.transferHint}}</strong><br />
Bank: {{invoice.details.billTo.bank}}<br />
IBAN: {{invoice.details.billTo.iban}}<br />
SWIFT/BIC: {{invoice.details.billTo.swift}}
</td>
</tr>
</table>
</td>
</tr>
<tr class="heading">
<td>Description</td>
<td>Price</td>
</tr>
<tr class="item" ng-repeat="order in invoice.details.orders" ng-class="{'last':$last}">
<td>{{order.name}}</td>
<td>{{invoice.currencyChar}} {{order.amount}}</td>
</tr>
<tr class="total">
<td ng-if="invoice.details.billTo.vatNo === '-'" colspan="2">
Ei ole käibemaksukohustuslane
</td>
<td ng-if="invoice.details.billTo.vatNo !== '-'" colspan="2">
Subtotal: {{invoice.currencyChar}} {{invoice.details.subtotal}}<br />
<span ng-if="invoice.details.discount">Discount: {{invoice.currencyChar}}
{{invoice.details.discount}}<br /></span>
{{(invoice.details.vatRate > 0 || invoice.details.vatNo === '-') ? ("VAT " + invoice.details.vatRate +
"%: " + invoice.currencyChar + invoice.details.vat) : "VAT: reverse charge"}}<br />
Total: {{invoice.currencyChar}} {{invoice.details.total}}
</td>
</tr>
</table>
<table>
<tr class="details">
<td>
<strong>Notes</strong>
<b ng-if="invoice.details.po"><br />📒 PO number: {{invoice.details.po}}</b>
<br />
When making bank payment, please provide Invoice ID
<b>{{invoice.details.no}}</b> in the description.
<br />
<span>{{invoice.details.notes}}</span>
</td>
</tr>
<tr class="details">
<td>
<strong>💳 Pay with Visa/Mastercard/Amex:</strong>
<br />
<b>
<a
href="https://api.devternity.com/checkout/{{invoice.details.invoiceUUID}}">https://api.devternity.com/checkout/{{invoice.details.invoiceUUID}}</a></b>
</td>
</tr>
</table>
</div>