From 78a3cf191aa31eb34ca390e8c97acdea7d3c524f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Mon, 4 May 2009 12:47:07 +0000 Subject: [PATCH] 2. Teil fuer die Umsetzung fuer bug 865, EAN auch in der Berichtsmaske zur besseren Orientierung anzeigen --- bin/mozilla/wh.pl | 2 +- templates/webpages/wh/transfer_parts_selection_master.html | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/mozilla/wh.pl b/bin/mozilla/wh.pl index 178de9f13..de2d63034 100644 --- a/bin/mozilla/wh.pl +++ b/bin/mozilla/wh.pl @@ -150,7 +150,7 @@ sub transfer_or_removal_prepare_contents { $form->show_generic_error($locale->text("The source warehouse does not contain any bins.")) if (0 == scalar @{ $warehouse->{BINS} }); - map { $form->{"l_$_"} = 'Y' } qw(parts_id qty warehouseid binid partnumber partdescription bindescription chargenumber partunit); + map { $form->{"l_$_"} = 'Y' } qw(parts_id qty warehouseid binid partnumber partdescription bindescription chargenumber partunit ean); $form->{sort} = 'bindescription'; my @contents = WH->get_warehouse_report("warehouse_id" => $form->{warehouse_id}, diff --git a/templates/webpages/wh/transfer_parts_selection_master.html b/templates/webpages/wh/transfer_parts_selection_master.html index a8da1a2c0..c69572fa8 100644 --- a/templates/webpages/wh/transfer_parts_selection_master.html +++ b/templates/webpages/wh/transfer_parts_selection_master.html @@ -66,6 +66,7 @@ Part Number Part Description Charge Number + EAN Available qty Transfer qty Destination warehouse and bin @@ -78,10 +79,12 @@ + [% HTML.escape(row.bindescription) %] [% HTML.escape(row.partnumber) %] [% HTML.escape(row.partdescription) %] [% HTML.escape(row.chargenumber) %] + [% HTML.escape(row.ean) %] [% HTML.escape(row.qty) %] -- 2.20.1