admin_plan_info.rb
1field(
2 var: "start_date",
3 label: "Customer since",
4 description: @plan_info.relative_start_date,
5 value: @plan_info.formatted_start_date
6)
7
8field(
9 var: "billing_customer_id",
10 label: "Billing Customer Id",
11 value: @plan_info.billing_customer_id
12)
13
14unless @admin_info.subaccounts.empty?
15 field(
16 var: "subaccounts",
17 label: "Subaccounts",
18 value: @admin_info.subaccounts.map(&:customer_id)
19 )
20end