Revision a32fcad2
Von Sven Schöling vor fast 3 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
60 | 60 |
use SL::DB::Contact; |
61 | 61 |
use SL::DB::Currency; |
62 | 62 |
use SL::DB::Customer; |
63 |
use SL::DB::DeliveryOrder::TypeData qw(); |
|
63 | 64 |
use SL::DB::Default; |
64 | 65 |
use SL::DB::Language; |
65 | 66 |
use SL::DB::Printer; |
... | ... | |
2018 | 2019 |
} |
2019 | 2020 |
|
2020 | 2021 |
$obj->items(@items) if @items; |
2021 |
$obj->is_sales(!!$obj->customer_id) if $class eq 'SL::DB::DeliveryOrder'; |
|
2022 |
|
|
2023 |
if ($class eq 'SL::DB::DeliveryOrder' && !$obj->order_type) { |
|
2024 |
$obj->order_type(SL::DB::DeliveryOrder::TypeData::validate_type($::form->{type})); |
|
2025 |
} |
|
2022 | 2026 |
|
2023 | 2027 |
if ($class eq 'SL::DB::Invoice') { |
2024 | 2028 |
my $paid = $factor * |
Auch abrufbar als: Unified diff
DeliveryOrder: _make_record für den alten Controller