X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fam%2Fedit_accounts.html;h=bb8d48431b58fe77487c354abaa548e6017f6766;hb=2828d1565b297bf51e3e06ae8b6baec1817c294d;hp=09c98b3a50fcf32d60e951b06120bbf9533df176;hpb=734f5baa9d1bbdba84a1914299e4e0d94e42984a;p=kivitendo-erp.git diff --git a/templates/webpages/am/edit_accounts.html b/templates/webpages/am/edit_accounts.html index 09c98b3a5..bb8d48431 100644 --- a/templates/webpages/am/edit_accounts.html +++ b/templates/webpages/am/edit_accounts.html @@ -83,17 +83,18 @@ window.onload = function() { [% IF AccountIsPosted %] [% IF AR_amount %] [% L.hidden_tag('AR_amount', 'AR_amount') %] [% END %] - [% IF AR_paid %] [% L.hidden_tag('AR_paid', ' AR_paid') %] [% END %] - [% IF AR_tax %] [% L.hidden_tag('AR_amount', 'AR_tax') %] [% END %] + [% IF AR_paid %] [% L.hidden_tag('AR_paid', 'AR_paid') %] [% END %] + [% IF AR_tax %] [% L.hidden_tag('AR_tax', 'AR_tax') %] [% END %] [% IF AP_amount %] [% L.hidden_tag('AP_amount', 'AP_amount') %] [% END %] - [% IF AP_paid %] [% L.hidden_tag('AP_paid', ' AP_paid') %] [% END %] - [% IF AP_tax %] [% L.hidden_tag('AP_amount', 'AP_tax') %] [% END %] + [% IF AP_paid %] [% L.hidden_tag('AP_paid', 'AP_paid') %] [% END %] + [% IF AP_tax %] [% L.hidden_tag('AP_tax', 'AP_tax') %] [% END %] [%- SET DIS = ' disabled="disabled"' %] [% 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 to Receivables and Payables are only possible if no transactions to this account are posted yet.' | $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 %]

@@ -103,26 +104,46 @@ window.onload = function() {
[% 'Receivables' | $T8 %]
-   - [% 'Revenue' | $T8 %]
-   - [% 'Receipt' | $T8 %]
-   - [% 'Tax' | $T8 %] + [% L.radio_button_tag('AR_include_in_dropdown', + value => 'AR_amount', + disabled => AccountIsPosted, + checked => AR_amount) %] +  [% 'Revenue' | $T8 %]
+ [% L.radio_button_tag('AR_include_in_dropdown', + value => 'AR_paid', + disabled => AccountIsPosted, + checked => AR_paid) %] +  [% 'Receipt' | $T8 %]
+ [% L.radio_button_tag('AR_include_in_dropdown', + value => 'AR_tax', + disabled => AccountIsPosted, + checked => AR_tax) %] +  [% 'Tax' | $T8 %]
+ [% L.radio_button_tag('AR_include_in_dropdown', + value => '', + disabled => AccountIsPosted) %] +  [% 'do not include' | $T8 %]
-   - [% 'Expense/Asset' | $T8 %]
-   - [% 'Payment' | $T8 %]
-   - [% 'Tax' | $T8 %] + [% L.radio_button_tag('AP_include_in_dropdown', + value => 'AP_amount', + disabled => AccountIsPosted, + checked => AP_amount) %] +  [% 'Expense/Asset' | $T8 %]
+ [% L.radio_button_tag('AP_include_in_dropdown', + value => 'AP_paid', + disabled => AccountIsPosted, + checked => AP_paid) %] +  [% 'Payment' | $T8 %]
+ [% L.radio_button_tag('AP_include_in_dropdown', + value => 'AP_tax', + disabled => AccountIsPosted, + checked => AP_tax) %] +  [% 'Tax' | $T8 %]
+ [% L.radio_button_tag('AP_include_in_dropdown', + value => '', + disabled => AccountIsPosted) %] +  [% 'do not include' | $T8 %]
  [% 'Tax' | $T8 %] +

  [% 'Tax' | $T8 %] +