summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorJoshua Goodman <jgoodman1990@gmail.com>2014-02-25 05:40:17 +0000
committerJoshua Goodman <jgoodman1990@gmail.com>2014-02-25 05:40:17 +0000
commitdaa3524d4f512f2bf671c6b07c606ba3eec1fefc (patch)
tree4f37c2c0378561617f97949602fb57a354269e4e /httemplate/edit
parent73e20a91b38b27ad5be79306ba25bdfb5a1252e1 (diff)
updated ui to use a dropdown of existing reason types instead of text box
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-xhttemplate/edit/cust_refund.cgi13
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>