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 { value: "5GB Data Topup" }
30 ]
31)
32
33field(
34 var: "bonus_eligible?",
35 type: "boolean",
36 label: "Compute bonus?",
37 value: 1
38)