Revision 0dd7c3e1
SL/Controller/DeliveryOrder.pm | ||
---|---|---|
947 | 947 |
|
948 | 948 |
$self->merge_stock_data($stock_info, \@contents, $part, $unit); |
949 | 949 |
|
950 |
my $delivered = $self->order->delivered; |
|
950 | 951 |
$self->render("delivery_order/stock_dialog", { layout => 0 }, |
951 | 952 |
WHCONTENTS => \@contents, |
952 | 953 |
STOCK_INFO => $stock_info, |
953 |
WAREHOUSES => SL::DB::Manager::Warehouse->get_all(with_objects=> ["bins",]),
|
|
954 |
WAREHOUSES => !$delivered ? SL::DB::Manager::Warehouse->get_all(query => [ or => [ invalid => 0, invalid => undef ]], with_objects=> ["bins",]) : undef,
|
|
954 | 955 |
part => $part, |
955 | 956 |
do_qty => $qty, |
956 | 957 |
do_unit => $unit->unit, |
Auch abrufbar als: Unified diff
Popup Lieferschein, nur gültige Lager laden oder gar keine (ausgelagert)