X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_pkg%2Fglobal_Mixin.pm;h=137db1cbc60f93ede240bfb109ce50bbfdadc829;hb=4109791a9b80df968edaf2e71da8ebcfb8882be3;hp=56f160247aaa392433486ec6c26a14e907bd97a9;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984;p=freeside.git diff --git a/FS/FS/part_pkg/global_Mixin.pm b/FS/FS/part_pkg/global_Mixin.pm index 56f160247..137db1cbc 100644 --- a/FS/FS/part_pkg/global_Mixin.pm +++ b/FS/FS/part_pkg/global_Mixin.pm @@ -1,9 +1,7 @@ package FS::part_pkg::global_Mixin; use strict; -use vars qw(@ISA %info); -use FS::part_pkg; -@ISA = qw(FS::part_pkg); +use vars qw(%info); %info = ( 'disabled' => 1, @@ -21,6 +19,11 @@ use FS::part_pkg; 'cancellation', 'type' => 'checkbox', }, + 'unused_credit_suspend' => { + 'name' => 'Credit the customer for the unused portion of service when '. + 'suspending', + 'type' => 'checkbox', + }, 'unused_credit_change' => { 'name' => 'Credit the customer for the unused portion of service when '. 'changing packages', @@ -31,6 +34,7 @@ use FS::part_pkg; setup_fee recur_fee unused_credit_cancel + unused_credit_suspend unused_credit_change )], );