X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_pkg%2Fsubscription.pm;fp=FS%2FFS%2Fpart_pkg%2Fsubscription.pm;h=3c5f96b89bf5dba0da8488c35b004545fc48e2ea;hb=d3ce5efd1ec0e1a715a154696e2b0aa86e51c27b;hp=5495e3ad328519674be7dd15b492a791eea85432;hpb=90393980e5f2859ee1e186fa461f48f5129e803e;p=freeside.git diff --git a/FS/FS/part_pkg/subscription.pm b/FS/FS/part_pkg/subscription.pm index 5495e3ad3..3c5f96b89 100644 --- a/FS/FS/part_pkg/subscription.pm +++ b/FS/FS/part_pkg/subscription.pm @@ -11,13 +11,8 @@ use FS::part_pkg::flat; %info = ( 'name' => 'First partial month full charge, then flat-rate (selectable billing day)', 'shortname' => 'Subscription (Nth of month, full charge for first)', + 'inherit_fields' => [ 'usage_Mixin', 'global_Mixin' ], 'fields' => { - 'setup_fee' => { 'name' => 'Setup fee for this package', - 'default' => 0, - }, - 'recur_fee' => { 'name' => 'Recurring fee for this package', - 'default' => 0, - }, 'cutoff_day' => { 'name' => 'Billing day', 'default' => 1, }, @@ -81,7 +76,7 @@ use FS::part_pkg::flat; 'default' => '', }, }, - 'fieldorder' => [ 'setup_fee', 'recur_fee', 'cutoff_day', 'seconds', + 'fieldorder' => [ 'cutoff_day', 'seconds', 'upbytes', 'downbytes', 'totalbytes', 'recharge_amount', 'recharge_seconds', 'recharge_upbytes', 'recharge_downbytes', 'recharge_totalbytes',