From 7ff8f33c49bc503d16ddda159c9848f88b80d5ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Fri, 6 Jul 2018 15:49:30 +0200 Subject: [PATCH] Auftrags-Controller: Lieferantendetails ("D"): keine Preisgruppe bei Lieferanten --- SL/Controller/Order.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} }; -- 2.20.1