X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fam%2Fedit_accounts.html;h=d3e4fe7eb9bfce50a783b7b6d72b2359b7f10aa2;hb=0e523230382ba442bf726a1669b50eb68862218f;hp=4715741fca6b7f0212022fc04e2f1fddbad85e57;hpb=8b8d484882dae49244fd69856d7969eca5434c22;p=kivitendo-erp.git diff --git a/templates/webpages/am/edit_accounts.html b/templates/webpages/am/edit_accounts.html index 4715741fc..d3e4fe7eb 100644 --- a/templates/webpages/am/edit_accounts.html +++ b/templates/webpages/am/edit_accounts.html @@ -88,9 +88,25 @@ $(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 %] @@ -218,11 +234,7 @@ $(function() { [% ELSE %] - [% IF account_exists %] - [% ELSE %] - - [% END %]   [% END %]