Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 882b2620

Von Tamino Steinert vor 11 Monaten hinzugefügt

  • ID 882b262021722702560e82b20fe4de5b6c5cc52d
  • Vorgänger ec4a82db
  • Nachfolger 4312ae07

EmailJournal: Workflow mit Callback zu Bericht

Unterschiede anzeigen:

SL/Controller/EmailJournal.pm
408 408
    $additional_params{action} = 'load_record_template_from_email_journal';
409 409
    $additional_params{id} = $record_id;
410 410
    $additional_params{form_defaults} = {
411
      email_journal_id => $email_journal_id,
411
      email_journal_id    => $email_journal_id,
412 412
      email_attachment_id => $attachment_id,
413
      callback            => $::form->{back_to},
413 414
    };
414 415
  } else { # workflow_record
415 416
    $additional_params{action} = 'edit_with_email_journal_workflow';
......
421 422
    type                => $record_type,
422 423
    email_journal_id    => $email_journal_id,
423 424
    email_attachment_id => $attachment_id,
425
    callback            => $::form->{back_to},
424 426
    %additional_params,
425 427
  );
426 428
}
......
493 495

  
494 496
  $::auth->assert('email_journal');
495 497

  
496
  my $back_to = $::form->{back_to} || $self->url_for(action => 'list');
497

  
498 498
  $self->entry(SL::DB::EmailJournal->new(id => $::form->{id})->load);
499 499

  
500 500
  if (!$self->can_view_all && ($self->entry->sender_id != SL::DB::Manager::Employee->current->id)) {

Auch abrufbar als: Unified diff