1 [%- USE LxERP -%][%- USE L -%]
 
   2 <div id="datev_check_configuration">
 
   5    <td colspan="3">[% LxERP.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 independently.') %]</td>
 
   8    <td align="right">[% LxERP.t8('Check on sales invoice') %]</td>
 
   9    <td>[% L.yes_no_tag('defaults.datev_check_on_sales_invoice', SELF.defaults.datev_check_on_sales_invoice) %]</td>
 
  10    <td>[% LxERP.t8('Perform check when a sales invoice or a payment for a sales invoice is posted?') %]</td>
 
  13    <td align="right">[% LxERP.t8('Check on purchase invoice') %]</td>
 
  14    <td>[% L.yes_no_tag('defaults.datev_check_on_purchase_invoice', SELF.defaults.datev_check_on_purchase_invoice) %]</td>
 
  15    <td>[% LxERP.t8('Perform check when a purchase invoice or a payment for a purchase invoice is posted?') %]</td>
 
  18    <td align="right">[% LxERP.t8('Check on ar transaction') %]</td>
 
  19    <td>[% L.yes_no_tag('defaults.datev_check_on_ar_transaction', SELF.defaults.datev_check_on_ar_transaction) %]</td>
 
  20    <td>[% LxERP.t8('Perform check when an ar transaction is posted?') %]</td>
 
  23    <td align="right">[% LxERP.t8('Check on ap transaction') %]</td>
 
  24    <td>[% L.yes_no_tag('defaults.datev_check_on_ap_transaction', SELF.defaults.datev_check_on_ap_transaction) %]</td>
 
  25    <td>[% LxERP.t8('Perform check when an ap transaction is posted?') %]</td>
 
  28    <td align="right">[% LxERP.t8('Check on gl transaction') %]</td>
 
  29    <td>[% L.yes_no_tag('defaults.datev_check_on_gl_transaction', SELF.defaults.datev_check_on_gl_transaction) %]</td>
 
  30    <td>[% LxERP.t8('Perform check when a gl transaction is posted?') %]</td>
 
  33    <td align="right">[% LxERP.t8('Datev export encoding') %]</td>
 
  34    <td>[% L.select_tag('defaults.datev_export_format', [ [ 'cp1252', LxERP.t8('Strict and halt') ],[ 'cp1252-translit', LxERP.t8('Strict but replace') ],[ 'utf-8', LxERP.t8('Relaxed (UTF-8)') ]  ], default=SELF.defaults.datev_export_format) %]
 
  35    <td>[% LxERP.t8('DATEV expects the encoding to be Western Europe conform (LATIN-1, cp1252). By setting this to "Strict and halt" the DATEV export halts with a error if there is a single character in "Posting Text" which is not LATIN-1 encodeable. By setting this to "Strict but replace" kivitendo will replace the character with a similar one and the export will simply warn about those fields. By setting this to relaxed (UTF-8) the DATEV export encoding will be in kivitendo (UTF-8) encoded and the external import program has to handle this (this may work for DATEV deriviates or future versions of DATEV). Background details: For example turkish characters (Ç) are not valid cp1252 charactes and armenian characters like "Գեղարդ" are probably not replaceable in cp1252') %]</td>