projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16c66f6
)
Bugzilla 856 - Eine Datei zu dem Eintrag von gerade noch hinzufuegen (has_ean)
author
Jan Büren
<information@richardson-bueren.de>
Tue, 5 May 2009 11:44:39 +0000
(11:44 +0000)
committer
Jan Büren
<information@richardson-bueren.de>
Tue, 5 May 2009 11:44:39 +0000
(11:44 +0000)
bin/mozilla/common.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/common.pl
b/bin/mozilla/common.pl
index
9cd54a4
..
0d7862b
100644
(file)
--- 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 });