X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fadmin%2Fcreate_dataset.html;h=48998c6a96a721a145311d149eecb21c911dc664;hb=479d8db7bb8da885e476862101f5d0014fdc4fb2;hp=2f90d579ac5374b0a5924e16b30d39cea9546f69;hpb=34af475f9ba442662231760475fe156ddc70a107;p=kivitendo-erp.git diff --git a/templates/webpages/admin/create_dataset.html b/templates/webpages/admin/create_dataset.html index 2f90d579a..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')) %] | +[% LxERP.t8('Accounting method') %] | +[% 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')) %] | +[% LxERP.t8('Inventory system') %] | +[% 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')) %] | +[% LxERP.t8('Profit determination') %] | +[% L.select_tag('profit_determination', SELF.all_profit_determinations, title_key='name', default=(FORM.profit_determination)) %] |