Revision 096f9e3e
Von Bernd Blessmann vor mehr als 14 Jahren hinzugefügt
bin/mozilla/common.pl | ||
---|---|---|
76 | 76 |
$has_charge = 1; |
77 | 77 |
map { $_->{has_charge} = 1; } @parts; |
78 | 78 |
} |
79 |
my $has_bestbefore = 0; |
|
80 |
if (defined($parts[0]->{bestbefore})) { |
|
81 |
$has_bestbefore = 1; |
|
82 |
map { $_->{has_bestbefore} = 1; } @parts; |
|
83 |
} |
|
79 | 84 |
my $has_ean = 0; |
80 | 85 |
if (defined($parts[0]->{ean})) { |
81 | 86 |
$has_ean = 1; |
... | ... | |
92 | 97 |
"nextsub" => "select_part_internal", |
93 | 98 |
"callback_sub" => $callback_sub, |
94 | 99 |
"has_charge" => $has_charge, |
100 |
"has_bestbefore" => $has_bestbefore, |
|
95 | 101 |
"has_ean" => $has_ean, |
96 | 102 |
"remap_parts_id" => $remap_parts_id, |
97 | 103 |
"remap_partnumber" => $remap_partnumber }); |
Auch abrufbar als: Unified diff
Funktionalität für Mindesthaltbarkeitsdatum hinzugefügt.