Revision f2f50ca0
Von Tamino Steinert vor 11 Monaten hinzugefügt
SL/Controller/DeliveryOrder.pm | ||
---|---|---|
1106 | 1106 |
$_->save for @transfer_requests; |
1107 | 1107 |
$self->order->update_attributes(delivered => 1, closed => 1); |
1108 | 1108 |
}); |
1109 |
# update stock info (set new delivery_order_items_stock_id) |
|
1110 |
foreach my $item (@{$self->order->items}) { |
|
1111 |
$self->order->prepare_stock_info($item); |
|
1112 |
my $item_position = $item->position; |
|
1113 |
my $selector = "[data-position=$item_position] .data-stock-info"; |
|
1114 |
$self->js->val($selector, $item->{stock_info}); |
|
1115 |
} |
|
1109 | 1116 |
|
1110 | 1117 |
$self->js |
1111 | 1118 |
->flash("info", t8("Stock transfered")) |
Auch abrufbar als: Unified diff
FIX: DeliveryOrder: Rücklagern ohne Seite neu aufzurufen