Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 6b4a061d

Von Tamino Steinert vor 10 Monaten hinzugefügt

FIX: Objekttype für altes Webdav von Debitorenbuchung angepasst

nutze 'invoice' anstelle von 'general_ledger'

Unterschiede anzeigen:

SL/Controller/Invoice.pm
55 55
  my @errors;
56 56
  foreach my $invoice (@{$invoices}) {
57 57
    my $record_type = $invoice->record_type;
58
    $record_type = 'general_ledger' if $record_type eq 'ar_transaction';
59
    $record_type = 'invoice'        if $record_type eq 'invoice_storno';
58
    $record_type = 'invoice' if $record_type eq 'ar_transaction';
59
    $record_type = 'invoice' if $record_type eq 'invoice_storno';
60 60
    my $webdav = SL::Webdav->new(
61 61
      type     => $record_type,
62 62
      number   => $invoice->record_number,
SL/DB/EmailJournalAttachment.pm
19 19
    my $record_type = $record->record_type;
20 20
    # TODO: file and webdav use different types
21 21
    $record_type = 'accounts_payable' if $record_type eq 'ap_transaction';
22
    $record_type = 'general_ledger'   if $record_type eq 'ar_transaction';
22
    $record_type = 'invoice'          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 25
    $record_type = 'purchase_invoice' if $record_type eq 'purchase_credit_note';

Auch abrufbar als: Unified diff