diff options
author | levinse <levinse> | 2010-12-08 21:37:45 +0000 |
---|---|---|
committer | levinse <levinse> | 2010-12-08 21:37:45 +0000 |
commit | 19f2731dbceb444c5dd45f57fb0a785dcaf9aa65 (patch) | |
tree | a4bcff91ee75260b0f0384b6888b86f7c0232d29 /httemplate/edit/process | |
parent | df2bf964527e0b5596af471b1b7d84d14305b2a2 (diff) |
-rename qual export sub to part_export, RT7111
-initial commit of part_pkg_vendor implementation, RT7111
Diffstat (limited to 'httemplate/edit/process')
-rwxr-xr-x | httemplate/edit/process/part_pkg.cgi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/httemplate/edit/process/part_pkg.cgi b/httemplate/edit/process/part_pkg.cgi index 724880190..27f07e617 100755 --- a/httemplate/edit/process/part_pkg.cgi +++ b/httemplate/edit/process/part_pkg.cgi @@ -131,6 +131,16 @@ my $args_callback = sub { 'custnum_ref' => \$custnum; } + my %part_pkg_vendor; + foreach my $param ( $cgi->param ) { + if ( $param =~ /^export(\d+)$/ && length($cgi->param($param)) > 0 ) { + $part_pkg_vendor{$1} = $cgi->param($param); + } + } + if ( keys %part_pkg_vendor > 0 ) { + push @args, 'part_pkg_vendor' => \%part_pkg_vendor; + } + #warn "args: ".join('/', @args). "\n"; @args; |