From 2bc081d8f636bf558b7f3eb8bb9e4e99d45e6ca1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 27 Dec 2010 12:37:06 +0100 Subject: [PATCH] =?utf8?q?Lagerbewegungen=20auch=20f=C3=BCr=20Dienstleistu?= =?utf8?q?ngen=20friegeben.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fix für Bug 1383. Da sich Lagerbewegungen sowieso nicht komplett aus den Dienstleistungen raushalten ließen, und es überzeugende Argumente dafür gibt Dienstleistungen auch einlagern zu können, entfernt dieser Patch die Beschränkung, dass nur Waren eingelagert werden dürfen. --- bin/mozilla/wh.pl | 2 +- templates/webpages/ic/form_header.html | 2 -- templates/webpages/ic/search.html | 6 ------ templates/webpages/wh/warehouse_selection.html | 2 +- templates/webpages/wh/warehouse_selection_stock.html | 2 +- 5 files changed, 3 insertions(+), 11 deletions(-) diff --git a/bin/mozilla/wh.pl b/bin/mozilla/wh.pl index a55bf70c6..30ee32676 100644 --- a/bin/mozilla/wh.pl +++ b/bin/mozilla/wh.pl @@ -310,7 +310,7 @@ sub transfer_stock_update_part { } elsif (($form->{partnumber} && ($form->{partnumber} ne $form->{old_partnumber})) || $form->{description} || $form->{ean}) { - $form->{no_services} = 1; +# $form->{no_services} = 1; # services may now be transfered. fix for Bug 1383. $form->{no_assemblies} = 0; # assemblies duerfen eingelagert werden (z.B. bei retouren) my $parts = Common->retrieve_parts(\%myconfig, $form, 'description', 1); diff --git a/templates/webpages/ic/form_header.html b/templates/webpages/ic/form_header.html index 136be7073..1b3ea9afb 100644 --- a/templates/webpages/ic/form_header.html +++ b/templates/webpages/ic/form_header.html @@ -221,7 +221,6 @@ [%- END %] - [%- UNLESS is_service %] [% 'On Hand' | $T8 %]  [% LxERP.format_amount(onhand) %] @@ -246,7 +245,6 @@ - [%- END %] [%- IF id %] diff --git a/templates/webpages/ic/search.html b/templates/webpages/ic/search.html index 25625a5ec..df16c0b7c 100644 --- a/templates/webpages/ic/search.html +++ b/templates/webpages/ic/search.html @@ -38,9 +38,7 @@ [% 'Group' | $T8 %] - [%- UNLESS is_service %] [% 'Serial Number' | $T8 %] - [%- END %] [%- UNLESS is_service %] @@ -74,12 +72,10 @@ - [%- UNLESS is_service %] - [%- END %] @@ -169,12 +165,10 @@ - [%- UNLESS is_service %] - [%- END %] diff --git a/templates/webpages/wh/warehouse_selection.html b/templates/webpages/wh/warehouse_selection.html index afdc7a4ea..0f499b28f 100644 --- a/templates/webpages/wh/warehouse_selection.html +++ b/templates/webpages/wh/warehouse_selection.html @@ -109,7 +109,7 @@ [% 'Part Description' | $T8 %] - + diff --git a/templates/webpages/wh/warehouse_selection_stock.html b/templates/webpages/wh/warehouse_selection_stock.html index ca164a53b..4bb3c04e9 100644 --- a/templates/webpages/wh/warehouse_selection_stock.html +++ b/templates/webpages/wh/warehouse_selection_stock.html @@ -97,7 +97,7 @@ [% 'Part Description' | $T8 %] - + -- 2.20.1