Revision 96aa70a1
Von Thomas Heck vor mehr als 11 Jahren hinzugefügt
SL/Controller/CustomerVendor.pm | ||
---|---|---|
117 | 117 |
} |
118 | 118 |
|
119 | 119 |
if( $self->{note}->subject ne '' && $self->{note}->body ne '' ) { |
120 |
|
|
121 |
if ( !$self->{note_followup}->follow_up_date ) { |
|
122 |
$::form->error($::locale->text('Date missing!')); |
|
123 |
} |
|
124 |
|
|
120 | 125 |
$self->{note}->trans_id($self->{cv}->id); |
121 | 126 |
$self->{note}->save(); |
122 | 127 |
$self->{note_followup}->save(); |
123 | 128 |
|
129 |
SL::Helper::Flash::flash_later('info', $::locale->text('Follow-Up saved.')); |
|
130 |
|
|
124 | 131 |
$self->{note} = SL::DB::Note->new(); |
125 | 132 |
$self->{note_followup} = SL::DB::FollowUp->new(); |
126 | 133 |
} |
Auch abrufbar als: Unified diff
Meldungen beim Erstellen von Wiedervorlagen im Kunden/Lieferanten