From c8f56207c0c8ee26b62824064e59d5952c20f70b Mon Sep 17 00:00:00 2001 From: jeff Date: Tue, 26 Jun 2007 15:37:19 +0000 Subject: suspend later just like expire (#1487) --- httemplate/edit/REAL_cust_pkg.cgi | 11 ++++++++++- httemplate/edit/process/REAL_cust_pkg.cgi | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'httemplate/edit') diff --git a/httemplate/edit/REAL_cust_pkg.cgi b/httemplate/edit/REAL_cust_pkg.cgi index 69bbb9b22..7a9e030e9 100755 --- a/httemplate/edit/REAL_cust_pkg.cgi +++ b/httemplate/edit/REAL_cust_pkg.cgi @@ -50,8 +50,9 @@ % % %#print info -%my($susp,$cancel,$expire)=( +%my($susp,$adjourn,$cancel,$expire)=( % $cust_pkg->getfield('susp'), +% $cust_pkg->getfield('adjourn'), % $cust_pkg->getfield('cancel'), % $cust_pkg->getfield('expire'), %); @@ -134,6 +135,14 @@ + + Adjournment date + + "> + +
(will suspend this package when the date is reached) + + % if ( $susp ) { diff --git a/httemplate/edit/process/REAL_cust_pkg.cgi b/httemplate/edit/process/REAL_cust_pkg.cgi index 26e234fb0..9255672c0 100755 --- a/httemplate/edit/process/REAL_cust_pkg.cgi +++ b/httemplate/edit/process/REAL_cust_pkg.cgi @@ -7,6 +7,7 @@ %$hash{'bill'} = $cgi->param('bill') ? str2time($cgi->param('bill')) : ''; %$hash{'last_bill'} = % $cgi->param('last_bill') ? str2time($cgi->param('last_bill')) : ''; +%$hash{'adjourn'} = $cgi->param('adjourn') ? str2time($cgi->param('adjourn')) : ''; %$hash{'expire'} = $cgi->param('expire') ? str2time($cgi->param('expire')) : ''; % %my $new; -- cgit v1.2.1