summaryrefslogtreecommitdiff
path: root/FS/FS/part_pkg/subscription.pm
diff options
context:
space:
mode:
authorjeff <jeff>2007-09-18 06:32:51 +0000
committerjeff <jeff>2007-09-18 06:32:51 +0000
commit64852c30f3025d1aafa3c9d5c81f6b20dddd1a36 (patch)
tree2d86e7a5c990803c22d7de99fbb0b1dca598fdcc /FS/FS/part_pkg/subscription.pm
parente1505ce8386ac19d01bbcf7ef2ac6f1f3798560b (diff)
allow assignment of auto recharge values AND rollover
Diffstat (limited to 'FS/FS/part_pkg/subscription.pm')
-rw-r--r--FS/FS/part_pkg/subscription.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/FS/FS/part_pkg/subscription.pm b/FS/FS/part_pkg/subscription.pm
index 00d15cd..7f4dbca 100644
--- a/FS/FS/part_pkg/subscription.pm
+++ b/FS/FS/part_pkg/subscription.pm
@@ -57,6 +57,10 @@ use FS::part_pkg::flat;
'format' => \&FS::UI::bytecount::display_bytecount,
'parse' => \&FS::UI::bytecount::parse_bytecount,
},
+ 'usage_rollover' => { 'name' => 'Allow usage from previous period to roll '.
+ 'over into current period',
+ 'type' => 'checkbox',
+ },
#it would be better if this had to be turned on, its confusing
'externalid' => { 'name' => 'Optional External ID',
'default' => '',
@@ -71,6 +75,7 @@ use FS::part_pkg::flat;
'upbytes', 'downbytes', 'totalbytes',
'recharge_amount', 'recharge_seconds', 'recharge_upbytes',
'recharge_downbytes', 'recharge_totalbytes',
+ 'usage_rollover',
],
'freq' => 'm',
'weight' => 30,