diff options
author | ivan <ivan> | 2002-12-20 03:29:37 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-12-20 03:29:37 +0000 |
commit | 587a93086f6d47881d95462d292cf7d260a9d6a1 (patch) | |
tree | 93497e466203db8da2cc0a5473ccae0e02d3a5d2 | |
parent | f800872bff0d887ee096dfef186e6da7275ce5ae (diff) |
no changing cancelled packages
-rwxr-xr-x | httemplate/view/cust_main.cgi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index c49efa653..62e961dfa 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -399,11 +399,12 @@ foreach my $package (@packages) { qq!$pkg - $comment ( <a href="$pkgview">Details</a> )!; # | !; - print qq! ( <A HREF="${p}misc/change_pkg.cgi?$pkgnum">!. - 'Change package</A> )'; - #false laziness with view/cust_pkg.cgi, but i'm trying to make that go away so unless ( $package->getfield('cancel') ) { + + print qq! ( <A HREF="${p}misc/change_pkg.cgi?$pkgnum">!. + 'Change package</A> )'; + print ' ( '; if ( $package->getfield('susp') ) { print qq!<A HREF="${p}misc/unsusp_pkg.cgi?$pkgnum">Unsuspend</A>!; |