From 88c42d0423368bf52d593021f704bfa38845ff71 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 9 Dec 2005 16:56:53 +0000 Subject: fix postal mail checkbox misbehaving (isn't sticky on errors - reverts back to on) --- httemplate/edit/cust_main/billing.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'httemplate/edit/cust_main') diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index 1f557c84b..a9b3c1f75 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -1,6 +1,7 @@ <% -my( $cust_main ) = @_; +my( $cust_main, %options ) = @_; +my @invoicing_list = @{ $options{'invoicing_list'} }; my $conf = new FS::Conf; my $payby_default = $conf->config('payby-default'); @@ -49,14 +50,12 @@ if ( $payby_default eq 'HIDE' ) { - + <% } else { - my @invoicing_list = $cust_main->invoicing_list; - my $r = qq!* !; %> -- cgit v1.2.1