X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fwh.pl;h=a853c8a21df6fe176c8d78b9415408bc382c346b;hb=018e340ac9f0fc9c4b0bd180bd195e7c0fbd3c0e;hp=92b28894fee3f8fddefa4a538e426a50a06cd0e3;hpb=c9f49c186dd515927f964902ff736090f4a967e9;p=kivitendo-erp.git diff --git a/bin/mozilla/wh.pl b/bin/mozilla/wh.pl index 92b28894f..a853c8a21 100644 --- a/bin/mozilla/wh.pl +++ b/bin/mozilla/wh.pl @@ -78,7 +78,7 @@ sub transfer_warehouse_selection { show_no_warehouses_error() if (!scalar @{ $form->{WAREHOUSES} }); - my $units = AM->retrieve_units(\%myconfig, $form, 'dimension'); + my $units = AM->retrieve_units(\%myconfig, $form); $form->{UNITS} = AM->unit_select_data($units, $form->{unit}, 0, $form->{partunit}); if (scalar @{ $form->{WAREHOUSES} }) { @@ -158,7 +158,7 @@ sub transfer_or_removal_prepare_contents { $form->show_generic_error($locale->text("The selected warehouse is empty.")) if (0 == scalar(@contents)); - my $all_units = AM->retrieve_units(\%myconfig, $form, 'dimension'); + my $all_units = AM->retrieve_units(\%myconfig, $form); foreach (@contents) { $_->{qty} = $form->format_amount_units('amount' => $_->{qty}, @@ -201,7 +201,7 @@ sub transfer_parts { $form->{sort} = 'bindescription'; my @contents = WH->get_warehouse_report("warehouse_id" => $form->{warehouse_id}); - my $all_units = AM->retrieve_units(\%myconfig, $form, 'dimension'); + my $all_units = AM->retrieve_units(\%myconfig, $form); my @transfers; @@ -402,7 +402,7 @@ sub remove_parts { $form->{sort} = 'bindescription'; my @contents = WH->get_warehouse_report("warehouse_id" => $form->{warehouse_id}); - my $all_units = AM->retrieve_units(\%myconfig, $form, 'dimension'); + my $all_units = AM->retrieve_units(\%myconfig, $form); my @transfers;