Revision 13704cf5
Von Sven Schöling vor fast 9 Jahren hinzugefügt
SL/Controller/Letter.pm | ||
---|---|---|
354 | 354 |
obj_link => sub { $self->url_for(action => 'edit', 'letter.id' => $_[0]->id, callback => $self->models->get_callback) } }, |
355 | 355 |
letternumber => { text => t8('Letternumber'), sub => sub { $_[0]->letternumber }, |
356 | 356 |
obj_link => sub { $self->url_for(action => 'edit', 'letter.id' => $_[0]->id, callback => $self->models->get_callback) } }, |
357 |
vc_id => { text => t8('Customer'), sub => sub { $_[0]->customer->displayable_name } },
|
|
357 |
vc_id => { text => t8('Customer'), sub => sub { SL::DB::Manager::Customer->find_by_or_create(id => $_[0]->vc_id)->displayable_name } },
|
|
358 | 358 |
contact => { text => t8('Contact'), sub => sub { $_[0]->contact ? $_[0]->contact->full_name : '' } }, |
359 | 359 |
); |
360 | 360 |
|
Auch abrufbar als: Unified diff
Letter: Anzeigesicherheit gegen nicht mehr existierende Kunden