1 [%- USE T8 %][%- USE L %][% USE LxERP %]
 
   3 <h1>[% title | html %]</h1>
 
   5 [% PROCESS 'common/flash.html' %]
 
   7 <form action='controller.pl' method='POST'>
 
  11  <tr class='listheading'>
 
  12    <th colspan="3">[% 'Posting Configuration' | $T8 %]</th>
 
  16    <td align="right">[% 'Sales invoices changeable' | $T8 %]</td>
 
  17    <td>[% L.select_tag('is_changeable', SELF.posting_options, value_key => 'value', title_key => 'title', default => SELF.is_changeable) %]</td>
 
  18    <td>[% 'Should sales invoices be and when should they be changeable or deleteable after posting?' | $T8 %]</td>
 
  21    <td align="right">[% 'Purchase invoices changeable' | $T8 %]</td>
 
  22    <td>[% L.select_tag('ir_changeable', SELF.posting_options, value_key => 'value', title_key => 'title', default => SELF.ir_changeable) %]</td>
 
  23    <td>[% 'Should purchase invoices be and when should they be deleteable after posting?' | $T8 %]</td>
 
  26    <td align="right">[% 'AR transactions changeable' | $T8 %]</td>
 
  27    <td>[% L.select_tag('ar_changeable', SELF.posting_options, value_key => 'value', title_key => 'title', default => SELF.ar_changeable) %]</td>
 
  28    <td>[% 'Should ar transactions be and when should they be changeable or deleteable after posting?' | $T8 %]</td>
 
  31    <td align="right">[% 'AP transactions changeable' | $T8 %]</td>
 
  32    <td>[% L.select_tag('ap_changeable', SELF.posting_options, value_key => 'value', title_key => 'title', default => SELF.ap_changeable) %]</td>
 
  33    <td>[% 'Should ap transactions be and when should they be changeable or deleteable after posting?' | $T8 %]</td>
 
  36    <td align="right">[% 'GL transactions changeable' | $T8 %]</td>
 
  37    <td>[% L.select_tag('gl_changeable', SELF.posting_options, value_key => 'value', title_key => 'title', default => SELF.gl_changeable) %]</td>
 
  38    <td>[% 'Should gl transactions be and when should they be changeable or deleteable after posting?' | $T8 %]</td>
 
  45    <td align="right">[% 'Payments Changeable' | $T8 %]</td>
 
  46    <td>[% L.select_tag('payments_changeable', SELF.payment_options, value_key => 'value', title_key => 'title', default => SELF.payments_changeable) %]</td>
 
  47    <td>[% 'Should payments be and when should they be changeable after posting?' | $T8 %]</td>
 
  54    <td align="right">[% 'Accounting method' | $T8 %]</td>
 
  55    <td>[% L.select_tag('accounting_method', SELF.accounting_options, value_key => 'value', title_key => 'title', default => SELF.accounting_method) %]</td>
 
  56    <td>[% 'This option controls the posting and calculation behavior for the accounting method.' | $T8 %]</td>
 
  59    <td align="right">[% 'Inventory system' | $T8 %]</td>
 
  60    <td>[% L.select_tag('inventory_system', SELF.inventory_options, value_key => 'value', title_key => 'title', default => SELF.inventory_system) %]</td>
 
  62      [% 'This option controls the inventory system.' | $T8 %]<br>
 
  63      [% 'ATTENTION! You can not simply change it from periodic to perpetual once you started posting.' | $T8 %]
 
  67    <td align="right">[% 'Profit determination' | $T8 %]</td>
 
  68    <td>[% L.select_tag('profit_determination', SELF.profit_options, value_key => 'value', title_key => 'title', default => SELF.profit_determination) %]</td>
 
  69    <td>[% 'This option controls the method used for profit determination.' | $T8 %]</td>
 
  75  <tr class='listheading'>
 
  76    <th colspan="3">[% 'DATEV check configuration' | $T8 %]</th>
 
  79    <td colspan="3">[% '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 %]</td>
 
  82    <td align="right">[% 'Check on sales invoice' | $T8 %]</td>
 
  83    <td>[% L.yes_no_tag('datev_check_on_sales_invoice', SELF.datev_check_on_sales_invoice) %]</td>
 
  84    <td>[% 'Perform check when a sales invoice or a payment for a sales invoice is posted?' | $T8 %]</td>
 
  87    <td align="right">[% 'Check on purchase invoice' | $T8 %]</td>
 
  88    <td>[% L.yes_no_tag('datev_check_on_purchase_invoice', SELF.datev_check_on_purchase_invoice) %]</td>
 
  89    <td>[% 'Perform check when a purchase invoice or a payment for a purchase invoice is posted?' | $T8 %]</td>
 
  92    <td align="right">[% 'Check on ar transaction' | $T8 %]</td>
 
  93    <td>[% L.yes_no_tag('datev_check_on_ar_transaction', SELF.datev_check_on_ar_transaction) %]</td>
 
  94    <td>[% 'Perform check when an ar transaction is posted?' | $T8 %]</td>
 
  97    <td align="right">[% 'Check on ap transaction' | $T8 %]</td>
 
  98    <td>[% L.yes_no_tag('datev_check_on_ap_transaction', SELF.datev_check_on_ap_transaction) %]</td>
 
  99    <td>[% 'Perform check when an ap transaction is posted?' | $T8 %]</td>
 
 102    <td align="right">[% 'Check on gl transaction' | $T8 %]</td>
 
 103    <td>[% L.yes_no_tag('datev_check_on_gl_transaction', SELF.datev_check_on_gl_transaction) %]</td>
 
 104    <td>[% 'Perform check when a gl transaction is posted?' | $T8 %]</td>
 
 110  <tr class='listheading'>
 
 111    <th colspan="3">[% 'Warehouse' | $T8 %]</th>
 
 114    <td align="right">[% 'Show Bestbefore' | $T8 %]</td>
 
 116      [% L.yes_no_tag('show_bestbefore', SELF.show_bestbefore) %]
 
 119      [% 'Show fields used for the best before date?' | $T8 %]<br>
 
 120      [% '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 %]<br>
 
 121      [% 'This can be done with the following query:' | $T8 %]<br>
 
 123      UPDATE inventory SET bestbefore = NULL; <br>
 
 125      [% 'Any stock contents containing a best before date will be impossible to stock out otherwise.' | $T8 %]
 
 133 [%- L.hidden_tag('action',  'ClientConfig/dispatch')  %]
 
 134 [%- L.submit_tag('action_save',  LxERP.t8('Save'))  %]