From 985fd23fa0963c685b7309447e6f5ea35c831320 Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Fri, 29 Jul 2016 18:57:14 -0500 Subject: RT#71009: (v4+) OFM - Separate permissions for edit dates and contract dates [tweaked now handling] --- httemplate/misc/process/change_pkg_date.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'httemplate/misc/process') diff --git a/httemplate/misc/process/change_pkg_date.html b/httemplate/misc/process/change_pkg_date.html index 5b1eedfad..3084ec538 100755 --- a/httemplate/misc/process/change_pkg_date.html +++ b/httemplate/misc/process/change_pkg_date.html @@ -38,8 +38,9 @@ my $cust_main = $cust_pkg->cust_main; my $error; my $date_value; if ( $cgi->param('when') eq 'now' ) { - # blank start means start it the next time billing runs - $date_value = $isstart ? '' : time; + # blank start means start it the next time billing runs ("Now") + # blank contract end means it never ends ("Never") + $date_value = ''; } elsif ( $cgi->param('when') eq 'next_bill_date' ) { $date_value = $cust_main->next_bill_date; } elsif ( $cgi->param('when') eq 'date' ) { -- cgit v1.2.1