From 7903fffd694ccf7128da34023ecbbc5eb06e84e8 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 10 Jul 2010 09:17:08 +0000 Subject: prevent new "Bill now" link from futzing up later forms, RT#9193 --- httemplate/elements/bill.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'httemplate/elements') diff --git a/httemplate/elements/bill.html b/httemplate/elements/bill.html index 335779a0f..bb2b3ed4a 100644 --- a/httemplate/elements/bill.html +++ b/httemplate/elements/bill.html @@ -1,8 +1,8 @@ <%doc> + Clickable link to bill a customer. Example: -
<% include( '/elements/bill.html', ### # required @@ -21,8 +21,9 @@ Example: ### bill_opts => { 'batch_card' => 'yes' }, ) %> -
+ +
<% include('/elements/progress-init.html', $formname, [ 'custnum', @opt_keys ], @@ -35,7 +36,9 @@ Example: % foreach(@opt_keys) { % } +
<%init> + my %opt = @_; my $custnum = $opt{'custnum'}; my $label = $opt{'label'}; @@ -46,4 +49,5 @@ my $message = $opt{'message'} || 'Finished!'; my $bill_opts = $opt{'bill_opts'} || {}; my @opt_keys = keys(%$bill_opts); my @opt_vals = values(%$bill_opts); + -- cgit v1.2.1