Revision 2ebae3de
Von Tamino Steinert vor 9 Monaten hinzugefügt
- ID 2ebae3def0de43889d0ee26f594ff8b7105502b5
- Vorgänger 9ad6dd6e
SL/Controller/DeliveryOrder.pm | ||
---|---|---|
1547 | 1547 |
|
1548 | 1548 |
# Add an empty custom shipto to the order, so that the dialog can render the cvar inputs. |
1549 | 1549 |
# You need a custom shipto object to call cvars_by_config to get the cvars. |
1550 |
$self->order->custom_shipto(SL::DB::Shipto->new(module => 'OE', custom_variables => [])) if !$self->order->custom_shipto;
|
|
1550 |
$self->order->custom_shipto(SL::DB::Shipto->new(module => 'DO', custom_variables => [])) if !$self->order->custom_shipto;
|
|
1551 | 1551 |
|
1552 | 1552 |
$self->order->prepare_stock_info($_) for $self->order->items; |
1553 | 1553 |
|
... | ... | |
1761 | 1761 |
my $custom_shipto = $order->custom_shipto ? |
1762 | 1762 |
$order->custom_shipto |
1763 | 1763 |
: $order->custom_shipto( |
1764 |
SL::DB::Shipto->new(module => 'OE', custom_variables => [])
|
|
1764 |
SL::DB::Shipto->new(module => 'DO', custom_variables => [])
|
|
1765 | 1765 |
); |
1766 | 1766 |
|
1767 | 1767 |
my $shipto_cvars = { |
Auch abrufbar als: Unified diff
FIX: S:C:DeliveryOrder: individuelle Lieferadresse richtig speichern