X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/4e78f69461dbfbeac4df98aea63c0ea9e97b8143..f88b542e60f214a912f4f99f204837f2ee67f65c:/SL/Controller/CustomerVendor.pm diff --git a/SL/Controller/CustomerVendor.pm b/SL/Controller/CustomerVendor.pm index a8b9c4544..b64c121af 100644 --- a/SL/Controller/CustomerVendor.pm +++ b/SL/Controller/CustomerVendor.pm @@ -577,6 +577,11 @@ sub _instantiate_args { } $self->{cv}->assign_attributes(%{$::form->{cv}}); + if ( $self->is_customer() && $::form->{cv}->{taxincluded_checked} eq '' ) { + $self->{cv}->taxincluded_checked(undef); + } + + foreach my $cvar (@{$self->{cv}->cvars_by_config()}) { my $value = $::form->{cv_cvars}->{$cvar->config->name}; @@ -682,8 +687,6 @@ sub _create_customer_vendor { sub _pre_render { my ($self) = @_; - $self->{template_args}->{instance_conf} = $::instance_conf; - my $dbh = $::form->get_standard_dbh(); my $query;