summaryrefslogtreecommitdiff
path: root/desk/web/invoice.hoon
blob: b3529c7521b630ef3c1c559f6cc23ca13920912d (plain)
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
|%
++  css  ^~  %-  trip
'''
body{
  width: 600;
  margin: auto;
  height: 100%;
  overflow-y: hidden;
}
.row{
  display: flex;
}
.meta{
  justify-items: right;
}
'''
++  logo  "https://s3.sortug.com/img/sortug-logo.png"
++  html
;html
;body
;style: {css}
  ;div.row
    ;div.logo
      ;div:"Sortug Development"
      ;img@"{logo}";
    ==
    ;h1: Invoice
  ==
  ;div.row
    ;div.dest
      ;div:"Billed to:"
      ;div:"Chorus One AG"
    ==
    ;div.meta
      ;div:"Invoice #20240205"
      ;div:"Issued 2024/Feb/21"
      ;div:"Due: On receipt"
    ==
  ==
    ;table.items
      ;tr
        ;th:"Description"
        ;th:"Quantity"
        ;th:"Price"
        ;th:"Amount"
      ==
      ;tr.item
        ;td.desc
          ;div:"Urbit Development"
          ;span:"Development of Tendermint implementation for %chain project"
        ==
        ;td:"1"
        ;td:"USD 2,500"
        ;td:"USD 2,500"
      ==
    ==
    ;div.row
      ;div.payment
        ;h2:"Payment Method"
        ;div:"Bank name: HSBC Hong Kong"
        ;div:"Bank address: 1 Queen's Road Central, Hong Kong"
        ;div:"SWIFT code: HSBCHKHHHKH"
        ;div:"Account number: 121-338933-833"
        ;div:"Account name: Santiago Campos Losada"
      ==
      ;table.total
        ;tr
          ;td:"Subtotal"
          ;td:"USD 2,500"
        ==
        ;tr
          ;td:"Tax"
          ;td:"-"
        ==
        ;tr
          ;td:"Discount"
          ;td:"-"
        ==
        ;tr.total
          ;td:"Total due"
          ;td:"USD 2,500"
        ==
      ==
    ==
==
==
--