Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 2841aa7f

Von Werner Hahn vor fast 2 Jahren hinzugefügt

Fix576 Lagentnahme

Unterschiede anzeigen:

SL/WH.pm
# filters
my (@filter_ary, @filter_vars, @wh_bin_filter_ary, @wh_bin_filter_vars);
delete $form->{include_empty_bins} unless ($form->{l_warehousedescription} || $form->{l_bindescription});
delete $form->{include_empty_bins} unless ($form->{l_warehouse} || $form->{l_bin});
if ($filter{warehouse_id}) {
push @wh_bin_filter_ary, "w.id = ?";
bin/mozilla/wh.pl
$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 bestbefore partunit ean);
map { $form->{"l_$_"} = 'Y' } qw(parts_id qty warehouseid binid partnumber partdescription bin chargenumber bestbefore partunit ean);
$form->{sort} = 'bindescription';
my @contents = WH->get_warehouse_report("warehouse_id" => $form->{warehouse_id},
......
$form->show_generic_error($locale->text("The 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 bestbefore partunit);
map { $form->{"l_$_"} = 'Y' } qw(parts_id qty warehouseid binid partnumber partdescription bin chargenumber bestbefore partunit);
$form->{sort} = 'bindescription';
my @contents = WH->get_warehouse_report("warehouse_id" => $form->{warehouse_id});
templates/webpages/wh/removal_parts_selection.html
<input type="hidden" name="bestbefore_[% loop.count %]" value="[% HTML.escape(row.bestbefore) %]">
[% END %]
<input type="hidden" name="ean_[% loop.count %]" value="[% HTML.escape(row.ean) %]">
<td>[% HTML.escape(row.bindescription) %]</td>
<td>[% HTML.escape(row.bin) %]</td>
<td>[% HTML.escape(row.partnumber) %]</td>
<td>[% HTML.escape(row.partdescription) %]</td>
<td>[% HTML.escape(row.chargenumber) %]</td>

Auch abrufbar als: Unified diff