X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/11da80946e1d6365543722b4ba29e44886601d86..refs/heads/debian:/SL/Controller/SimpleSystemSetting.pm diff --git a/SL/Controller/SimpleSystemSetting.pm b/SL/Controller/SimpleSystemSetting.pm index 640414d47..463d74fb3 100644 --- a/SL/Controller/SimpleSystemSetting.pm +++ b/SL/Controller/SimpleSystemSetting.pm @@ -268,21 +268,20 @@ my %supported_types = ( ], }, - time_recording_type => { - # Make locales.pl happy: $self->render("simple_system_setting/_time_recording_type_form") - class => 'TimeRecordingType', + time_recording_article => { + # Make locales.pl happy: $self->render("simple_system_setting/_time_recording_article_form") + class => 'TimeRecordingArticle', auth => 'config', titles => { - list => t8('Time Recording Types'), - add => t8('Add time recording type'), - edit => t8('Edit time recording type'), + list => t8('Time Recording Articles'), + add => t8('Add time recording article'), + edit => t8('Edit time recording article'), }, list_attributes => [ - { method => 'abbreviation', title => t8('Abbreviation') }, - { method => 'description', title => t8('Description') }, - { method => 'obsolete', title => t8('Obsolete'), formatter => sub { $_[0]->obsolete ? t8('yes') : t8('no') } }, + { title => t8('Article'), formatter => sub { $_[0]->part->displayable_name } }, ], }, + ); my @default_list_attributes = (