Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 6b4a061d

Von Tamino Steinert vor etwa 1 Jahr hinzugefügt

FIX: Objekttype für altes Webdav von Debitorenbuchung angepasst

nutze 'invoice' anstelle von 'general_ledger'

Unterschiede anzeigen:

SL/Controller/Invoice.pm
my @errors;
foreach my $invoice (@{$invoices}) {
my $record_type = $invoice->record_type;
$record_type = 'general_ledger' if $record_type eq 'ar_transaction';
$record_type = 'invoice' if $record_type eq 'invoice_storno';
$record_type = 'invoice' if $record_type eq 'ar_transaction';
$record_type = 'invoice' if $record_type eq 'invoice_storno';
my $webdav = SL::Webdav->new(
type => $record_type,
number => $invoice->record_number,
SL/DB/EmailJournalAttachment.pm
my $record_type = $record->record_type;
# TODO: file and webdav use different types
$record_type = 'accounts_payable' if $record_type eq 'ap_transaction';
$record_type = 'general_ledger' if $record_type eq 'ar_transaction';
$record_type = 'invoice' if $record_type eq 'ar_transaction';
$record_type = 'general_ledger' if $record_type eq 'gl_transaction';
$record_type = 'invoice' if $record_type eq 'invoice_storno';
$record_type = 'purchase_invoice' if $record_type eq 'purchase_credit_note';

Auch abrufbar als: Unified diff