X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/a34bdbf789c735db56009ce6c61566ac30792abe..c235f7be04aeadf4c69612356c0453f11a3ea3b2:/SL/Controller/SimpleSystemSetting.pm diff --git a/SL/Controller/SimpleSystemSetting.pm b/SL/Controller/SimpleSystemSetting.pm index 5fb79aaab..f8dd4bc49 100644 --- a/SL/Controller/SimpleSystemSetting.pm +++ b/SL/Controller/SimpleSystemSetting.pm @@ -35,6 +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 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' }, ], @@ -55,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 => { @@ -64,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', @@ -460,6 +491,7 @@ sub setup_render_form_action_bar { ], ); } + $::request->layout->add_javascripts('kivi.Validator.js'); } 1;