X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fam%2Fedit_accounts.html;h=95cd8c09d53db5d27a558dd8b0f85877d421dada;hb=3aa5cee2f12c1dff757539b60196bf5e1be0a5d6;hp=1676424893670fc2e73061e62d7eb777db5b238e;hpb=05e6d940371b65fe76a6a25354e156ae8e13a76c;p=kivitendo-erp.git diff --git a/templates/webpages/am/edit_accounts.html b/templates/webpages/am/edit_accounts.html index 167642489..95cd8c09d 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 %]
-
[% 'Main Preferences' | $T8 %] @@ -43,7 +38,7 @@ window.onload = function() { - + @@ -51,7 +46,7 @@ window.onload = function() { [% 'Description' | $T8 %] - + @@ -63,16 +58,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 +85,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 %] @@ -199,7 +212,6 @@ window.onload = function() {

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

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

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

-
+
@@ -264,3 +272,19 @@ window.onload = function() { [% END %]

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