summaryrefslogtreecommitdiff
path: root/FS/FS/part_event/Action/cust_fee.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-02-18 22:04:12 -0800
committerMark Wells <mark@freeside.biz>2014-02-18 22:04:24 -0800
commit30e2dfd524a3f52445cbca6bc2cd1962dce7eb04 (patch)
tree2f54d7d1e316d4e0ab3137848e46ea8dfceb4a37 /FS/FS/part_event/Action/cust_fee.pm
parent3c7fd3e7d40f2c946b2fcf63c63d595c82fcae22 (diff)
non-package fees, phase 1, #25899
Diffstat (limited to 'FS/FS/part_event/Action/cust_fee.pm')
-rw-r--r--FS/FS/part_event/Action/cust_fee.pm16
1 files changed, 16 insertions, 0 deletions
diff --git a/FS/FS/part_event/Action/cust_fee.pm b/FS/FS/part_event/Action/cust_fee.pm
new file mode 100644
index 0000000..a6f1078
--- /dev/null
+++ b/FS/FS/part_event/Action/cust_fee.pm
@@ -0,0 +1,16 @@
+package FS::part_event::Action::cust_fee;
+
+use strict;
+use base qw( FS::part_event::Action::Mixin::fee );
+
+sub description { 'Charge a fee based on the customer\'s current invoice'; }
+
+sub eventtable_hashref {
+ { 'cust_main' => 1 };
+}
+
+# Otherwise identical to cust_bill_fee. We only have a separate event
+# because it behaves differently as an invoice event than as a customer
+# event, and needs a different description.
+
+1;