1field(
 2	var: "remaining_included_calling_credit",
 3	label: "Remaining Included Calling Credit",
 4	value: "$%.4f" % @plan_info.remaining_included_calling_credit
 5)
 6
 7if @admin_info
 8	field(
 9		var: "plan",
10		label: "Plan",
11		value: @plan_info.customer.plan_name
12	)
13end
14
15field(
16	var: "renewal",
17	label: "Renewal",
18	value: @plan_info.monthly_price
19)
20
21field(
22	var: "currency",
23	label: "Currency",
24	value: @plan_info.currency
25)
26
27field(
28	var: "expires_at",
29	label: @plan_info.customer.active? ? "Next renewal" : "Expired at",
30	value: @plan_info.expires_at.strftime("%Y-%m-%d")
31)
32
33if @plan_info.auto_top_up_amount.positive?
34	field(
35		var: "auto_top_up_amount",
36		label: "Auto Top-up",
37		value: @plan_info.auto_top_up_amount.to_s
38	)
39else
40	field(
41		label: "Auto Top-up",
42		value: "No"
43	)
44end