X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FSimpleSystemSetting.pm;h=463d74fb3390294132e5adaf4e20302d27b3518a;hb=8186ccfab41f8b6c0a45f13dd99337eb9e3248f0;hp=4fec19a9f7b2c23591b5db6b7ab3d19f25dee2aa;hpb=b24dfcbb7755c7c2d3389185091f951755de463c;p=kivitendo-erp.git diff --git a/SL/Controller/SimpleSystemSetting.pm b/SL/Controller/SimpleSystemSetting.pm index 4fec19a9f..463d74fb3 100644 --- a/SL/Controller/SimpleSystemSetting.pm +++ b/SL/Controller/SimpleSystemSetting.pm @@ -35,7 +35,7 @@ my %supported_types = ( { method => 'bank', title => t8('Bank'), }, { method => 'bank_code', title => t8('Bank code'), }, { method => 'bic', title => t8('BIC'), }, - { title => t8('Use for ZUGFeRD'), formatter => sub { $_[0]->use_for_zugferd ? t8('yes') : t8('no') } }, + { title => t8('Use for Factur-X/ZUGFeRD'), formatter => sub { $_[0]->use_for_zugferd ? t8('yes') : t8('no') } }, { method => 'reconciliation_starting_date_as_date', title => t8('Date'), align => 'right' }, { method => 'reconciliation_starting_balance_as_number', title => t8('Balance'), align => 'right' }, ], @@ -56,6 +56,26 @@ my %supported_types = ( ], }, + contact_department => { + class => 'ContactDepartment', + auth => 'config', + titles => { + list => t8('Contact Departments'), + add => t8('Add department'), + edit => t8('Edit department'), + }, + }, + + contact_title => { + class => 'ContactTitle', + auth => 'config', + titles => { + list => t8('Contact Titles'), + add => t8('Add title'), + edit => t8('Edit title'), + }, + }, + department => { class => 'Department', titles => { @@ -65,6 +85,16 @@ my %supported_types = ( }, }, + greeting => { + class => 'Greeting', + auth => 'config', + titles => { + list => t8('Greetings'), + add => t8('Add greeting'), + edit => t8('Edit greeting'), + }, + }, + language => { # Make locales.pl happy: $self->render("simple_system_setting/_language_form") class => 'Language', @@ -238,6 +268,20 @@ my %supported_types = ( ], }, + 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 Articles'), + add => t8('Add time recording article'), + edit => t8('Edit time recording article'), + }, + list_attributes => [ + { title => t8('Article'), formatter => sub { $_[0]->part->displayable_name } }, + ], + }, + ); my @default_list_attributes = (