X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fprocess%2Fpart_pkg.cgi;h=08bc9b7237785c576bf0d054adf00f5c36a4f298;hb=6991d4986df7fb3a6c7c49b5ae1b3713e87a16c4;hp=cd799b5b9608914986886dec1fc563fbef5ce266;hpb=60c837e0aaf454dfa0b0c0283dc36928782d1b6c;p=freeside.git diff --git a/httemplate/edit/process/part_pkg.cgi b/httemplate/edit/process/part_pkg.cgi index cd799b5b9..08bc9b723 100755 --- a/httemplate/edit/process/part_pkg.cgi +++ b/httemplate/edit/process/part_pkg.cgi @@ -1,5 +1,5 @@ <% -# +# use strict; use vars qw( $cgi $pkgpart $old $new $part_svc $error $dbh ); @@ -26,8 +26,9 @@ $cgi->param('plandata', join('', map { "$_=". $cgi->param($_). "\n" } @plandata ) ); -$cgi->param('setuptax','') unless defined $cgi->param('setuptax'); -$cgi->param('recurtax','') unless defined $cgi->param('recurtax'); +foreach (qw( setuptax recurtax disabled )) { + $cgi->param($_, '') unless defined $cgi->param($_); +} $new = new FS::part_pkg ( { map { @@ -35,8 +36,8 @@ $new = new FS::part_pkg ( { } fields('part_pkg') } ); -warn "setuptax: ". $new->setuptax; -warn "recurtax: ". $new->recurtax; +#warn "setuptax: ". $new->setuptax; +#warn "recurtax: ". $new->recurtax; #most of the stuff below should move to part_pkg.pm