From 508756cf10352b6cf54a32fbce18ec57121214ce Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Fri, 17 May 2013 15:09:13 -0700 Subject: [PATCH] add contract_end to Package age condition, RT#23171 --- FS/FS/part_event/Condition/pkg_age.pm | 20 +++++++++++--------- 1 file 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', }, }, ); -- 2.11.0