diff options
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-x | httemplate/edit/REAL_cust_pkg.cgi | 11 | ||||
-rwxr-xr-x | httemplate/edit/process/REAL_cust_pkg.cgi | 1 |
2 files changed, 11 insertions, 1 deletions
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 @@ <IMG SRC="../images/calendar.png" ID="bill_button" STYLE="cursor: pointer" TITLE="Select date"> </TD> </TR> + <TR> + <TD ALIGN="right">Adjournment date</TD> + <TD> + <INPUT TYPE="text" NAME="adjourn" SIZE=32 ID="adjourn_text" VALUE="<% ( $adjourn ? time2str($format, $adjourn) : "" ) %>"> + <IMG SRC="../images/calendar.png" ID="adjourn_button" STYLE="cursor: pointer" TITLE="Select date"> + <BR><FONT SIZE=-1>(will <b>suspend</b> this package when the date is reached)</FONT> + </TD> + </TR> % if ( $susp ) { <TR> 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; |