From b500b9de7f863e1a54fe117a565c04ef917109d8 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 19 Feb 2002 02:57:39 +0000 Subject: [PATCH] allow custom packages to edit service quantities also --- httemplate/edit/part_pkg.cgi | 12 +++++++++--- httemplate/view/cust_main.cgi | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi index ae268811a..8e7a6c5cf 100755 --- a/httemplate/edit/part_pkg.cgi +++ b/httemplate/edit/part_pkg.cgi @@ -110,7 +110,9 @@ my $thead = "\n\n". ntable('#cccccc', 2). <Quan.Service END -unless ( $cgi->param('clone') ) { +#unless ( $cgi->param('clone') ) { +#dunno why... +unless ( 0 ) { #print <', $thead;

Enter the quantity of each service this package includes.

@@ -135,7 +137,9 @@ foreach my $part_svc ( @part_svc ) { push @fixups, "pkg_svc$svcpart"; - unless ( defined ($cgi->param('clone')) && $cgi->param('clone') ) { + #unless ( defined ($cgi->param('clone')) && $cgi->param('clone') ) { + #dunno why... + unless ( 0 ) { print ''; # if $count == 0 ; print qq!quantity || 0, @@ -153,7 +157,9 @@ foreach my $part_svc ( @part_svc ) { } } -unless ( $cgi->param('clone') ) { +#unless ( $cgi->param('clone') ) { +#dunno why... +unless ( 0 ) { print ""; #print ""; } diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index 90299e4dd..34e99cf3e 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -302,7 +302,7 @@ foreach my $package (@packages) { qq!!, #qq!$pkg - $comment!, qq!$pkg - $comment!, - qq! ( Edit | Customize pricing )!, + qq! ( Edit | Customize )!, ; for ( qw( setup bill susp expire cancel ) ) { print "", ( $package->getfield($_) -- 2.11.0