Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 6d7fc901

Von Tamino Steinert vor 10 Monaten hinzugefügt

  • ID 6d7fc90169c0a2b6c8ca19b4896cd12af1d744d3
  • Vorgänger e3c3f316
  • Nachfolger 1e228b7c

EmailJournal: Workflow angepasst

Unterschiede anzeigen:

SL/DB/EmailJournalAttachment.pm
17 17
  # copy file to webdav folder
18 18
  if ($::instance_conf->get_webdav_documents) {
19 19
    my $record_type = $record->record_type;
20
    # TODO: file and webdav use different types for ap_transaction
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';
23
    $record_type = 'invoice'          if $record_type eq 'invoice_storno';
22 24
    my $webdav = SL::Webdav->new(
23 25
      type     => $record_type,
24 26
      number   => $record->record_number,
......
37 39
  # copy file to doc storage
38 40
  if ($::instance_conf->get_doc_storage) {
39 41
    my $record_type = $record->record_type;
40
    # TODO: file and webdav use different types for ap_invoice
42
    # TODO: file and webdav use different types
41 43
    $record_type = 'purchase_invoice' if $record_type eq 'ap_transaction';
44
    $record_type = 'invoice'          if $record_type eq 'ar_transaction';
45
    $record_type = 'invoice'          if $record_type eq 'invoice_storno';
42 46
    eval {
43 47
      SL::File->save(
44 48
        object_id     => $record->id,

Auch abrufbar als: Unified diff