X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/e42233910a57d39f3ccef150db1212f7ecb7fb30..53593baa211863fbf66540cf1bcc36c8fb37257f:/templates/webpages/admin/create_dataset.html diff --git a/templates/webpages/admin/create_dataset.html b/templates/webpages/admin/create_dataset.html index 5b776569b..48998c6a9 100644 --- a/templates/webpages/admin/create_dataset.html +++ b/templates/webpages/admin/create_dataset.html @@ -10,6 +10,13 @@ [% LxERP.t8('In the latter case the tables needed by kivitendo will be created in that database.') %]
+ [% IF !superuser.have_privileges %] ++ [% LxERP.t8("Database superuser privileges are required for parts of the database modifications.") %] + [% LxERP.t8("Please provide corresponding credentials.") %] +
+ [% END %] +| [% LxERP.t8('Existing Datasets') %] | @@ -21,29 +28,51 @@[% L.input_tag('db', FORM.db, class="initial_focus") %] | |
|---|---|---|
| [% LxERP.t8("Database Superuser") %] | +[% L.input_tag("database_superuser_user", superuser.username) %] | +|
| [% LxERP.t8("Password") %] | +[% L.input_tag("database_superuser_password", superuser.password, type="password") %] | +|
| + | ||
| [% LxERP.t8('Default currency') %] | -[% L.input_tag('defaultcurrency', FORM.defaultcurrency || 'EUR') %] | +[% L.input_tag('defaultcurrency', FORM.defaultcurrency) %] | +
| [% LxERP.t8('Precision') %] | +[% L.input_tag('precision_as_number', LxERP.format_amount(FORM.precision, 2)) %] [% LxERP.t8('Precision Note') %] | |
| [% LxERP.t8('Create Chart of Accounts') %] | -[% L.select_tag('chart', SELF.all_charts, onchange='comment_selected_chart(this.value)', default=(FORM.chart || 'Germany-DATEV-SKR03EU')) %] | +[% L.select_tag('chart', SELF.all_charts, default=(FORM.chart), onchange='comment_selected_chart(this.value)') %] |
| [% LxERP.t8('Accounting method') %] | -[% L.select_tag('accounting_method', SELF.all_accounting_methods, title_key='name', default=(FORM.accounting_method || 'cash')) %] | +[% L.select_tag('accounting_method', SELF.all_accounting_methods, title_key='name', default=(FORM.accounting_method)) %] |
| [% LxERP.t8('Inventory system') %] | -[% L.select_tag('inventory_system', SELF.all_inventory_systems, title_key='name', default=(FORM.inventory_system || 'periodic')) %] | +[% L.select_tag('inventory_system', SELF.all_inventory_systems, title_key='name', default=(FORM.inventory_system)) %] |
| [% LxERP.t8('Profit determination') %] | -[% L.select_tag('profit_determination', SELF.all_profit_determinations, title_key='name', default=(FORM.profit_determination || 'income')) %] | +[% L.select_tag('profit_determination', SELF.all_profit_determinations, title_key='name', default=(FORM.profit_determination)) %] |