diff options
| author | ivan <ivan> | 2010-07-10 09:17:08 +0000 | 
|---|---|---|
| committer | ivan <ivan> | 2010-07-10 09:17:08 +0000 | 
| commit | 7903fffd694ccf7128da34023ecbbc5eb06e84e8 (patch) | |
| tree | 73327cf06efb00906ab5d205ac99bb5dc61ed416 | |
| parent | 0998ca2d30dcd94bc1ea5db8e689ff30e7658baa (diff) | |
prevent new "Bill now" link from futzing up later forms, RT#9193
| -rw-r--r-- | httemplate/elements/bill.html | 8 | ||||
| -rw-r--r-- | httemplate/view/cust_main/billing.html | 1 | 
2 files changed, 6 insertions, 3 deletions
| 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: -<FORM name="MyForm">  <% include( '/elements/bill.html',              ###              # required @@ -21,8 +21,9 @@ Example:              ###              bill_opts => { 'batch_card' => 'yes' },  ) %> -</FORM> +  </%doc> +<FORM STYLE="display:inline">  <% include('/elements/progress-init.html',            $formname,            [ 'custnum', @opt_keys ], @@ -35,7 +36,9 @@ Example:  % 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 $message   = $opt{'message'} || 'Finished!';  my $bill_opts = $opt{'bill_opts'} || {};  my @opt_keys  = keys(%$bill_opts);  my @opt_vals  = values(%$bill_opts); +  </%init> diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html index 6fe6c4939..f1d00a19c 100644 --- a/httemplate/view/cust_main/billing.html +++ b/httemplate/view/cust_main/billing.html @@ -1,4 +1,3 @@ -<FORM name="billnow">  Billing information  %# If we can't see the unencrypted card, then bill now is an exercise in  %# frustration (without some sort of job queue magic to send it to a secure | 
