X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FCustomerVendor.pm;h=1acd528b096e13d674f25a356715a112f5340c15;hb=f10e650c26ed930ce04f4ca1bd3f21d0036e5ba4;hp=3b6db2903a4a5db4bcb57869274b53580f2f6539;hpb=af2f24b8a20ae59af3b72da2cdf3669987a19927;p=kivitendo-erp.git diff --git a/SL/Controller/CustomerVendor.pm b/SL/Controller/CustomerVendor.pm index 3b6db2903..1acd528b0 100644 --- a/SL/Controller/CustomerVendor.pm +++ b/SL/Controller/CustomerVendor.pm @@ -641,6 +641,7 @@ sub _instantiate_args { $self->{cv}->taxincluded_checked(undef); } + $self->{cv}->hourly_rate($::lx_office_conf{'features/customer'}->{default_hourly_rate}) if $self->is_customer && !$self->{cv}->hourly_rate; foreach my $cvar (@{$self->{cv}->cvars_by_config()}) { my $value = $::form->{cv_cvars}->{$cvar->config->name};