Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4312ae07

Von Tamino Steinert vor 7 Monaten hinzugefügt

  • ID 4312ae07b076333c203b4676f1741f9787994b23
  • Vorgänger 882b2620
  • Nachfolger 6fad683b

FIX: EmailJournal: Dateitype für Einkaufsgutschrift angepasst

Unterschiede anzeigen:

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