X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Finventory_item-import.html;fp=httemplate%2Fmisc%2Finventory_item-import.html;h=a702fbc4902db31c2d0124245888aea87e584106;hb=6d2cd8e6fc566b4fccd0075156e3e1ddd59fa042;hp=0000000000000000000000000000000000000000;hpb=600a0939e7e7e589dae4f4f5bfef3650728940b7;p=freeside.git diff --git a/httemplate/misc/inventory_item-import.html b/httemplate/misc/inventory_item-import.html new file mode 100644 index 000000000..a702fbc49 --- /dev/null +++ b/httemplate/misc/inventory_item-import.html @@ -0,0 +1,20 @@ +<% + +my $classnum = $cgi->param('classnum'); +$classnum =~ /^(\d+)$/ or eidiot "illegal classnum $classnum"; +$classnum = $1; +my $inventory_class = qsearchs('inventory_class', { 'classnum' => $classnum } ); + +%><%= include("/elements/header.html", $inventory_class->classname. 's') %> + +
+ +Import a file containing <%= $inventory_class->classname %>s, one per line.

+ +Filename:

+ + +
+ +<%= include('/elements/footer.html') %> +