allow fees to be charged based on batch payment attempts, #27778
[freeside.git] / FS / FS / part_event / Action / cust_fee.pm
1 package FS::part_event::Action::cust_fee;
2
3 use strict;
4 use base qw( FS::part_event::Action::Mixin::fee );
5
6 sub description { 'Charge a fee based on the customer\'s current invoice'; }
7
8 sub eventtable_hashref {
9     { 'cust_main'       => 1,
10       'cust_pay_batch'  => 1 };
11 }
12
13 sub hold_until_bill { 1 }
14
15 # Otherwise identical to cust_bill_fee.  We only have a separate event 
16 # because it behaves differently as an invoice event than as a customer
17 # event, and needs a different description.
18
19 1;