X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/0e723a19cf157a78a57458dda69fd1ea36e68ea1..0b34e29fb04ad9ac9912f67b767f9f401700ca97:/templates/webpages/am/edit_accounts.html diff --git a/templates/webpages/am/edit_accounts.html b/templates/webpages/am/edit_accounts.html index 597aebc00..7b000d674 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 %]
@@ -19,18 +22,13 @@ window.onload = function() { - - - - - - -
[% title %]
+ +
@@ -42,7 +40,7 @@ window.onload = function() { - + @@ -50,7 +48,7 @@ window.onload = function() { [% 'Description' | $T8 %] - + @@ -89,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 %] @@ -200,39 +214,40 @@ window.onload = function() {

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

-[% IF account_exists %] - + [% IF country_mode != 'CH' %] + + [% END %] [% FOREACH tk = ACCOUNT_TAXKEYS %] + [% IF tk.id %] - + [% IF country_mode != 'CH' %] + + [% END %] [% ELSE %] - + [% IF country_mode != 'CH' %] + + [% END %] [% END %] + [% END %] -[% ELSE %] - - - -[% END %] -
[% 'Taxkey' | $T8 %] [% 'valid from' | $T8 %][% 'pos_ustva' | $T8 %][% 'pos_ustva' | $T8 %][% 'delete' | $T8 %] ?
 

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

-
+
@@ -242,6 +257,7 @@ window.onload = function() { [% 'EUER' | $T8 %] + [% IF country_mode != 'CH' %] [% 'BWA' | $T8 %] @@ -255,6 +271,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 %] + [% END %] [% 'Folgekonto' | $T8 %] @@ -265,3 +282,19 @@ window.onload = function() { [% END %]

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