duns => { type => 'text' },
email_journal => { type => 'integer', default => 2 },
expense_accno_id => { type => 'integer' },
+ feature_balance => { type => 'boolean', default => 'true', not_null => 1 },
+ feature_datev => { type => 'boolean', default => 'true', not_null => 1 },
+ feature_erfolgsrechnung => { type => 'boolean', default => 'false', not_null => 1 },
+ feature_eurechnung => { type => 'boolean', default => 'true', not_null => 1 },
+ feature_ustva => { type => 'boolean', default => 'true', not_null => 1 },
fxgain_accno_id => { type => 'integer' },
fxloss_accno_id => { type => 'integer' },
gl_changeable => { type => 'integer', default => 2, not_null => 1 },
'Uploaded at' => 'Hochgeladen um',
'Uploaded on #1, size #2 kB' => 'Am #1 hochgeladen, Größe #2 kB',
'Use As New' => 'Als neu verwenden',
+ 'Use Balance Sheet' => 'Bilanz verwenden',
+ 'Use Datevautomatik' => 'Datev-Automatik verwenden',
+ 'Use Income' => 'Einnahmen-Überschuß-Rechnung verwenden',
+ 'Use Erfolgsrechnung' => 'Erfolgsrechnung verwenden',
+ 'Use UStVA' => 'UStVA verwenden',
'Use WebDAV Repository' => 'WebDAV-Ablage verwenden',
'Use existing templates' => 'Vorhandene Druckvorlagen verwenden',
'Use linked items' => 'Verknüpfte Positionen verwenden',
--- /dev/null
+-- @tag: defaults_add_features
+-- @description: flags to switch on/off the features for the clients
+-- @depends: release_3_3_0
+ALTER TABLE defaults ADD COLUMN feature_balance BOOLEAN NOT NULL DEFAULT TRUE;
+ALTER TABLE defaults ADD COLUMN feature_datev BOOLEAN NOT NULL DEFAULT TRUE;
+ALTER TABLE defaults ADD COLUMN feature_erfolgsrechnung BOOLEAN NOT NULL DEFAULT FALSE;
+ALTER TABLE defaults ADD COLUMN feature_eurechnung BOOLEAN NOT NULL DEFAULT TRUE;
+ALTER TABLE defaults ADD COLUMN feature_ustva BOOLEAN NOT NULL DEFAULT TRUE;
[%- USE LxERP -%][%- USE L -%][%- USE P -%][%- USE T8 %]
<div id="features">
<table>
+ <tr><td class="listheading" colspan="4">[% LxERP.t8("DATEV") %]</td></tr>
+
+ <tr>
+ <td align="right">[% LxERP.t8('Datevautomatik') %]</td>
+ <td>[% L.yes_no_tag('defaults.feature_datev', SELF.defaults.feature_datev) %]</td>
+ <td>[% LxERP.t8('Use Datevautomatik') %]</td>
+ </tr>
+
+ <tr><td class="listheading" colspan="4">[% LxERP.t8("UStVA") %]</td></tr>
+
+ <tr>
+ <td align="right">[% LxERP.t8('UStVA') %]</td>
+ <td>[% L.yes_no_tag('defaults.feature_ustva', SELF.defaults.feature_ustva) %]</td>
+ <td>[% LxERP.t8('Use UStVA') %]</td>
+ </tr>
+
<tr><td class="listheading" colspan="4">[% LxERP.t8("WebDAV") %]</td></tr>
<tr>
<td>[% LxERP.t8('Save document in WebDAV repository') %]</td>
</tr>
+ <tr><td class="listheading" colspan="4">[% LxERP.t8("Reports") %]</td></tr>
+
+ <tr>
+ <td align="right">[% LxERP.t8('Balance') %]</td>
+ <td>[% L.yes_no_tag('defaults.feature_balance', SELF.defaults.feature_balance) %]</td>
+ <td>[% LxERP.t8('Use Balance Sheet') %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8('income') %]</td>
+ <td>[% L.yes_no_tag('defaults.feature_eurechnung', SELF.defaults.feature_eurechnung) %]</td>
+ <td>[% LxERP.t8('Use Income') %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8('Erfolgsrechnung') %]</td>
+ <td>[% L.yes_no_tag('defaults.feature_erfolgsrechnung', SELF.defaults.feature_erfolgsrechnung) %]</td>
+ <td>[% LxERP.t8('Use Erfolgsrechnung') %]</td>
+ </tr>
+
<tr><td class="listheading" colspan="4">[% LxERP.t8("Customer Master Data") %]</td></tr>
<tr>