[% LxERP.t8('In the latter case the tables needed by kivitendo will be created in that database.') %]
</p>
+ [% IF !superuser.have_privileges %]
+ <p>
+ [% LxERP.t8("Database superuser privileges are required for parts of the database modifications.") %]
+ [% LxERP.t8("Please provide corresponding credentials.") %]
+ </p>
+ [% END %]
+
<table border="0">
<tr>
<th valign="top" align="right" nowrap>[% LxERP.t8('Existing Datasets') %]</th>
<td>[% L.input_tag('db', FORM.db, class="initial_focus") %]</td>
</tr>
- <tr>
- <th valign="top" align="right" nowrap>[% LxERP.t8('Country') %]</th>
- <td>[% L.select_tag('countrymode', SELF.all_countrymodes, title_key="title", default=(FORM.countrymode), onchange='select_country_defaults(this.value)') %]</td>
- </tr>
+ [% IF !superuser.have_privileges %]
+ <tr>
+ <th align="right" nowrap>[% LxERP.t8("Database Superuser") %]</th>
+ <td>[% L.input_tag("database_superuser_user", superuser.username) %]</td>
+ </tr>
+
+ <tr>
+ <th align="right" nowrap>[% LxERP.t8("Password") %]</th>
+ <td>[% L.input_tag("database_superuser_password", superuser.password, type="password") %]</td>
+ </tr>
+ [% END %]
<tr>
<td colspan="1"> </td>
<tr>
<th align="right" nowrap>[% LxERP.t8('Precision') %]</th>
- <td>[% L.input_tag('precision', FORM.precision) %]</td>
+ <td>[% L.input_tag('precision_as_number', LxERP.format_amount(FORM.precision, 2)) %] [% LxERP.t8('Precision Note') %]</td>
</tr>
<tr>
[% L.hidden_tag("dbpasswd", FORM.dbpasswd) %]
[% L.hidden_tag("dbdefault", FORM.dbdefault) %]
[% L.hidden_tag("action", "Admin/do_create_dataset") %]
+ [% L.hidden_tag("feature_balance", FORM.feature_balance) %]
+ [% L.hidden_tag("feature_datev", FORM.feature_datev) %]
+ [% L.hidden_tag("feature_erfolgsrechnung", FORM.feature_erfolgsrechnung) %]
+ [% L.hidden_tag("feature_eurechnung", FORM.feature_eurechnung) %]
+ [% L.hidden_tag("feature_ustva", FORM.feature_ustva) %]
+
<hr size="3" noshade>