Revision bc4fd456
Von Jan Büren vor etwa 2 Jahren hinzugefügt
SL/BackgroundJob/ShopOrderMassTransfer.pm | ||
---|---|---|
61 | 61 |
}else{ |
62 | 62 |
$order->save; |
63 | 63 |
$order->calculate_prices_and_taxes; |
64 |
SL::DB::OrderVersion->new(oe_id => $order->id, version => 1)->save; |
|
64 | 65 |
my $snumbers = "ordernumber_" . $order->ordnumber; |
65 | 66 |
SL::DB::History->new( |
66 | 67 |
trans_id => $order->id, |
SL/Controller/ShopOrder.pm | ||
---|---|---|
150 | 150 |
$order->db->with_transaction( sub { |
151 | 151 |
$order->calculate_prices_and_taxes; |
152 | 152 |
$order->save; |
153 |
SL::DB::OrderVersion->new(oe_id => $order->id, version => 1)->save; |
|
153 | 154 |
|
154 | 155 |
my $snumbers = "ordernumber_" . $order->ordnumber; |
155 | 156 |
SL::DB::History->new( |
Auch abrufbar als: Unified diff
Shop: 1. Unterversion auch für Shop-Aufträge erstellen