X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Finventory_item-import.html;h=990c14ffc5e4bc291127c255ecfedba3fd197716;hb=7b125e587a4d1ee0aca692e23ea7897f671855ae;hp=c7edac6093a5a1f3fa590bb52e1ba218fea9bd2f;hpb=40a7b3dc653e099f7bd0bd762b649b04c4432db2;p=freeside.git 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. %# + <% include('/elements/tr-select-agent.html') %> + <% include( '/elements/file-upload.html', 'field' => 'file', 'label' => 'Filename',