Revision 8bb63908
Von Tamino Steinert vor 12 Monaten hinzugefügt
SL/DB/EmailJournalAttachment.pm | ||
---|---|---|
22 | 22 |
$record_type = 'general_ledger' if $record_type eq 'ar_transaction'; |
23 | 23 |
$record_type = 'general_ledger' if $record_type eq 'gl_transaction'; |
24 | 24 |
$record_type = 'invoice' if $record_type eq 'invoice_storno'; |
25 |
$record_type = 'purchase_invoice' if $record_type eq 'purchase_credit_note'; |
|
25 | 26 |
my $webdav = SL::Webdav->new( |
26 | 27 |
type => $record_type, |
27 | 28 |
number => $record->record_number, |
... | ... | |
42 | 43 |
my $record_type = $record->record_type; |
43 | 44 |
# TODO: file and webdav use different types |
44 | 45 |
$record_type = 'purchase_invoice' if $record_type eq 'ap_transaction'; |
46 |
$record_type = 'purchase_invoice' if $record_type eq 'purchase_credit_note'; |
|
45 | 47 |
$record_type = 'invoice' if $record_type eq 'ar_transaction'; |
46 | 48 |
$record_type = 'invoice' if $record_type eq 'invoice_storno'; |
47 | 49 |
eval { |
Auch abrufbar als: Unified diff
FIX: EmailJournal: Dateitype für Einkaufsgutschrift angepasst