5 <form method="post" action="admin.pl">
6 <p><a href="admin.pl?action=pg_database_administration">[% 'Back' | $T8 %]</a></p>
8 [% 'You can either create a new database or chose an existing database.' | $T8 %]
9 [% 'In the latter case the tables needed by kivitendo will be created in that database.' | $T8 %]
14 <th valign="top" align="right" nowrap>[% 'Existing Datasets' | $T8 %]</th>
15 <td valign="top">[% HTML.escape(dbsources) %]</td>
19 <th align="right" nowrap>[% 'Create Dataset' | $T8 %]</th>
20 <td><input name="db"></td>
24 <th align="right" nowrap>[% 'Multibyte Encoding' | $T8 %]</th>
26 [%- IF FORCE_DBENCODING %]
27 <input type="hidden" name="encoding" value="[% HTML.escape(FORCE_DBENCODING) %]">
28 [% HTML.escape(FORCE_DBENCODING) %]
30 <select name="encoding">
31 [% FOREACH row = DBENCODINGS %]<option value="[% HTML.escape(row.dbencoding) %]" [% IF row.selected %]selected[% END %]>[% HTML.escape(row.label) %]</option>[% END %]
38 <th align="right" nowrap>[% 'Default currency' | $T8 %]</th>
39 <td><input name="defaultcurrency" value="EUR"></td>
44 <th valign="top" align="right" nowrap>[% 'Create Chart of Accounts' | $T8 %]</th>
46 <select name="chart" onChange="comment_selected_chart(this.value)">
47 [% FOREACH row = CHARTS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>[% END %]
53 <th valign="top" align="right" nowrap>[% 'Accounting method' | $T8 %] *</th>
55 <select name="accounting_method">
56 [% FOREACH row = ACCOUNTING_METHODS %]<option value=[% HTML.escape(row.name) %] [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) | $T8 %]</option>[% END %]
61 <th valign="top" align="right" nowrap>[% 'Inventory system' | $T8 %] *</th>
63 <select name="inventory_system">
64 [% FOREACH row = INVENTORY_SYSTEMS %]<option value=[% HTML.escape(row.name) %] [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) | $T8 %]</option>[% END %]
66 [% '* there are restrictions for the perpetual method, look at chapter "Bemerkungen zu Bestandsmethode" in' | $T8 %] <a href="doc/kivitendo-Dokumentation.pdf">kivitendo-Dokumentation.pdf</a>.
72 <th valign="top" align="right" nowrap>[% 'Profit determination' | $T8 %] *</th>
74 <select name="profit_determination">
75 [% FOREACH row = PROFIT_DETERMINATIONS %]<option value=[% HTML.escape(row.name) %] [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) | $T8 %]</option>[% END %]
81 [% '*) Since version 2.7 these parameters ares set in the client database and not in the configuration file, details in chapter:' | $T8 %] <a href="doc/kivitendo-Dokumentation.pdf">Kapitel Konfiguration zur Einnahmenüberschussrechnung/ Bilanzierung: EUR</a>
86 <input type="hidden" name="dbdriver" value="[% HTML.escape(dbdriver) %]">
87 <input type="hidden" name="dbuser" value="[% HTML.escape(dbuser) %]">
88 <input type="hidden" name="dbhost" value="[% HTML.escape(dbhost) %]">
89 <input type="hidden" name="dbport" value="[% HTML.escape(dbport) %]">
90 <input type="hidden" name="dbpasswd" value="[% HTML.escape(dbpasswd) %]">
91 <input type="hidden" name="dbdefault" value="[% HTML.escape(dbdefault) %]">
93 <input type="hidden" name="callback" value="admin.pl?action=list_users">
95 <input type="hidden" name="nextsub" value="dbcreate">
99 <p><input type="submit" class="submit" name="action" value="[% 'Continue' | $T8 %]"></p>
103 <script type="text/javascript">
106 function comment_selected_chart(s) {
107 if (s == 'Austria') {
108 alert("SKR07 Austria ist noch Stand 2002." +
110 "Die Buchungsgruppen sind nicht korrekt vorkonfiguriert" +
112 "fuer Kunden im Ausland." +
114 "Hinweis vom 20.09.2011");
116 if (s == 'Swiss-German') {
117 alert("Hinweis: Das ist weder ein Schweizer Kontorahmen nach Kaefer noch ein " +
118 "Schweizer KMU-Kontenrahmen, sondern ein angelehnter KMU-Kontenrahmen fuer " +
119 "ein EDV-Dienstleistungsunternehmen mit Stand 2006 (Bspw. 32001 Hardware, " +
120 "statt 3200 Warenertrag)." +
122 "Ferner sind keine Buchungsgruppe vorkonfiguriert, somit wird " +
123 "standardmaessig keine Rechnung mit Steuer ausgewiesen." +
125 "Zum schnellen Testen und Zusammenhaenge verstehen waehlen Sie lieber einen " +
126 "deutschen Kontenrahmen aus (SKR03 oder SKR04) und passen die Steuer an." +
128 "Hinweis vom 21.09.2011");