diff options
author | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
commit | c82d349f864e6bd9f96fd1156903bc1f7193a203 (patch) | |
tree | e117a87533656110b6acd56fc0ca64289892a9f5 /httemplate/misc/inventory_item-move.cgi | |
parent | 74e058c8a010ef6feb539248a550d0bb169c1e94 (diff) |
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'httemplate/misc/inventory_item-move.cgi')
-rw-r--r-- | httemplate/misc/inventory_item-move.cgi | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/httemplate/misc/inventory_item-move.cgi b/httemplate/misc/inventory_item-move.cgi deleted file mode 100644 index 4d53beb23..000000000 --- a/httemplate/misc/inventory_item-move.cgi +++ /dev/null @@ -1,23 +0,0 @@ -<% '',$cgi->redirect(popurl(2). "search/inventory_item.html?$browse_opts") %> -<%init> - -# Shamelessly copied from misc/cust_attachment.cgi. - -my $browse_opts = join(';', map { $_.'='.$cgi->param($_) } - qw( classnum avail ) - ); - -my $move_agentnum = $cgi->param('move_agentnum') or - die "No agent selected"; -foreach my $itemnum ( - map { /^itemnum(\d+)$/; $1; } grep /^itemnum\d+$/, $cgi->param ) { - my $item = qsearchs('inventory_item', { 'itemnum' => $itemnum }); -# die "Can't move assigned inventory item $itemnum" if $item->svcnum; - my $error; - $item->agentnum($move_agentnum); - $error = $item->replace; - die $error if $error; -} - -</%init> - |