diff options
author | ivan <ivan> | 2002-12-20 03:29:39 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-12-20 03:29:39 +0000 |
commit | 58765a99751a62980dd96c28f7d03b05045056be (patch) | |
tree | fb6405225f5cf5674fb9a9646ce121505e32262f | |
parent | 572ed4c14c0988a1077201ab01bb5d7a685720da (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>!; |