X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c2e4989097c6a6817e6c4d7bbabf70e43f14253d..66acdc926ce630fcd60655da3ad10fd39029f16c:/SL/Controller/SimpleSystemSetting.pm diff --git a/SL/Controller/SimpleSystemSetting.pm b/SL/Controller/SimpleSystemSetting.pm index f0590a165..640414d47 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 => { @@ -248,6 +268,21 @@ my %supported_types = ( ], }, + time_recording_type => { + # Make locales.pl happy: $self->render("simple_system_setting/_time_recording_type_form") + class => 'TimeRecordingType', + auth => 'config', + titles => { + list => t8('Time Recording Types'), + add => t8('Add time recording type'), + edit => t8('Edit time recording type'), + }, + 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') } }, + ], + }, ); my @default_list_attributes = (