From: Jan Büren Date: Tue, 5 May 2009 11:44:39 +0000 (+0000) Subject: Bugzilla 856 - Eine Datei zu dem Eintrag von gerade noch hinzufuegen (has_ean) X-Git-Tag: release-2.6.0beta2~46 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=cc7a38de9385a78eada532f4f6d656d81285c5dc;p=kivitendo-erp.git Bugzilla 856 - Eine Datei zu dem Eintrag von gerade noch hinzufuegen (has_ean) --- diff --git a/bin/mozilla/common.pl b/bin/mozilla/common.pl index 9cd54a456..0d7862b30 100644 --- a/bin/mozilla/common.pl +++ b/bin/mozilla/common.pl @@ -69,6 +69,11 @@ sub select_part { $has_charge = 1; map { $_->{has_charge} = 1; } @parts; } + my $has_ean = 0; + if (defined($parts[0]->{ean})) { + $has_ean = 1; + map { $_->{has_ean} = 1; } @parts; + } my $old_form = save_form(); @@ -80,6 +85,7 @@ sub select_part { "nextsub" => "select_part_internal", "callback_sub" => $callback_sub, "has_charge" => $has_charge, + "has_ean" => $has_ean, "remap_parts_id" => $remap_parts_id, "remap_partnumber" => $remap_partnumber });