summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/part_export.cgi
diff options
context:
space:
mode:
authorivan <ivan>2002-04-11 22:05:31 +0000
committerivan <ivan>2002-04-11 22:05:31 +0000
commita7c1b602f88c177db34477ed4cdc1f72603f8995 (patch)
tree116d090127ee48b041eeb9ff21a0d62c0c768250 /httemplate/edit/process/part_export.cgi
parent52a07a405e197fda1654fc61eefa538450f269e8 (diff)
(almost) everything for bug#375 - create export_svc table - part_svc to
part_export is now properly many-to-many, not one-to-many still need to finish service editing (choosing exports) in httemplate/edit/part_svc.cgi and httemplate/edti/process/part_svc.cgi and do somethinga about that manual $svcdb = 'svc_acct' in httemplate/edit/part_export.cgi (do part_export records need a svcdb? probably not... should be able to just pass an svcdb on creation of new exports, move the big %exports hash into part_export.pm and allow httemplate/edit/part_svc.cgi to query it for exports that can apply to a given svcdb....
Diffstat (limited to 'httemplate/edit/process/part_export.cgi')
-rw-r--r--httemplate/edit/process/part_export.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/edit/process/part_export.cgi b/httemplate/edit/process/part_export.cgi
index d0c87a02a..34eb699bf 100644
--- a/httemplate/edit/process/part_export.cgi
+++ b/httemplate/edit/process/part_export.cgi
@@ -18,6 +18,7 @@ my $error;
if ( $exportnum ) {
warn $old;
warn $exportnum;
+ warn $new->machine;
$error = $new->replace($old,\%options);
} else {
$error = $new->insert(\%options);
@@ -28,7 +29,7 @@ if ( $error ) {
$cgi->param('error', $error );
print $cgi->redirect(popurl(2). "part_export.cgi?". $cgi->query_string );
} else {
- print $cgi->redirect(popurl(3). "browse/part_svc.cgi");
+ print $cgi->redirect(popurl(3). "browse/part_export.cgi");
}
%>