1form!
2
3title "Plan Settings"
4
5instructions(
6 "Your plan includes #{@customer.message_limit} and " \
7 "#{@customer.minute_limit}. JMP will always prompt for your explicit " \
8 "consent before allowing any action which would incur more overage in a " \
9 "calendar month than your configured limits below."
10)
11
12field(
13 var: "monthly_overage_limit",
14 type: "text-single",
15 datatype: "xs:integer",
16 label: "Dollars of overage to allow each month",
17 description:
18 "0 means you will never be automatically charged more " \
19 "than your monthly fee",
20 value: @customer.monthly_overage_limit.to_s
21)
22
23if @sims && !@sims.empty?
24 field(
25 var: "monthly_data_limit",
26 type: "text-single",
27 datatype: "xs:integer",
28 label: "Dollars of data charges to allow each month",
29 description:
30 "0 means you will never be automatically charged",
31 value: @data_limit
32 )
33end