From: Moritz Bunkus Date: Thu, 13 Jan 2011 14:51:20 +0000 (+0100) Subject: Preisgruppen-Spalte in Einkaufsbelegen nicht anzeigen X-Git-Tag: release-2.6.2beta2~17 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=d50fc765f703b92a4912b666e2b8476b58f0eefe;p=kivitendo-erp.git Preisgruppen-Spalte in Einkaufsbelegen nicht anzeigen Fix für Bug 1541. --- diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 03ca70854..926098188 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -151,7 +151,7 @@ sub display_row { { id => 'serialnr', width => 10, value => $locale->text('Serial No.'), display => 0, }, { id => 'projectnr', width => 10, value => $locale->text('Project'), display => 0, }, { id => 'sellprice', width => 15, value => $locale->text('Price'), display => !$is_delivery_order, }, - { id => 'sellprice_pg', width => 8, value => $locale->text('Pricegroup'), display => ($form->{type} =~ /^(sales_|invoice)/) && !$is_delivery_order, }, + { id => 'sellprice_pg', width => 8, value => $locale->text('Pricegroup'), display => !$is_delivery_order && !$is_purchase, }, { id => 'discount', width => 5, value => $locale->text('Discount'), display => !$is_delivery_order, }, { id => 'linetotal', width => 10, value => $locale->text('Extended'), display => !$is_delivery_order, }, { id => 'bin', width => 10, value => $locale->text('Bin'), display => 0, },