Revision 1936b277
Von Jan Büren vor 10 Monaten hinzugefügt
SL/Controller/DeliveryOrder.pm | ||
---|---|---|
$self->render("delivery_order/stock_dialog", { layout => 0 },
|
||
WHCONTENTS => \@contents,
|
||
STOCK_INFO => $stock_info,
|
||
WAREHOUSES => !$delivered ? SL::DB::Manager::Warehouse->get_all(query => [ or => [ invalid => 0, invalid => undef ]], with_objects=> ["bins",]) : undef,
|
||
WAREHOUSES => !$delivered ? SL::DB::Manager::Warehouse->get_all(query => [ or => [ invalid => 0, invalid => undef ]], with_objects=> ["bins",]) : [],
|
||
part => $part,
|
||
do_qty => $qty,
|
||
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