From: Cem Aydin Date: Wed, 15 Dec 2021 15:52:16 +0000 (+0100) Subject: Swiss QR-Bill: Controller für BankAccount Datenfelder X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~248 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3008f8b76835a13db1bb9d562558693eb28812fd;p=kivitendo-erp.git Swiss QR-Bill: Controller für BankAccount Datenfelder --- diff --git a/SL/Controller/SimpleSystemSetting.pm b/SL/Controller/SimpleSystemSetting.pm index 463d74fb3..633f68e1f 100644 --- a/SL/Controller/SimpleSystemSetting.pm +++ b/SL/Controller/SimpleSystemSetting.pm @@ -34,8 +34,10 @@ my %supported_types = ( { method => 'iban', title => t8('IBAN'), }, { method => 'bank', title => t8('Bank'), }, { method => 'bank_code', title => t8('Bank code'), }, + { method => 'bank_account_id', title => t8('Bank Account Id Number (Swiss)'), }, { method => 'bic', title => t8('BIC'), }, { title => t8('Use for Factur-X/ZUGFeRD'), formatter => sub { $_[0]->use_for_zugferd ? t8('yes') : t8('no') } }, + { title => t8('Use for Swiss QR-Bill'), formatter => sub { $_[0]->use_for_qrbill ? 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' }, ], diff --git a/templates/webpages/simple_system_setting/_bank_account_form.html b/templates/webpages/simple_system_setting/_bank_account_form.html index 0270326f9..2d364aa33 100644 --- a/templates/webpages/simple_system_setting/_bank_account_form.html +++ b/templates/webpages/simple_system_setting/_bank_account_form.html @@ -27,6 +27,10 @@ [% LxERP.t8('Bank code') %] [%- L.input_tag("object.bank_code", SELF.object.bank_code, style=style) %] + + [% LxERP.t8('Bank Account Id Number (Swiss)') %] + [%- L.input_tag("object.bank_account_id", SELF.object.bank_account_id, style=style) %] + [% LxERP.t8('Chart') %] [% P.chart.picker('object.chart_id', SELF.object.chart_id, type='AR_paid,AP_paid', category='A,L,Q', choose=1, style=style, "data-validate"="required", "data-title"=LxERP.t8("Chart")) %] @@ -35,6 +39,10 @@ [% LxERP.t8('Use for Factur-X/ZUGFeRD') %] [% L.checkbox_tag('object.use_for_zugferd', checked = SELF.object.use_for_zugferd, for_submit=1) %] + + [% LxERP.t8('Use for Swiss QR-Bill') %] + [% L.checkbox_tag('object.use_for_qrbill', checked = SELF.object.use_for_qrbill, for_submit=1) %] + [% LxERP.t8('Obsolete') %] [% L.checkbox_tag('object.obsolete', checked = SELF.object.obsolete, for_submit=1) %]