1form!
2instructions "Add Transaction"
3
4field(
5 var: "transaction_id",
6 type: "text-single",
7 label: "Transaction ID",
8 description: "a % will be replaced with a unique value"
9)
10
11field(
12 var: "amount",
13 type: "text-single",
14 datatype: "xs:decimal",
15 label: "Amount"
16)
17
18field(
19 var: "note",
20 type: "list-single",
21 open: true,
22 label: "Note",
23 options: [
24 { value: "Bitcoin payment" },
25 { value: "Cash" },
26 { value: "Interac e-Transfer" },
27 { value: "Bitcoin Cash" },
28 { value: "PayPal Migration Bonus" }
29 ]
30)
31
32field(
33 var: "bonus_eligible?",
34 type: "boolean",
35 label: "Compute bonus?",
36 value: 1
37)