Revision e73048f9
Von Sven Schöling vor fast 3 Jahren hinzugefügt
SL/Controller/DeliveryOrder.pm | ||
---|---|---|
1059 | 1059 |
$self->js->flash("error", t8("No stock to transfer"))->render; |
1060 | 1060 |
} |
1061 | 1061 |
|
1062 |
SL::DB->with_transaction(sub { |
|
1062 |
SL::DB->client->with_transaction(sub {
|
|
1063 | 1063 |
$_->save for @transfer_requests; |
1064 |
$self->order->update_attributes(deliverd => 1); |
|
1064 |
$self->order->update_attributes(delivered => 1);
|
|
1065 | 1065 |
}); |
1066 | 1066 |
|
1067 | 1067 |
$self->js->flash("info", t8("Stock transfered"))->render; |
Auch abrufbar als: Unified diff
DeliveryOrder: transfer_inventory fixes