1 [%- USE HTML %][%- USE LxERP -%][%- USE T8 -%][%- USE L -%]
3 [% INCLUDE 'common/flash.html' %]
5 <h1>[% HTML.escape(title) %]</h1>
7 <p><a href="controller.pl?action=Admin/database_administration">[% LxERP.t8('Back') %]</a></p>
9 <form method="post" action="controller.pl">
11 [% LxERP.t8('You can either create a new database or chose an existing database.') %]
12 [% LxERP.t8('In the latter case the tables needed by kivitendo will be created in that database.') %]
17 <th valign="top" align="right" nowrap>[% LxERP.t8('Existing Datasets') %]</th>
18 <td valign="top">[% FOREACH db = SELF.all_dbsources %][% UNLESS loop.first %] [% END %][[% HTML.escape(db) %]][% END %]</td>
22 <th align="right" nowrap>[% LxERP.t8('Create Dataset') %]</th>
23 <td>[% L.input_tag('db', FORM.db, class="initial_focus") %]</td>
27 <th align="right" nowrap>[% LxERP.t8('Default currency') %]</th>
28 <td>[% L.input_tag('defaultcurrency', FORM.defaultcurrency || 'EUR') %]</td>
32 <th valign="top" align="right" nowrap>[% LxERP.t8('Create Chart of Accounts') %]</th>
33 <td>[% L.select_tag('chart', SELF.all_charts, onchange='comment_selected_chart(this.value)', default=(FORM.chart || 'Germany-DATEV-SKR03EU')) %]</td>
37 <th valign="top" align="right" nowrap>[% LxERP.t8('Accounting method') %] *</th>
38 <td>[% L.select_tag('accounting_method', SELF.all_accounting_methods, title_key='name', default=(FORM.accounting_method || 'cash')) %]</td>
42 <th valign="top" align="right" nowrap>[% LxERP.t8('Inventory system') %] *</th>
43 <td>[% L.select_tag('inventory_system', SELF.all_inventory_systems, title_key='name', default=(FORM.inventory_system || 'periodic')) %]</td>
47 <th valign="top" align="right" nowrap>[% LxERP.t8('Profit determination') %] *</th>
48 <td>[% L.select_tag('profit_determination', SELF.all_profit_determinations, title_key='name', default=(FORM.profit_determination || 'income')) %]</td>
52 [% L.hidden_tag("dbhost", FORM.dbhost) %]
53 [% L.hidden_tag("dbport", FORM.dbport) %]
54 [% L.hidden_tag("dbuser", FORM.dbuser) %]
55 [% L.hidden_tag("dbpasswd", FORM.dbpasswd) %]
56 [% L.hidden_tag("dbdefault", FORM.dbdefault) %]
57 [% L.hidden_tag("action", "Admin/do_create_dataset") %]
62 [% L.submit_tag('dummy', LxERP.t8('Create Dataset')) %]
67 <script type="text/javascript">
70 function comment_selected_chart(s) {
72 alert("SKR07 Austria ist noch Stand 2002." +
74 "Die Buchungsgruppen sind nicht korrekt vorkonfiguriert" +
76 "fuer Kunden im Ausland." +
78 "Hinweis vom 20.09.2011");
80 } else if (s == 'Swiss-German') {
81 alert("Hinweis: Das ist weder ein Schweizer Kontorahmen nach Kaefer noch ein " +
82 "Schweizer KMU-Kontenrahmen, sondern ein angelehnter KMU-Kontenrahmen fuer " +
83 "ein EDV-Dienstleistungsunternehmen mit Stand 2006 (Bspw. 32001 Hardware, " +
84 "statt 3200 Warenertrag)." +
86 "Ferner sind keine Buchungsgruppe vorkonfiguriert, somit wird " +
87 "standardmaessig keine Rechnung mit Steuer ausgewiesen." +
89 "Zum schnellen Testen und Zusammenhaenge verstehen waehlen Sie lieber einen " +
90 "deutschen Kontenrahmen aus (SKR03 oder SKR04) und passen die Steuer an." +
92 "Hinweis vom 21.09.2011");