[% LxERP.t8('You can either create a new database or chose an existing database.') %]
  [% LxERP.t8('In the latter case the tables needed by kivitendo will be created in that database.') %]
 
 
  
   | [% LxERP.t8('Existing Datasets') %] | 
   [% FOREACH db = SELF.all_dbsources %][% UNLESS loop.first %] [% END %][[% HTML.escape(db) %]][% END %] | 
  
  
   | [% LxERP.t8('Create Dataset') %] | 
   [% L.input_tag('db', FORM.db, class="initial_focus") %] | 
  
  
   | [% LxERP.t8('Default currency') %] | 
   [% L.input_tag('defaultcurrency', FORM.defaultcurrency || 'EUR') %] | 
  
  
   | [% 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')) %] | 
  
  
   | [% LxERP.t8('Accounting method') %] * | 
   [% L.select_tag('accounting_method', SELF.all_accounting_methods, title_key='name', default=(FORM.accounting_method || 'cash')) %] | 
  
  
   | [% LxERP.t8('Inventory system') %] * | 
   [% L.select_tag('inventory_system', SELF.all_inventory_systems, title_key='name', default=(FORM.inventory_system || 'periodic')) %] | 
  
  
   | [% LxERP.t8('Profit determination') %] * | 
   [% L.select_tag('profit_determination', SELF.all_profit_determinations, title_key='name', default=(FORM.profit_determination || 'income')) %] | 
  
 
 [% L.hidden_tag("dbhost", FORM.dbhost) %]
 [% L.hidden_tag("dbport", FORM.dbport) %]
 [% L.hidden_tag("dbuser", FORM.dbuser) %]
 [% L.hidden_tag("dbpasswd", FORM.dbpasswd) %]
 [% L.hidden_tag("dbdefault", FORM.dbdefault) %]
 [% L.hidden_tag("action", "Admin/do_create_dataset") %]