Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3eab069a

Von Bernd Bleßmann vor mehr als 2 Jahren hinzugefügt

  • ID 3eab069a916662b17d40bbed62ddf2704a39590e
  • Vorgänger 2e2ad8bf
  • Nachfolger 763add59

Wiedervorlagen: Mehr Infos über Abschluss speichern und in den Masken zeigen

Unterschiede anzeigen:

SL/Controller/CustomerVendor.pm
938 938
    $self->{note} = SL::DB::Note->new(id => $::form->{note}->{id})->load();
939 939
    $self->{note_followup} = $self->{note}->follow_up;
940 940
    $self->{note_followup_link} = $self->{note_followup}->follow_up_link;
941

  
941 942
  } else {
942 943
    $self->{note} = SL::DB::Note->new();
943 944
    $self->{note_followup} = SL::DB::FollowUp->new();
......
952 953
  $self->{note_followup}->note($self->{note});
953 954
  $self->{note_followup}->created_by($curr_employee->id);
954 955

  
956
  if (delete $::form->{note_followup_done}) {
957
    $self->{note_followup}->done(SL::DB::FollowUpDone->new) if !$self->{note_followup}->done;
958
    $self->{note_followup}->done->employee_id(SL::DB::Manager::Employee->current->id);
959
  }
960

  
955 961
  $self->{note_followup_link}->trans_type($self->is_vendor() ? 'vendor' : 'customer');
956 962
  $self->{note_followup_link}->trans_info($self->{cv}->name);
957 963

  

Auch abrufbar als: Unified diff