projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
71696: OFM Request for additional action on Billing Events [msgclass limit, v4+ only]
[freeside.git]
/
FS
/
FS
/
part_event
/
Action
/
cust_bill_suspend_if_balance.pm
diff --git
a/FS/FS/part_event/Action/cust_bill_suspend_if_balance.pm
b/FS/FS/part_event/Action/cust_bill_suspend_if_balance.pm
index
6559949
..
13188ab
100644
(file)
--- a/
FS/FS/part_event/Action/cust_bill_suspend_if_balance.pm
+++ b/
FS/FS/part_event/Action/cust_bill_suspend_if_balance.pm
@@
-3,13
+3,9
@@
package FS::part_event::Action::cust_bill_suspend_if_balance;
use strict;
use base qw( FS::part_event::Action );
use strict;
use base qw( FS::part_event::Action );
-sub description {
- 'Suspend if balance (this invoice and previous) over';
-}
+sub description { 'Suspend if balance (this invoice and previous) over'; }
-sub deprecated {
- 1;
-}
+sub deprecated { 1; }
sub eventtable_hashref {
{ 'cust_bill' => 1 };
sub eventtable_hashref {
{ 'cust_bill' => 1 };
@@
-23,12
+19,10
@@
sub option_fields {
'reason_class' => 'S',
},
);
'reason_class' => 'S',
},
);
-};
-
-sub default_weight {
- 10;
}
}
+sub default_weight { 10; }
+
sub do_action {
my( $self, $cust_bill ) = @_;
sub do_action {
my( $self, $cust_bill ) = @_;