summaryrefslogtreecommitdiff
path: root/httemplate/edit/process
diff options
context:
space:
mode:
authorlevinse <levinse>2010-12-08 21:37:45 +0000
committerlevinse <levinse>2010-12-08 21:37:45 +0000
commit19f2731dbceb444c5dd45f57fb0a785dcaf9aa65 (patch)
treea4bcff91ee75260b0f0384b6888b86f7c0232d29 /httemplate/edit/process
parentdf2bf964527e0b5596af471b1b7d84d14305b2a2 (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-xhttemplate/edit/process/part_pkg.cgi10
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;