From: Bernd Bleßmann Date: Fri, 6 Jul 2018 13:49:30 +0000 (+0200) Subject: Auftrags-Controller: Lieferantendetails ("D"): keine Preisgruppe bei Lieferanten X-Git-Tag: release-3.5.4~384 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=7ff8f33c49bc503d16ddda159c9848f88b80d5ad;p=kivitendo-erp.git Auftrags-Controller: Lieferantendetails ("D"): keine Preisgruppe bei Lieferanten --- diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index 4e095769c..ace7accba 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -629,7 +629,7 @@ sub action_show_customer_vendor_details_dialog { $details{language} = $cv->language_obj->description if $cv->language_obj; $details{delivery_terms} = $cv->delivery_term->description if $cv->delivery_term; $details{payment_terms} = $cv->payment->description if $cv->payment; - $details{pricegroup} = $cv->pricegroup->pricegroup if $cv->pricegroup; + $details{pricegroup} = $cv->pricegroup->pricegroup if $is_customer && $cv->pricegroup; foreach my $entry (@{ $cv->shipto }) { push @{ $details{SHIPTO} }, { map { $_ => $entry->$_ } @{$entry->meta->columns} };