diff options
author | ivan <ivan> | 2010-05-20 22:48:42 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-05-20 22:48:42 +0000 |
commit | f1cd7f98b487e74aa60b6c41d3377cc60f7ac25a (patch) | |
tree | 9cb67dd062685eaad04db1cb78ac00516c866718 /httemplate/misc | |
parent | 85c3933c8b7508ab2aeb0f9e6b96dd1b6432fb9f (diff) |
agent virt inventory, RT#7010
Diffstat (limited to 'httemplate/misc')
-rw-r--r-- | httemplate/misc/inventory_item-import.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/httemplate/misc/inventory_item-import.html b/httemplate/misc/inventory_item-import.html index c7edac609..990c14ffc 100644 --- a/httemplate/misc/inventory_item-import.html +++ b/httemplate/misc/inventory_item-import.html @@ -7,8 +7,8 @@ Import a file containing <% PL($inventory_class->classname) %>, one per line. 'name' => 'InventoryItemImportForm', 'action' => 'process/inventory_item-import.html', 'num_files' => 1, - #'fields' => [ 'format', 'itembatch', 'classnum', ], - 'fields' => [ 'format', 'classnum', ], + #'fields' => [ 'format', 'itembatch', 'classnum', 'agentnum' ], + 'fields' => [ 'format', 'classnum', 'agentnum', ], 'message' => 'Inventory import successful', #XXX redirect via $itembatch? or just back to class browse? #'url' => $p."search/phone_avail.html?availbatch=$availbatch", @@ -24,6 +24,8 @@ Import a file containing <% PL($inventory_class->classname) %>, one per line. %# <INPUT TYPE="hidden" NAME="itembatch" VALUE="<% $itembatch %>"> + <% include('/elements/tr-select-agent.html') %> + <% include( '/elements/file-upload.html', 'field' => 'file', 'label' => 'Filename', |