diff options
author | Joshua Goodman <jgoodman1990@gmail.com> | 2014-02-25 05:40:17 +0000 |
---|---|---|
committer | Joshua Goodman <jgoodman1990@gmail.com> | 2014-02-25 05:40:17 +0000 |
commit | daa3524d4f512f2bf671c6b07c606ba3eec1fefc (patch) | |
tree | 4f37c2c0378561617f97949602fb57a354269e4e /httemplate/edit | |
parent | 73e20a91b38b27ad5be79306ba25bdfb5a1252e1 (diff) |
updated ui to use a dropdown of existing reason types instead of text box
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-x | httemplate/edit/cust_refund.cgi | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/httemplate/edit/cust_refund.cgi b/httemplate/edit/cust_refund.cgi index df42e63ae..9f7ac8dee 100755 --- a/httemplate/edit/cust_refund.cgi +++ b/httemplate/edit/cust_refund.cgi @@ -106,14 +106,17 @@ <INPUT TYPE="hidden" NAME="payinfo" VALUE=""> % } - <TR> - <TD ALIGN="right">Reason</TD> - <TD BGCOLOR="#ffffff"><INPUT TYPE="text" NAME="reason" VALUE="<% $reason %>"></TD> - </TR> +<& /elements/tr-select-reason.html, + 'field' => 'reasonnum', + 'reason_class' => 'F', + 'control_button' => "document.getElementById('confirm_refund_button')", + 'cgi' => $cgi, +&> + </TABLE> <BR> -<INPUT TYPE="submit" NAME="submit" VALUE="Post refund"> +<INPUT TYPE="submit" ID="confirm_refund_button" VALUE="<% mt('Post refund') |h %>" DISABLED> </FORM> |