Revision 36e45d3d
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
SL/Helper/EmailProcessing.pm | ||
---|---|---|
10 | 10 |
use SL::ZUGFeRD; |
11 | 11 |
|
12 | 12 |
use SL::DB::PurchaseInvoice; |
13 |
use SL::DB::Helper::HardRecordLinks; |
|
14 | 13 |
|
15 | 14 |
sub process_attachments { |
16 | 15 |
my ($self, $function_name, $email_journal, %params) = @_; |
... | ... | |
52 | 51 |
|
53 | 52 |
$attachment->add_file_to_record($record); |
54 | 53 |
|
55 |
# soft link |
|
56 | 54 |
$email_journal->link_to_record($record); |
57 |
|
|
58 |
# hard link |
|
59 |
SL::DB::Helper::HardRecordLinks->create_link($record, $email_journal); |
|
55 |
$email_journal->hard_link_to_record($record); |
|
60 | 56 |
} |
61 | 57 |
|
62 | 58 |
1; |
Auch abrufbar als: Unified diff
SL::DB::Helper::HardLinkedRecords: Nutzung wie LinkedRecords