Revision d57a4596
Von Sven Schöling vor etwa 1 Jahr hinzugefügt
SL/DB/Reclamation.pm | ||
---|---|---|
17 | 17 |
use SL::DB::Helper::LinkedRecords; |
18 | 18 |
use SL::DB::Helper::PriceTaxCalculator; |
19 | 19 |
use SL::DB::Helper::PriceUpdater; |
20 |
use SL::DB::Helper::TypeDataProxy; |
|
20 | 21 |
use SL::DB::Helper::TransNumberGenerator; |
21 | 22 |
use SL::DB::Helper::RecordLink qw(RECORD_ID RECORD_TYPE_REF); |
22 | 23 |
use SL::Locale::String qw(t8); |
... | ... | |
478 | 479 |
$self->date->to_kivitendo; |
479 | 480 |
} |
480 | 481 |
|
482 |
sub type_data { |
|
483 |
SL::DB::Helper::TypeDataProxy->new(ref $_[0], $_[0]->type); |
|
484 |
} |
|
485 |
|
|
486 |
|
|
481 | 487 |
1; |
482 | 488 |
|
483 | 489 |
__END__ |
Auch abrufbar als: Unified diff
TypeData: proxy um $record->type_data benutzen zu können