From 4bc3d0f7dacd7a8bc82b86daf4f938d6cf8def5b Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Fri, 24 Jan 2014 18:34:38 -0800 Subject: select a date when importing credits, RT#27087 --- httemplate/misc/cust_credit-import.html | 9 ++++++++- httemplate/misc/process/cust_credit-import.cgi | 5 +++++ 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'httemplate/misc') diff --git a/httemplate/misc/cust_credit-import.html b/httemplate/misc/cust_credit-import.html index 6de34e378..9a63a04c5 100644 --- a/httemplate/misc/cust_credit-import.html +++ b/httemplate/misc/cust_credit-import.html @@ -7,7 +7,7 @@ Import a file containing credits. 'name' => 'CreditImportForm', 'action' => 'process/cust_credit-import.cgi', 'num_files' => 1, - 'fields' => [ 'format', 'credbatch' ], + 'fields' => [ 'format', '_date', 'credbatch' ], 'message' => 'Credit import successful', 'url' => $p."search/cust_credit.html?credbatch=$credbatch", 'onsubmit' => "document.CreditImportForm.submitButton.disabled=true;", @@ -18,6 +18,13 @@ Import a file containing credits. + <& /elements/tr-input-date-field.html, { + 'name' => '_date', + #'value' => '', + 'label' => 'Date', + } + &> +