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

[% title | html %]

[% PROCESS 'common/flash.html' %]
[% 'Posting Configuration' | $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 %]
[% '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')) %]