2014-03-16 02:08:15 +01:00
|
|
|
= config_input form, :price_markup do
|
|
|
|
.input-append
|
|
|
|
= config_input_field form, :price_markup, as: :decimal, class: 'input-mini'
|
|
|
|
%span.add-on %
|
|
|
|
= config_input form, :tax_default do
|
|
|
|
.input-append
|
|
|
|
= config_input_field form, :tax_default, as: :decimal, class: 'input-mini'
|
|
|
|
%span.add-on %
|
|
|
|
= config_input form, :minimum_balance do
|
|
|
|
.input-prepend
|
|
|
|
%span.add-on= t 'number.currency.format.unit'
|
|
|
|
= config_input_field form, :minimum_balance, as: :decimal, class: 'input-small'
|
2017-10-10 18:20:54 +02:00
|
|
|
= config_input form, :charge_members_manually, as: :boolean
|
2017-01-18 11:12:56 +01:00
|
|
|
= config_input form, :use_iban, as: :boolean
|
2021-02-18 12:38:07 +01:00
|
|
|
= config_input form, :use_self_service, as: :boolean
|
2023-07-24 10:50:35 +02:00
|
|
|
%h4= t '.group_order_invoices'
|
|
|
|
= form.fields_for :group_order_invoices do |field|
|
2023-11-03 16:37:43 +01:00
|
|
|
= config_input field, :ignore_minimum_balance, as: :boolean
|
2023-07-24 10:50:35 +02:00
|
|
|
= config_input field, :use_automatic_invoices, as: :boolean
|
|
|
|
= config_input field, :separate_deposits, as: :boolean
|
|
|
|
= config_input field, :vat_exempt, as: :boolean
|
2023-11-03 16:37:43 +01:00
|
|
|
= config_input field, :payment_method, collection: FinancialTransactionType.all.map { |t| [t.name, t.id] }, as: :select, include_blank: true
|
|
|
|
%p
|
|
|
|
%i Für SEPA-Lastschrift-Export:
|
|
|
|
= config_input field, :iban
|
|
|
|
= config_input field, :bic
|
|
|
|
= config_input field, :creditor_identifier
|
2014-11-22 00:33:16 +01:00
|
|
|
|
2015-09-23 22:38:20 +02:00
|
|
|
%h4= t '.schedule_title'
|
2014-11-22 00:33:16 +01:00
|
|
|
= form.simple_fields_for :order_schedule do |fields|
|
2015-09-23 22:38:20 +02:00
|
|
|
#boxfill-schedule.collapse{class: ('in' if FoodsoftConfig[:use_boxfill])}
|
|
|
|
= fields.simple_fields_for 'boxfill' do |fields|
|
|
|
|
.fold-line
|
|
|
|
= config_input fields, 'recurr', as: :select_recurring, input_html: {class: 'input-xlarge'}
|
|
|
|
= config_input fields, 'time', input_html: {class: 'input-mini'}
|
2014-11-22 00:33:16 +01:00
|
|
|
= fields.simple_fields_for 'ends' do |fields|
|
|
|
|
.fold-line
|
2015-10-23 14:53:01 +02:00
|
|
|
= config_input fields, 'recurr', as: :select_recurring, input_html: {class: 'input-xlarge'}, allow_blank: true
|
2014-11-22 00:33:16 +01:00
|
|
|
= config_input fields, 'time', input_html: {class: 'input-mini'}
|
2015-09-23 22:38:20 +02:00
|
|
|
-# can't use collapse and tooltip on same element :/
|
|
|
|
= config_input form, :use_boxfill, as: :boolean do
|
|
|
|
= config_tooltip form, :use_boxfill do
|
|
|
|
= config_input_field form, :use_boxfill, as: :boolean, title: '', data: {toggle: 'collapse', target: '#boxfill-schedule'}
|