projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "RT#41671 Fix double click prevention for all legacy buttons [renamed all...
[freeside.git]
/
httemplate
/
edit
/
prepay_credit.cgi
diff --git
a/httemplate/edit/prepay_credit.cgi
b/httemplate/edit/prepay_credit.cgi
index
ed404b7
..
01a54fc
100644
(file)
--- a/
httemplate/edit/prepay_credit.cgi
+++ b/
httemplate/edit/prepay_credit.cgi
@@
-2,26
+2,28
@@
<% include('/elements/error.html') %>
<% include('/elements/error.html') %>
-<FORM ACTION="<%popurl(1)%>process/prepay_credit.cgi" METHOD="POST" NAME="OneTrueForm" onSubmit="document.OneTrueForm.submit.disabled=true">
+<FORM ACTION="<%popurl(1)%>process/prepay_credit.cgi" METHOD="POST" NAME="OneTrueForm" onSubmit="document.OneTrueForm.submit
Button
.disabled=true">
Generate
<INPUT TYPE="text" NAME="num" VALUE="<% $cgi->param('num') || '(quantity)' |h %>" SIZE=10 MAXLENGTH=10 onFocus="if ( this.value == '(quantity)' ) { this.value = ''; }">
Generate
<INPUT TYPE="text" NAME="num" VALUE="<% $cgi->param('num') || '(quantity)' |h %>" SIZE=10 MAXLENGTH=10 onFocus="if ( this.value == '(quantity)' ) { this.value = ''; }">
+prepaid cards of
+
+<INPUT TYPE="text" NAME="length" SIZE=3 MAXLENGTH=2 VALUE=8>
<SELECT NAME="type">
% foreach (qw(alpha alphanumeric numeric)) {
<OPTION<% $cgi->param('type') eq $_ ? ' SELECTED' : '' %>><% $_ %>
% }
</SELECT>
<SELECT NAME="type">
% foreach (qw(alpha alphanumeric numeric)) {
<OPTION<% $cgi->param('type') eq $_ ? ' SELECTED' : '' %>><% $_ %>
% }
</SELECT>
-prepaid cards
-
-<BR>for <SELECT NAME="agentnum"><OPTION>(any agent)
-% foreach my $opt_agent ( qsearch('agent', { 'disabled' => '' } ) ) {
+characters each
- <OPTION VALUE="<% $opt_agent->agentnum %>"<% $opt_agent->agentnum == $agentnum ? ' SELECTED' : '' %>><% $opt_agent->agent %>
-% }
+<BR>for
-</SELECT>
+<& /elements/select-agent.html,
+ 'empty_label' => '(any agent)',
+ 'curr_value' => $agentnum,
+&>
<TABLE>
<TR><TD>Value:
<TABLE>
<TR><TD>Value:
@@
-72,7
+74,7
@@
$<INPUT TYPE="text" NAME="amount" SIZE=8 MAXLENGTH=7 VALUE="<% $cgi->param('amou
</TD></TR>
</TABLE>
<BR><BR>
</TD></TR>
</TABLE>
<BR><BR>
-<INPUT TYPE="submit" NAME="submit" VALUE="Generate" onSubmit="this.disabled = true">
+<INPUT TYPE="submit" NAME="submit
Button
" VALUE="Generate" onSubmit="this.disabled = true">
</FORM>
</FORM>