X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fadmin%2Fcreate_dataset.html;h=48998c6a96a721a145311d149eecb21c911dc664;hb=afe4076101d6a2b3b3a50dc90c59259195d1db2c;hp=5b776569bc3f777f563c19f740cde5e3910f81c0;hpb=63954fb8a44c1a76d3d8529dcc2cca5f9029bd45;p=kivitendo-erp.git 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)) %] |