projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
73e20a9
)
updated ui to use a dropdown of existing reason types instead of text box
author
Joshua Goodman
<jgoodman1990@gmail.com>
Tue, 25 Feb 2014 05:40:17 +0000
(
05:40
+0000)
committer
Joshua Goodman
<jgoodman1990@gmail.com>
Tue, 25 Feb 2014 05:40:17 +0000
(
05:40
+0000)
httemplate/edit/cust_refund.cgi
patch
|
blob
|
history
diff --git
a/httemplate/edit/cust_refund.cgi
b/httemplate/edit/cust_refund.cgi
index
df42e63
..
9f7ac8d
100755
(executable)
--- a/
httemplate/edit/cust_refund.cgi
+++ b/
httemplate/edit/cust_refund.cgi
@@
-106,14
+106,17
@@
<INPUT TYPE="hidden" NAME="payinfo" VALUE="">
% }
<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>
</TABLE>
<BR>
-<INPUT TYPE="submit"
NAME="submit" VALUE="Post refund"
>
+<INPUT TYPE="submit"
ID="confirm_refund_button" VALUE="<% mt('Post refund') |h %>" DISABLED
>
</FORM>
</FORM>