Revision 11da8094
Von Bernd Bleßmann vor mehr als 3 Jahren hinzugefügt
SL/Controller/SimpleSystemSetting.pm | ||
---|---|---|
268 | 268 |
], |
269 | 269 |
}, |
270 | 270 |
|
271 |
time_recording_type => { |
|
272 |
# Make locales.pl happy: $self->render("simple_system_setting/_time_recording_type_form") |
|
273 |
class => 'TimeRecordingType', |
|
274 |
auth => 'config', |
|
275 |
titles => { |
|
276 |
list => t8('Time Recording Types'), |
|
277 |
add => t8('Add time recording type'), |
|
278 |
edit => t8('Edit time recording type'), |
|
279 |
}, |
|
280 |
list_attributes => [ |
|
281 |
{ method => 'abbreviation', title => t8('Abbreviation') }, |
|
282 |
{ method => 'description', title => t8('Description') }, |
|
283 |
{ method => 'obsolete', title => t8('Obsolete'), formatter => sub { $_[0]->obsolete ? t8('yes') : t8('no') } }, |
|
284 |
], |
|
285 |
}, |
|
271 | 286 |
); |
272 | 287 |
|
273 | 288 |
my @default_list_attributes = ( |
Auch abrufbar als: Unified diff
Zeiterfassung: SimpleSystemSettings für Typen