From ef6c26530b6022dd9f59a669e4a711c280a98a0e Mon Sep 17 00:00:00 2001
From: Philip Reetz
Date: Wed, 27 Dec 2006 14:13:30 +0000
Subject: [PATCH] Bei der Auswahl von Artikeln wird die Einheit mit angezeigt
---
bin/mozilla/io.pl | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl
index 6c82d4ced..ad619b92d 100644
--- a/bin/mozilla/io.pl
+++ b/bin/mozilla/io.pl
@@ -548,7 +548,7 @@ sub set_pricegroup {
sub select_item {
$lxdebug->enter_sub();
- @column_index = qw(ndx partnumber description onhand sellprice);
+ @column_index = qw(ndx partnumber description onhand unit sellprice);
$column_data{ndx} = qq| | |;
$column_data{partnumber} =
@@ -559,7 +559,8 @@ sub select_item {
qq|| . $locale->text('Price') . qq| | |;
$column_data{onhand} =
qq|| . $locale->text('Qty') . qq| | |;
-
+ $column_data{unit} =
+ qq|| . $locale->text('Unit') . qq| | |;
# list items with radio button on a form
$form->header;
@@ -617,7 +618,8 @@ sub select_item {
qq|{onhand}>|
. $form->format_amount(\%myconfig, $ref->{onhand}, '', " ")
. qq| | |;
-
+ $column_data{unit} =
+ qq|$ref->{unit} | |;
$j++;
$j %= 2;
print qq|
--
2.20.1