Revision 1f53f425
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
1820 | 1820 |
my $order; |
1821 | 1821 |
$order = SL::DB::Order->new(id => $::form->{id})->load(with => [ 'orderitems', 'orderitems.part' ]) if $::form->{id}; |
1822 | 1822 |
$order ||= SL::DB::Order->new(orderitems => [], |
1823 |
record_type => $self->type, |
|
1823 | 1824 |
quotation => (any { $self->type eq $_ } (SALES_QUOTATION_TYPE(), REQUEST_QUOTATION_TYPE())), |
1824 | 1825 |
currency_id => $::instance_conf->get_currency_id(),); |
1825 | 1826 |
|
Auch abrufbar als: Unified diff
Order: nutze Record-Type