add tax_number, payment_method and automatic invoice options to be editable in admin configs

This commit is contained in:
Viehlieb 2021-12-23 01:32:43 +01:00
parent 72fa7c1123
commit 06eb56acf4
2 changed files with 4 additions and 0 deletions

View file

@ -7,4 +7,5 @@
= config_input c, :country, as: :string, input_html: {class: 'input-xlarge'}
= config_input c, :email, required: true, input_html: {class: 'input-xlarge'}
= config_input c, :phone, input_html: {class: 'input-medium'}
= config_input c, :tax_number, input_html: {class: 'input-medium'}
= config_input form, :homepage, required: true, as: :url, input_html: {class: 'input-xlarge'}

View file

@ -13,6 +13,9 @@
= config_input form, :charge_members_manually, as: :boolean
= config_input form, :use_iban, as: :boolean
= config_input form, :use_self_service, as: :boolean
= form.fields_for :group_order_invoices do |field|
= config_input field, :use, as: :boolean
= config_input field, :payment_method, as: :string, input_html: {class: 'input-mini'}
%h4= t '.schedule_title'
= form.simple_fields_for :order_schedule do |fields|