X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fam%2Fedit_accounts.html;h=12a284c25d6f88ecf9d7762a088a04bd23c931b2;hb=061f4d6d32ed95055114582ede45e8387b302a53;hp=76a08e46340305b8382d9486f512dd1a323d461f;hpb=dc7791df0d3e919e691fb3fd3d7ee20e3c5e7ca1;p=kivitendo-erp.git diff --git a/templates/webpages/am/edit_accounts.html b/templates/webpages/am/edit_accounts.html index 76a08e463..12a284c25 100644 --- a/templates/webpages/am/edit_accounts.html +++ b/templates/webpages/am/edit_accounts.html @@ -1,6 +1,9 @@ [%- USE T8 %] [%- USE L %] -[% USE HTML %] -
- - - - - - -
[% title %]
+ +
@@ -43,7 +40,7 @@ window.onload = function() { - + @@ -51,7 +48,7 @@ window.onload = function() { [% 'Description' | $T8 %] - + @@ -90,9 +87,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 %] @@ -201,7 +214,6 @@ window.onload = function() {

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

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

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

-
+
@@ -243,6 +251,10 @@ window.onload = function() { [% 'EUER' | $T8 %] + + [% 'Erfolgsrechnung' | $T8 %] + + [% 'BWA' | $T8 %] @@ -266,3 +278,19 @@ window.onload = function() { [% END %]

+ +[% IF ( id ) %] + +[% END %]