Revision 1936b277
SL/Controller/DeliveryOrder.pm | ||
---|---|---|
945 | 945 |
$self->render("delivery_order/stock_dialog", { layout => 0 }, |
946 | 946 |
WHCONTENTS => \@contents, |
947 | 947 |
STOCK_INFO => $stock_info, |
948 |
WAREHOUSES => !$delivered ? SL::DB::Manager::Warehouse->get_all(query => [ or => [ invalid => 0, invalid => undef ]], with_objects=> ["bins",]) : undef,
|
|
948 |
WAREHOUSES => !$delivered ? SL::DB::Manager::Warehouse->get_all(query => [ or => [ invalid => 0, invalid => undef ]], with_objects=> ["bins",]) : [],
|
|
949 | 949 |
part => $part, |
950 | 950 |
do_qty => $qty, |
951 | 951 |
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