diff options
author | Mark Wells <mark@freeside.biz> | 2014-02-27 14:04:52 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2014-02-27 15:08:21 -0800 |
commit | a0e00fa0547e99893c735ab3dbdacdb2bb054f5a (patch) | |
tree | 2784c6564ab363606a606fbbac56539006bb16a1 /FS/FS/part_event/Action | |
parent | 55190e4a18ff318cf2a0ac2eb6abaf7a3b95e087 (diff) |
package fees and usage-based fees, #27687, #25899
Diffstat (limited to 'FS/FS/part_event/Action')
-rw-r--r-- | FS/FS/part_event/Action/pkg_fee.pm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/FS/FS/part_event/Action/pkg_fee.pm b/FS/FS/part_event/Action/pkg_fee.pm new file mode 100644 index 0000000..7e409a5 --- /dev/null +++ b/FS/FS/part_event/Action/pkg_fee.pm @@ -0,0 +1,16 @@ +package FS::part_event::Action::pkg_fee; + +use strict; +use base qw( FS::part_event::Action::Mixin::fee ); + +sub description { 'Charge a fee when this package is billed'; } + +sub eventtable_hashref { + { 'cust_pkg' => 1 }; +} + +sub hold_until_bill { 1 } + +# Functionally identical to cust_fee. + +1; |