Revision fe8a08ee
Von Jan Büren vor 11 Monaten hinzugefügt
SL/Controller/DeliveryOrder.pm | ||
---|---|---|
941 | 941 |
|
942 | 942 |
$self->merge_stock_data($stock_info, \@contents, $part, $unit); |
943 | 943 |
|
944 |
my $delivered = $self->order->delivered; |
|
944 | 945 |
$self->render("delivery_order/stock_dialog", { layout => 0 }, |
945 | 946 |
WHCONTENTS => \@contents, |
946 | 947 |
STOCK_INFO => $stock_info, |
947 |
WAREHOUSES => SL::DB::Manager::Warehouse->get_all(with_objects=> ["bins",]),
|
|
948 |
WAREHOUSES => !$delivered ? SL::DB::Manager::Warehouse->get_all(query => [ or => [ invalid => 0, invalid => undef ]], with_objects=> ["bins",]) : undef,
|
|
948 | 949 |
part => $part, |
949 | 950 |
do_qty => $qty, |
950 | 951 |
do_unit => $unit->unit, |
Auch abrufbar als: Unified diff
Popup Lieferschein, nur gültige Lager laden oder gar keine (ausgelagert)