Revision 07948c34
Von Moritz Bunkus vor mehr als 16 Jahren hinzugefügt
bin/mozilla/wh.pl | ||
---|---|---|
78 | 78 |
|
79 | 79 |
show_no_warehouses_error() if (!scalar @{ $form->{WAREHOUSES} }); |
80 | 80 |
|
81 |
my $units = AM->retrieve_units(\%myconfig, $form, 'dimension');
|
|
81 |
my $units = AM->retrieve_units(\%myconfig, $form); |
|
82 | 82 |
$form->{UNITS} = AM->unit_select_data($units, $form->{unit}, 0, $form->{partunit}); |
83 | 83 |
|
84 | 84 |
if (scalar @{ $form->{WAREHOUSES} }) { |
... | ... | |
158 | 158 |
|
159 | 159 |
$form->show_generic_error($locale->text("The selected warehouse is empty.")) if (0 == scalar(@contents)); |
160 | 160 |
|
161 |
my $all_units = AM->retrieve_units(\%myconfig, $form, 'dimension');
|
|
161 |
my $all_units = AM->retrieve_units(\%myconfig, $form); |
|
162 | 162 |
|
163 | 163 |
foreach (@contents) { |
164 | 164 |
$_->{qty} = $form->format_amount_units('amount' => $_->{qty}, |
... | ... | |
201 | 201 |
|
202 | 202 |
$form->{sort} = 'bindescription'; |
203 | 203 |
my @contents = WH->get_warehouse_report("warehouse_id" => $form->{warehouse_id}); |
204 |
my $all_units = AM->retrieve_units(\%myconfig, $form, 'dimension');
|
|
204 |
my $all_units = AM->retrieve_units(\%myconfig, $form); |
|
205 | 205 |
|
206 | 206 |
my @transfers; |
207 | 207 |
|
... | ... | |
402 | 402 |
|
403 | 403 |
$form->{sort} = 'bindescription'; |
404 | 404 |
my @contents = WH->get_warehouse_report("warehouse_id" => $form->{warehouse_id}); |
405 |
my $all_units = AM->retrieve_units(\%myconfig, $form, 'dimension');
|
|
405 |
my $all_units = AM->retrieve_units(\%myconfig, $form); |
|
406 | 406 |
|
407 | 407 |
my @transfers; |
408 | 408 |
|
Auch abrufbar als: Unified diff
Trennung zwischen Dienstleistungs- und Wareneinheiten aufgehoben.