[freeside-commits] freeside/httemplate/elements bill.html,1.1,1.2
Ivan,,,
ivan at wavetail.420.am
Sat Jul 10 02:17:10 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv27883/elements
Modified Files:
bill.html
Log Message:
prevent new "Bill now" link from futzing up later forms, RT#9193
Index: bill.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/bill.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- bill.html 6 Jul 2010 12:18:11 -0000 1.1
+++ bill.html 10 Jul 2010 09:17:08 -0000 1.2
@@ -1,8 +1,8 @@
<%doc>
+
Clickable link to bill a customer.
Example:
-<FORM name="MyForm">
<% include( '/elements/bill.html',
###
# required
@@ -21,8 +21,9 @@
###
bill_opts => { 'batch_card' => 'yes' },
) %>
-</FORM>
+
</%doc>
+<FORM STYLE="display:inline">
<% include('/elements/progress-init.html',
$formname,
[ 'custnum', @opt_keys ],
@@ -35,7 +36,9 @@
% foreach(@opt_keys) {
<INPUT TYPE="hidden" NAME="<%$_%>" VALUE="<%$bill_opts->{$_}%>">
% }
+</FORM>
<%init>
+
my %opt = @_;
my $custnum = $opt{'custnum'};
my $label = $opt{'label'};
@@ -46,4 +49,5 @@
my $bill_opts = $opt{'bill_opts'} || {};
my @opt_keys = keys(%$bill_opts);
my @opt_vals = values(%$bill_opts);
+
</%init>
More information about the freeside-commits
mailing list