summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-05-17 15:09:14 -0700
committerIvan Kohler <ivan@freeside.biz>2013-05-17 15:09:14 -0700
commitcfcc6dd44b65698bea942ca0cf2e010141267303 (patch)
tree3381a869532aa7bd8fea7be4dab8eda8ea54c272
parentdd66730eb92b6b87cd68f3bd3bc46786bf33799c (diff)
add contract_end to Package age condition, RT#23171
-rw-r--r--FS/FS/part_event/Condition/pkg_age.pm20
1 files changed, 11 insertions, 9 deletions
diff --git a/FS/FS/part_event/Condition/pkg_age.pm b/FS/FS/part_event/Condition/pkg_age.pm
index 4a8538780..24a73e22f 100644
--- a/FS/FS/part_event/Condition/pkg_age.pm
+++ b/FS/FS/part_event/Condition/pkg_age.pm
@@ -23,16 +23,18 @@ sub option_fields {
},
'field' => { 'label' => 'Compare date',
'type' => 'select',
- 'options' =>
- [qw( setup last_bill bill adjourn susp expire cancel )],
+ 'options' => [qw(
+ setup last_bill bill adjourn susp expire cancel contract_end
+ )],
'labels' => {
- 'setup' => 'Setup date',
- 'last_bill' => 'Last bill date',
- 'bill' => 'Next bill date',
- 'adjourn' => 'Adjournment date',
- 'susp' => 'Suspension date',
- 'expire' => 'Expiration date',
- 'cancel' => 'Cancellation date',
+ 'setup' => 'Setup date',
+ 'last_bill' => 'Last bill date',
+ 'bill' => 'Next bill date',
+ 'adjourn' => 'Adjournment date',
+ 'susp' => 'Suspension date',
+ 'expire' => 'Expiration date',
+ 'cancel' => 'Cancellation date',
+ 'contract_end' => 'Contract end date',
},
},
);