2 [% USE HTML %]<body class="admin">
 
   6   <form method="post" action="admin.pl">
 
   7    <p><a href="admin.pl?action=pg_database_administration">[% 'Back' | $T8 %]</a></p>
 
   9     [% 'You can either create a new database or chose an existing database.' | $T8 %]
 
  10     [% 'In the latter case the tables needed by Lx-Office will be created in that database.' | $T8 %]
 
  15      <th valign="top" align="right" nowrap>[% 'Existing Datasets' | $T8 %]</th>
 
  16      <td valign="top">[% HTML.escape(dbsources) %]</td>
 
  20      <th align="right" nowrap>[% 'Create Dataset' | $T8 %]</th>
 
  21      <td><input name="db"></td>
 
  25      <th align="right" nowrap>[% 'Multibyte Encoding' | $T8 %]</th>
 
  27       [%- IF FORCE_DBENCODING %]
 
  28       <input type="hidden" name="encoding" value="[% HTML.escape(FORCE_DBENCODING) %]">
 
  29       [% HTML.escape(FORCE_DBENCODING) %]
 
  31       <select name="encoding">
 
  32        [% FOREACH row = DBENCODINGS %]<option value="[% HTML.escape(row.dbencoding) %]" [% IF row.selected %]selected[% END %]>[% HTML.escape(row.label) %]</option>[% END %]
 
  39      <th valign="top" align="right" nowrap>[% 'Create Chart of Accounts' | $T8 %]</th>
 
  41       <select name="chart" onChange="comment_selected_chart(this.value)">
 
  42        [% FOREACH row = CHARTS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>[% END %]
 
  48      <th valign="top" align="right" nowrap>[% 'Accounting method' | $T8 %] *</th>
 
  50       <select name="accounting_method">
 
  51        [% FOREACH row = ACCOUNTING_METHODS %]<option value=[% HTML.escape(row.name) %] [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) | $T8 %]</option>[% END %]
 
  56      <th valign="top" align="right" nowrap>[% 'Inventory system' | $T8 %] *</th>
 
  58       <select name="inventory_system">
 
  59        [% FOREACH row = INVENTORY_SYSTEMS %]<option value=[% HTML.escape(row.name) %] [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) | $T8 %]</option>[% END %]
 
  65      <th valign="top" align="right" nowrap>[% 'Profit determination' | $T8 %] *</th>
 
  67       <select name="profit_determination">
 
  68        [% FOREACH row = PROFIT_DETERMINATIONS %]<option value=[% HTML.escape(row.name) %] [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) | $T8 %]</option>[% END %]
 
  74     *) Seit 2.7 werden Gewinnermittlungsart, Versteuerungsart und Warenbuchungsmethode in der Mandanten-DB gesteuert und nicht mehr in der lx-erp.conf, Umstellungs-Details: <a href="doc/umstellung_eur.txt">EUR Umstellung in Mandant</a>
 
  79    <input type="hidden" name="dbdriver"  value="[% HTML.escape(dbdriver) %]">
 
  80    <input type="hidden" name="dbuser"    value="[% HTML.escape(dbuser) %]">
 
  81    <input type="hidden" name="dbhost"    value="[% HTML.escape(dbhost) %]">
 
  82    <input type="hidden" name="dbport"    value="[% HTML.escape(dbport) %]">
 
  83    <input type="hidden" name="dbpasswd"  value="[% HTML.escape(dbpasswd) %]">
 
  84    <input type="hidden" name="dbdefault" value="[% HTML.escape(dbdefault) %]">
 
  86    <input type="hidden" name="callback" value="admin.pl?action=list_users">
 
  88    <input type="hidden" name="nextsub" value="dbcreate">
 
  92    <p><input type="submit" class="submit" name="action" value="[% 'Continue' | $T8 %]"></p>
 
  96   <script type="text/javascript">
 
  99     function comment_selected_chart(s) {
 
 100       if (s == 'Austria') {
 
 101         alert("SKR07 Austria ist noch Stand 2002." +
 
 103               "Die Buchungsgruppen sind nicht korrekt vorkonfiguriert" +
 
 105               "fuer Kunden im Ausland." +
 
 107               "Hinweis vom 20.09.2011");
 
 109       if (s == 'Swiss-German') {
 
 110         alert("Hinweis: Das ist weder ein Schweizer Kontorahmen nach Kaefer noch ein " +
 
 111               "Schweizer KMU-Kontenrahmen, sondern ein angelehnter KMU-Kontenrahmen fuer " +
 
 112               "ein EDV-Dienstleistungsunternehmen mit Stand 2006 (Bspw. 32001 Hardware, " +
 
 113               "statt 3200 Warenertrag)." +
 
 115               "Ferner sind keine Buchungsgruppe vorkonfiguriert, somit wird " +
 
 116               "standardmaessig keine Rechnung mit Steuer ausgewiesen." +
 
 118               "Zum schnellen Testen und Zusammenhaenge verstehen waehlen Sie lieber einen " +
 
 119               "deutschen Kontenrahmen aus (SKR03 oder SKR04) und passen die Steuer an." +
 
 121               "Hinweis vom 21.09.2011");