X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fam%2Fedit_accounts.html;h=297b2b8a4ccf875534b2f6dc536b4aa0679e00f1;hb=efb9a24f2252104ab4af5c25334119d7c5c70a8c;hp=10d9caf070647a5b24dfa146670d57f4e036b36b;hpb=6caa57e2e994c8f99c209ce18379305eb01d1676;p=kivitendo-erp.git diff --git a/templates/webpages/am/edit_accounts.html b/templates/webpages/am/edit_accounts.html index 10d9caf07..297b2b8a4 100644 --- a/templates/webpages/am/edit_accounts.html +++ b/templates/webpages/am/edit_accounts.html @@ -8,19 +8,17 @@ -
- @@ -43,7 +41,7 @@ window.onload = function() { - + @@ -51,7 +49,7 @@ window.onload = function() { [% 'Description' | $T8 %] - + @@ -63,16 +61,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,9 +88,25 @@ window.onload = function() { [% IF ChartTypeIsAccount %]
[% 'Is this a summary account to record' | $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 %] + [% L.radio_button_tag('summary_account', + value => 'AR', + disabled => AccountIsPosted, + checked => AR) %] +  [% 'AR' | $T8 %] + [% L.radio_button_tag('summary_account', + value => 'AP', + disabled => AccountIsPosted, + checked => AP) %] +  [% 'AP' | $T8 %] + [% L.radio_button_tag('summary_account', + value => 'IC', + disabled => AccountIsPosted, + checked => IC) %] +  [% 'Inventory' | $T8 %] + [% L.radio_button_tag('summary_account', + value => '', + disabled => AccountIsPosted) %] +  [% 'No summary account' | $T8 %] [% IF AccountIsPosted %] [% IF AR %] [% L.hidden_tag('AR', 'AR') %] [% END %] @@ -111,9 +127,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 %]

@@ -199,7 +215,6 @@ window.onload = function() {

[% 'Note: Taxkeys must have a "valid from" date, and will not behave correctly without.' | $T8 %]

[% 'Receivables' | $T8 %]
-[% IF account_exists %] @@ -207,6 +222,7 @@ window.onload = function() { [% FOREACH tk = ACCOUNT_TAXKEYS %] + [% IF tk.id %] @@ -224,14 +240,9 @@ window.onload = function() { [% END %] + [% END %] -[% ELSE %] - - - -[% END %] -
[% 'Taxkey' | $T8 %] [% 'valid from' | $T8 %][% 'delete' | $T8 %] ?

[% 'Save account first to insert taxkeys' | $T8 %]

-
+
@@ -252,7 +263,7 @@ window.onload = function() { [% '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 %] @@ -264,3 +275,17 @@ window.onload = function() { [% END %]

+ +