Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f7386a86

Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt

  • ID f7386a86a56e7a6d97ac7f195676a12194c73318
  • Vorgänger d8f5353e
  • Nachfolger f7bee334

EmailJournal: Workflow angepasst

Unterschiede anzeigen:

SL/DB/EmailJournalAttachment.pm
# copy file to webdav folder
if ($::instance_conf->get_webdav_documents) {
my $record_type = $record->record_type;
# TODO: file and webdav use different types for ap_transaction
# 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 'invoice_storno';
my $webdav = SL::Webdav->new(
type => $record_type,
number => $record->record_number,
......
# copy file to doc storage
if ($::instance_conf->get_doc_storage) {
my $record_type = $record->record_type;
# TODO: file and webdav use different types for ap_invoice
# TODO: file and webdav use different types
$record_type = 'purchase_invoice' if $record_type eq 'ap_transaction';
$record_type = 'invoice' if $record_type eq 'ar_transaction';
$record_type = 'invoice' if $record_type eq 'invoice_storno';
eval {
SL::File->save(
object_id => $record->id,

Auch abrufbar als: Unified diff