X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fam%2Fedit_accounts.html;h=76a08e46340305b8382d9486f512dd1a323d461f;hb=345731a4ff5c1f84b755be776027ddd0407a97fa;hp=4a7503d859f07fed8c7bce65d8f0975344150b5c;hpb=540030ff9826439d94f3f4292ab79b9be8795acc;p=kivitendo-erp.git diff --git a/templates/webpages/am/edit_accounts.html b/templates/webpages/am/edit_accounts.html index 4a7503d85..76a08e463 100644 --- a/templates/webpages/am/edit_accounts.html +++ b/templates/webpages/am/edit_accounts.html @@ -63,16 +63,18 @@ window.onload = function() { [% IF AccountIsPosted %] [% L.select_tag('dummy_charttype', - L.options_for_select(all_charttypes, - title => 'name', value => 'value', - default => selected_charttype), + all_charttypes, + title_key => 'name', + value_key => 'value', + default => selected_charttype, disabled => '1') %] [% L.hidden_tag('charttype', selected_charttype) %] [% ELSE %] [% L.select_tag('charttype', - L.options_for_select(all_charttypes, - title => 'name', value => 'value', - default => selected_charttype)) %] + all_charttypes, + title_key => 'name', + value_key => 'value', + default => selected_charttype) %] [% END %] @@ -88,12 +90,16 @@ window.onload = function() { [% IF ChartTypeIsAccount %]
[% 'Is this a summary account to record' | $T8 %] - -  [% 'AR' | $T8 %] - -  [% 'AP' | $T8 %] - -  [% 'Inventory' | $T8 %] + [% L.checkbox_tag('AR', value => 'AR', checked => AR, class => 'checkbox', disabled => AccountIsPosted) %]  [% 'AR' | $T8 %] + [% L.checkbox_tag('AP', value => 'AP', checked => AP, class => 'checkbox', disabled => AccountIsPosted) %]  [% 'AP' | $T8 %] + [% L.checkbox_tag('IC', value => 'IC', checked => IC, class => 'checkbox', disabled => AccountIsPosted) %]  [% 'Inventory' | $T8 %] + +[% IF AccountIsPosted %] + [% IF AR %] [% L.hidden_tag('AR', 'AR') %] [% END %] + [% IF AP %] [% L.hidden_tag('AP', 'AP') %] [% END %] + [% IF IC %] [% L.hidden_tag('IC', 'IC') %] [% END %] +[% END %] +
[% IF AccountIsPosted %] @@ -107,9 +113,9 @@ window.onload = function() { [% END %]
[% 'Include in drop-down menus' | $T8 %] -

[% 'These will only be effective if the account is NOT a summary account AND there exists at least one taxkey. Setting the account as a summary account will erase these settings.' | $T8 %]

+

[% 'Changes in this block are only sensible if the account is NOT a summary account AND there exists one valid taxkey. To select both Receivables and Payables only make sense for Payment / Receipt (i.e. account cash).' | $T8 %]

[% 'Changes to Receivables and Payables are only possible if no transactions to this account are posted yet.' | $T8 %] - [% 'And if the account does not act as tax-o-matic account.' | $T8 %]

+ [% 'The changing of tax-o-matic account is NOT recommended, but if you do so please also (re)configure buchungsgruppen and reconfigure ALL charts which point to this tax-o-matic account. ' | $T8 %]

@@ -248,7 +254,7 @@ window.onload = function() { - +
[% 'Receivables' | $T8 %]
[% 'Datevautomatik' | $T8 %][% 'If checked the taxkey will not be exported in the DATEV Export, but only IF chart taxkeys differ from general ledger taxkeys' | $T8 %]
[% 'Folgekonto' | $T8 %]