From db72c6eb1ba0ae714001d4746232bfcaba03545f Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 22 Jan 2008 16:05:35 +0000 Subject: [PATCH] Preisfaktoren nicht bei Lieferscheinen anzeigen. --- bin/mozilla/io.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 91171d187..2ca9f020c 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -128,7 +128,7 @@ sub display_row { { id => 'ship', width => 5, value => ($form->{type} eq 'purchase_order' ? $locale->text('Ship rcvd') : $locale->text('Ship')), display => $form->{type} =~ /sales_order/ || ($form->{type} =~ /purchase_order/ && !($lizenzen && $form->{vc} eq "customer")) , }, { id => 'qty', width => 5, value => $locale->text('Qty'), display => 1, }, - { id => 'price_factor', width => 5, value => $locale->text('Price Factor'), display => 1, }, + { id => 'price_factor', width => 5, value => $locale->text('Price Factor'), display => !$is_delivery_order, }, { id => 'unit', width => 5, value => $locale->text('Unit'), display => 1, }, { id => 'license', width => 10, value => $locale->text('License'), display => 0, }, { id => 'serialnr', width => 10, value => $locale->text('Serial No.'), display => 0, }, -- 2.20.1