X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fam%2Fedit_accounts.html;h=bb8d48431b58fe77487c354abaa548e6017f6766;hb=c2e4503d5fb79ed21a6e0e6d20dceba594d28bca;hp=098ab67076b58b49219d2568231fb391c6748eb2;hpb=dab2f724f162a7183d5782d79fde672f4f443a6d;p=kivitendo-erp.git
diff --git a/templates/webpages/am/edit_accounts.html b/templates/webpages/am/edit_accounts.html
index 098ab6707..bb8d48431 100644
--- a/templates/webpages/am/edit_accounts.html
+++ b/templates/webpages/am/edit_accounts.html
@@ -104,26 +104,46 @@ window.onload = function() {
-
- [% '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 %]
+
|