diff options
author | ivan <ivan> | 2005-12-09 16:56:53 +0000 |
---|---|---|
committer | ivan <ivan> | 2005-12-09 16:56:53 +0000 |
commit | 88c42d0423368bf52d593021f704bfa38845ff71 (patch) | |
tree | 61b2e089e56c9550e6e858e4d6a60082efc92e45 /httemplate/edit/cust_main | |
parent | 5d03c5bf1e774050bbdad9964408f248855ec317 (diff) |
fix postal mail checkbox misbehaving (isn't sticky on errors - reverts back to on)
Diffstat (limited to 'httemplate/edit/cust_main')
-rw-r--r-- | httemplate/edit/cust_main/billing.html | 7 |
1 files changed, 3 insertions, 4 deletions
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' ) { <INPUT TYPE="hidden" NAME="tax" VALUE="<%= $cust_main->tax %>"> - <INPUT TYPE="hidden" NAME="invoicing_list" VALUE="<%= join(', ', $cust_main->invoicing_list) %>"> + <INPUT TYPE="hidden" NAME="invoicing_list" VALUE="<%= join(', ', @invoicing_list) %>"> </FORM> <% } else { - my @invoicing_list = $cust_main->invoicing_list; - my $r = qq!<font color="#ff0000">*</font> !; %> |