form!
instructions "Add Transaction"

field(
	var: "transaction_id",
	type: "text-single",
	label: "Transaction ID",
	description: "a % will be replaced with a unique value"
)

field(
	var: "amount",
	type: "text-single",
	datatype: "xs:decimal",
	label: "Amount"
)

field(
	var: "note",
	type: "list-single",
	open: true,
	label: "Note",
	options: [
		{ value: "Bitcoin payment" },
		{ value: "Cash" },
		{ value: "Interac e-Transfer" },
		{ value: "Bitcoin Cash" },
		{ value: "PayPal Migration Bonus" },
		{ value: "5GB Data Topup" }
	]
)

field(
	var: "bonus_eligible?",
	type: "boolean",
	label: "Compute bonus?",
	value: 1
)
