X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fcust_pkg-import.html;h=e0c0c7ff4018d4500e8dc2ee3ce17fa748a4016d;hb=b4aea58e0d04ff1930397e0f96ecdc50748b748b;hp=404e9658813bede57314de239c290c490285e8df;hpb=5ba9e554e180575013c128f1fcd67723fcc2a75d;p=freeside.git diff --git a/httemplate/misc/cust_pkg-import.html b/httemplate/misc/cust_pkg-import.html index 404e96588..e0c0c7ff4 100644 --- a/httemplate/misc/cust_pkg-import.html +++ b/httemplate/misc/cust_pkg-import.html @@ -1,26 +1,25 @@ -<% include("/elements/header.html",'Batch Package Import') %> +<& /elements/header.html, 'Customer package import' &> -Import a file containing package records. +Import a file containing customer packages.

-<% include( '/elements/form-file_upload.html', - 'name' => 'PackageImportForm', - 'action' => 'process/cust_pkg-import.html', - 'num_files' => 1, - 'fields' => [ 'agentnum', 'pkgbatch', 'format' ], - 'message' => 'Package import successful', - 'url' => $p."search/cust_pkg.cgi?pkgbatch=$pkgbatch", - ) -%> +<& /elements/form-file_upload.html, + 'name' => 'PackageImportForm', + 'action' => 'process/cust_pkg-import.html', + 'num_files' => 1, + 'fields' => [ 'agentnum', 'pkgbatch', 'format' ], + 'message' => 'Customer package import successful', + 'url' => $p."search/cust_pkg.cgi?pkgbatch=$pkgbatch", + 'onsubmit' => "document.PackageImportForm.submitButton.disabled=true;" +&> <% &ntable("#cccccc", 2) %> - <% include( '/elements/tr-select-agent.html', - #'curr_value' => '', #$agentnum, - 'label' => "Agent", - 'empty_label' => 'Select agent', - ) - %> + <& /elements/tr-select-agent.html, + #'curr_value' => '', #$agentnum, + 'label' => "Agent", + 'empty_label' => 'Select agent', + &> @@ -36,22 +35,24 @@ Import a file containing package records.