[%- USE T8 %][%- USE L %][% USE LxERP %]

[% title | html %]

[% PROCESS 'common/flash.html' %]
[% 'Posting Configuration' | $T8 %]
[% 'Sales invoices changeable' | $T8 %] [% L.select_tag('is_changeable', SELF.posting_options, value_key => 'value', title_key => 'title', default => SELF.is_changeable) %] [% 'Should sales invoices be and when should they be changeable or deleteable after posting?' | $T8 %]
[% 'Purchase invoices changeable' | $T8 %] [% L.select_tag('ir_changeable', SELF.posting_options, value_key => 'value', title_key => 'title', default => SELF.ir_changeable) %] [% 'Should purchase invoices be and when should they be deleteable after posting?' | $T8 %]
[% 'AR transactions changeable' | $T8 %] [% L.select_tag('ar_changeable', SELF.posting_options, value_key => 'value', title_key => 'title', default => SELF.ar_changeable) %] [% 'Should ar transactions be and when should they be changeable or deleteable after posting?' | $T8 %]
[% 'AP transactions changeable' | $T8 %] [% L.select_tag('ap_changeable', SELF.posting_options, value_key => 'value', title_key => 'title', default => SELF.ap_changeable) %] [% 'Should ap transactions be and when should they be changeable or deleteable after posting?' | $T8 %]
[% 'GL transactions changeable' | $T8 %] [% L.select_tag('gl_changeable', SELF.posting_options, value_key => 'value', title_key => 'title', default => SELF.gl_changeable) %] [% 'Should gl transactions be and when should they be changeable or deleteable after posting?' | $T8 %]
[% 'Payments Changeable' | $T8 %] [% L.select_tag('payments_changeable', SELF.payment_options, value_key => 'value', title_key => 'title', default => SELF.payments_changeable) %] [% 'Should payments be and when should they be changeable after posting?' | $T8 %]
[% 'Show "mark as paid" in sales invoices' | $T8 %] [% L.yes_no_tag('is_show_mark_as_paid', SELF.is_show_mark_as_paid) %] [% 'Should the "mark as paid" button showed on sales invoices?' | $T8 %]
[% 'Show "mark as paid" in purchase invoices' | $T8 %] [% L.yes_no_tag('ir_show_mark_as_paid', SELF.ir_show_mark_as_paid) %] [% 'Should the "mark as paid" button showed in purchase invoices?' | $T8 %]
[% 'Show "mark as paid" in ar transactions' | $T8 %] [% L.yes_no_tag('ar_show_mark_as_paid', SELF.ar_show_mark_as_paid) %] [% 'Should the "mark as paid" button showed in ar transactions?' | $T8 %]
[% 'Show "mark as paid" in ap transactions' | $T8 %] [% L.yes_no_tag('ap_show_mark_as_paid', SELF.ap_show_mark_as_paid) %] [% 'Should the "mark as paid" button showed in ap transactions?' | $T8 %]
[% 'Accounting method' | $T8 %] [% L.select_tag('accounting_method', SELF.accounting_options, value_key => 'value', title_key => 'title', default => SELF.accounting_method) %] [% 'This option controls the posting and calculation behavior for the accounting method.' | $T8 %]
[% 'Inventory system' | $T8 %] [% L.select_tag('inventory_system', SELF.inventory_options, value_key => 'value', title_key => 'title', default => SELF.inventory_system) %] [% 'This option controls the inventory system.' | $T8 %]
[% 'ATTENTION! You can not simply change it from periodic to perpetual once you started posting.' | $T8 %]
[% 'Profit determination' | $T8 %] [% L.select_tag('profit_determination', SELF.profit_options, value_key => 'value', title_key => 'title', default => SELF.profit_determination) %] [% 'This option controls the method used for profit determination.' | $T8 %]
[% 'DATEV check configuration' | $T8 %]
[% 'It is possible to make a quick DATEV export everytime you post a record to ensure things work nicely with their data requirements. This will result in a slight overhead though you can enable this for each type of record independantly.' | $T8 %]
[% 'Check on sales invoice' | $T8 %] [% L.yes_no_tag('datev_check_on_sales_invoice', SELF.datev_check_on_sales_invoice) %] [% 'Perform check when a sales invoice or a payment for a sales invoice is posted?' | $T8 %]
[% 'Check on purchase invoice' | $T8 %] [% L.yes_no_tag('datev_check_on_purchase_invoice', SELF.datev_check_on_purchase_invoice) %] [% 'Perform check when a purchase invoice or a payment for a purchase invoice is posted?' | $T8 %]
[% 'Check on ar transaction' | $T8 %] [% L.yes_no_tag('datev_check_on_ar_transaction', SELF.datev_check_on_ar_transaction) %] [% 'Perform check when an ar transaction is posted?' | $T8 %]
[% 'Check on ap transaction' | $T8 %] [% L.yes_no_tag('datev_check_on_ap_transaction', SELF.datev_check_on_ap_transaction) %] [% 'Perform check when an ap transaction is posted?' | $T8 %]
[% 'Check on gl transaction' | $T8 %] [% L.yes_no_tag('datev_check_on_gl_transaction', SELF.datev_check_on_gl_transaction) %] [% 'Perform check when a gl transaction is posted?' | $T8 %]
[% 'Orders / Delivery Orders deleteable' | $T8 %]
[% 'Sales Orders deleteable' | $T8 %] [% L.yes_no_tag('sales_order_show_delete', SELF.sales_order_show_delete) %] [% 'Show delete button in sales orders?' | $T8 %]
[% 'Purchase Orders deleteable' | $T8 %] [% L.yes_no_tag('purchase_order_show_delete', SELF.purchase_order_show_delete) %] [% 'Show delete button in purchase orders?' | $T8 %]
[% 'Sales Delivery Orders deleteable' | $T8 %] [% L.yes_no_tag('sales_delivery_order_show_delete', SELF.sales_delivery_order_show_delete) %] [% 'Show delete button in sales delivery orders?' | $T8 %]
[% 'Purchase Delivery Orders deleteable' | $T8 %] [% L.yes_no_tag('purchase_delivery_order_show_delete', SELF.purchase_delivery_order_show_delete) %] [% 'Show delete button in purchase delivery orders?' | $T8 %]
[% 'Warehouse' | $T8 %]
[% 'Show Bestbefore' | $T8 %] [% L.yes_no_tag('show_bestbefore', SELF.show_bestbefore) %] [% 'Show fields used for the best before date?' | $T8 %]
[% 'ATTENTION! If you enabled this feature you can not simply turn it off again without taking care that best_before fields are emptied in the database.' | $T8 %]
[% 'This can be done with the following query:' | $T8 %]

UPDATE inventory SET bestbefore = NULL;

[% 'Any stock contents containing a best before date will be impossible to stock out otherwise.' | $T8 %]

[%- L.hidden_tag('action', 'ClientConfig/dispatch') %] [%- L.submit_tag('action_save', LxERP.t8('Save')) %]