[%- USE T8 %]
-[% USE HTML %]<body class="admin">
-
+[%- USE HTML %]
<h2>[% title %]</h2>
<form method="post" action="admin.pl">
-
+ <p><a href="admin.pl?action=pg_database_administration">[% 'Back' | $T8 %]</a></p>
<p>
[% 'You can either create a new database or chose an existing database.' | $T8 %]
[% 'In the latter case the tables needed by Lx-Office will be created in that database.' | $T8 %]
</p>
- <table>
+ <table border="0">
<tr>
<th valign="top" align="right" nowrap>[% 'Existing Datasets' | $T8 %]</th>
<td valign="top">[% HTML.escape(dbsources) %]</td>
<tr>
<th valign="top" align="right" nowrap>[% 'Create Chart of Accounts' | $T8 %]</th>
<td>
- <select name="chart">
+ <select name="chart" onChange="comment_selected_chart(this.value)">
[% FOREACH row = CHARTS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>[% END %]
</select>
</td>
</tr>
+ <tr>
+ <th valign="top" align="right" nowrap>[% 'Accounting method' | $T8 %] *</th>
+ <td>
+ <select name="accounting_method">
+ [% FOREACH row = ACCOUNTING_METHODS %]<option value=[% HTML.escape(row.name) %] [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) | $T8 %]</option>[% END %]
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <th valign="top" align="right" nowrap>[% 'Inventory system' | $T8 %] *</th>
+ <td>
+ <select name="inventory_system">
+ [% FOREACH row = INVENTORY_SYSTEMS %]<option value=[% HTML.escape(row.name) %] [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) | $T8 %]</option>[% END %]
+ </select>
+ [% '* 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>.
+ </td>
+
+ </tr>
+
+ <tr>
+ <th valign="top" align="right" nowrap>[% 'Profit determination' | $T8 %] *</th>
+ <td>
+ <select name="profit_determination">
+ [% FOREACH row = PROFIT_DETERMINATIONS %]<option value=[% HTML.escape(row.name) %] [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) | $T8 %]</option>[% END %]
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ [% '*) 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>
+ </td>
+ </tr>
</table>
<input type="hidden" name="dbdriver" value="[% HTML.escape(dbdriver) %]">
</form>
-</body>
-</html>
+ <script type="text/javascript">
+ <!--
+
+ function comment_selected_chart(s) {
+ if (s == 'Austria') {
+ alert("SKR07 Austria ist noch Stand 2002." +
+ "\n" +
+ "Die Buchungsgruppen sind nicht korrekt vorkonfiguriert" +
+ "\n" +
+ "fuer Kunden im Ausland." +
+ "\n" +
+ "Hinweis vom 20.09.2011");
+ }
+ if (s == 'Swiss-German') {
+ alert("Hinweis: Das ist weder ein Schweizer Kontorahmen nach Kaefer noch ein " +
+ "Schweizer KMU-Kontenrahmen, sondern ein angelehnter KMU-Kontenrahmen fuer " +
+ "ein EDV-Dienstleistungsunternehmen mit Stand 2006 (Bspw. 32001 Hardware, " +
+ "statt 3200 Warenertrag)." +
+ "\n" +
+ "Ferner sind keine Buchungsgruppe vorkonfiguriert, somit wird " +
+ "standardmaessig keine Rechnung mit Steuer ausgewiesen." +
+ "\n" +
+ "Zum schnellen Testen und Zusammenhaenge verstehen waehlen Sie lieber einen " +
+ "deutschen Kontenrahmen aus (SKR03 oder SKR04) und passen die Steuer an." +
+ "\n" +
+ "Hinweis vom 21.09.2011");
+ }
+ return true;
+ }
+
+ -->
+ </script>