X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fcust_pkg-import.html;h=94e7dd926459ef19cc367df1a6791302bb6cbb1e;hb=5592cab603e6fda46268ca5addb1b036662e1576;hp=b29884d66fa813ffb51dd9ba1f389d22bc5c105d;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git
diff --git a/httemplate/misc/cust_pkg-import.html b/httemplate/misc/cust_pkg-import.html
index b29884d66..94e7dd926 100644
--- a/httemplate/misc/cust_pkg-import.html
+++ b/httemplate/misc/cust_pkg-import.html
@@ -3,15 +3,15 @@
Import a file containing package records.
-<% 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' => 'Package import successful',
+ 'url' => $p."search/cust_pkg.cgi?pkgbatch=$pkgbatch",
+ 'onsubmit' => "document.PackageImportForm.submitButton.disabled=true;"
+&>
<% &ntable("#cccccc", 2) %>
@@ -36,6 +36,9 @@ Import a file containing package records.