Revision 6e4892b3
SL/Controller/DeliveryOrder.pm | ||
---|---|---|
951 | 951 |
$self->render("delivery_order/stock_dialog", { layout => 0 }, |
952 | 952 |
WHCONTENTS => \@contents, |
953 | 953 |
STOCK_INFO => $stock_info, |
954 |
WAREHOUSES => !$delivered ? SL::DB::Manager::Warehouse->get_all(query => [ or => [ invalid => 0, invalid => undef ]], with_objects=> ["bins",]) : undef,
|
|
954 |
WAREHOUSES => !$delivered ? SL::DB::Manager::Warehouse->get_all(query => [ or => [ invalid => 0, invalid => undef ]], with_objects=> ["bins",]) : [],
|
|
955 | 955 |
part => $part, |
956 | 956 |
do_qty => $qty, |
957 | 957 |
do_unit => $unit->unit, |
Auch abrufbar als: Unified diff
ergänzung zu fe8a08e
Statt undef ein leeres arrayref [] verhindert exceptions,
sollte das template dann dochmal versuchen drauf zuzugreifen