X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2FREAL_cust_pkg.cgi;h=166a3b7ea064bd07bb3cda9586e08d75a7490e81;hb=06fb1346ff8076a84f743fa07de31852942e144f;hp=859baa1b1dec35750f6a50244ddc9b34d5e0bbc0;hpb=38532144b08af1ae9e577c32ad1924e7c891b8c6;p=freeside.git diff --git a/httemplate/edit/REAL_cust_pkg.cgi b/httemplate/edit/REAL_cust_pkg.cgi index 859baa1b1..166a3b7ea 100755 --- a/httemplate/edit/REAL_cust_pkg.cgi +++ b/httemplate/edit/REAL_cust_pkg.cgi @@ -61,6 +61,7 @@ %#} <& .row_display, cust_pkg=>$cust_pkg, column=>'adjourn', label=>'Adjournment', note=>'(will suspend this package when the date is reached)' &> <& .row_display, cust_pkg=>$cust_pkg, column=>'susp', label=>'Suspension' &> + <& .row_display, cust_pkg=>$cust_pkg, column=>'resume', label=>'Resumption', note=> '(will unsuspend this package when the date is reached' &> <& .row_display, cust_pkg=>$cust_pkg, column=>'expire', label=>'Expiration', note=>'(will cancel this package when the date is reached)' &> <& .row_display, cust_pkg=>$cust_pkg, column=>'cancel', label=>'Cancellation' &> @@ -129,7 +130,7 @@
- + <% include('/elements/footer.html') %> @@ -174,10 +175,17 @@ if ( $cgi->param('error') ) { if ( $errors{'_setup_areyousure'} ) { push @errors, "You are attempting to remove the setup date. This will re-charge the - customer for the setup fee. Are you sure you want to do this? ". + customer for the setup fee. Are you sure you want to do this? ". ''; } + if ( $errors{'_setupadd_areyousure'} ) { + push @errors, + "You are attempting to add a setup date. This will prevent charging the + customer for the setup fee. Are you sure you want to do this? ". + ''; + } + if ( $errors{'_start'} ) { push @errors, "You are attempting to add a start date to a package that has already @@ -192,7 +200,7 @@ if ( $cgi->param('error') ) { $cust_pkg = qsearchs('cust_pkg',{'pkgnum'=>$pkgnum}); die "No package!" unless $cust_pkg; - foreach my $col (qw( start_date setup last_bill bill adjourn expire )) { + foreach my $col (qw( start_date setup last_bill bill )) { my $value = $cgi->param($col); $cust_pkg->set( $col, $value ? parse_datetime($value) : '' ); }