From: Jan Büren Date: Fri, 31 May 2013 06:56:56 +0000 (+0200) Subject: Standardlagerplatz als Vorauswahl beim Einlagern setzen. X-Git-Tag: release-3.1.0beta1~398 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ccbd47d7a05b02889854bbad8213827fe550de8a;p=kivitendo-erp.git Standardlagerplatz als Vorauswahl beim Einlagern setzen. --- diff --git a/bin/mozilla/wh.pl b/bin/mozilla/wh.pl index eb12fcb45..5caee5437 100644 --- a/bin/mozilla/wh.pl +++ b/bin/mozilla/wh.pl @@ -331,7 +331,7 @@ sub transfer_stock_update_part { if (!scalar @{ $parts }) { new_item(action => "transfer_stock_update_part"); } elsif (scalar @{ $parts } == 1) { - @{$form}{qw(parts_id partnumber description ean)} = @{$parts->[0]}{qw(id partnumber description ean)}; + @{$form}{qw(parts_id partnumber description ean warehouse_id bin_id)} = @{$parts->[0]}{qw(id partnumber description ean warehouse_id bin_id)}; transfer_stock_get_partunit(); transfer_warehouse_selection(); @@ -398,7 +398,7 @@ sub transfer_stock_part_selected { my $form = $main::form; - @{$form}{qw(parts_id partnumber description ean)} = @{$part}{qw(id partnumber description ean)}; + @{$form}{qw(parts_id partnumber description ean warehouse_id bin_id)} = @{$part}{qw(id partnumber description ean warehouse_id bin_id)}; transfer_stock_get_partunit(); transfer_warehouse_selection(); diff --git a/templates/webpages/generic/select_part.html b/templates/webpages/generic/select_part.html index ddf5511c8..fe18fe664 100644 --- a/templates/webpages/generic/select_part.html +++ b/templates/webpages/generic/select_part.html @@ -39,6 +39,8 @@ + + [% HTML.escape(part.number) %]