</tr>
<tr>
<td>
- <input name="AR_amount" type="checkbox" class="checkbox" value="AR_amount"
- [% HTML.escape(AR_amount)%][% DIS %]>
- [% 'Revenue' | $T8 %] <br>
- <input name="AR_paid" type="checkbox" class="checkbox" value="AR_paid"
- [% HTML.escape(AR_paid) %][% DIS %]>
- [% 'Receipt' | $T8 %] <br>
- <input name="AR_tax" type="checkbox" class="checkbox" value="AR_tax"
- [% HTML.escape(AR_tax) %][% DIS %]>
- [% 'Tax' | $T8 %]
+ [% L.radio_button_tag('AR_include_in_dropdown',
+ value => 'AR_amount',
+ disabled => AccountIsPosted,
+ checked => AR_amount) %]
+ [% 'Revenue' | $T8 %] <br>
+ [% L.radio_button_tag('AR_include_in_dropdown',
+ value => 'AR_paid',
+ disabled => AccountIsPosted,
+ checked => AR_paid) %]
+ [% 'Receipt' | $T8 %] <br>
+ [% L.radio_button_tag('AR_include_in_dropdown',
+ value => 'AR_tax',
+ disabled => AccountIsPosted,
+ checked => AR_tax) %]
+ [% 'Tax' | $T8 %] <br>
+ [% L.radio_button_tag('AR_include_in_dropdown',
+ value => '',
+ disabled => AccountIsPosted) %]
+ [% 'do not include' | $T8 %]
</td>
<td>
- <input name="AP_amount" type="checkbox" class="checkbox" value="AP_amount"
- [% HTML.escape(AP_amount) %][% DIS %]>
- [% 'Expense/Asset' | $T8 %] <br>
- <input name="AP_paid" type="checkbox" class="checkbox" value="AP_paid"
- [% HTML.escape(AP_paid) %][% DIS %]>
- [% 'Payment' | $T8 %] <br>
- <input name="AP_tax" type="checkbox" class="checkbox" value="AP_tax"
- [% HTML.escape(AP_tax) %][% DIS %]>
- [% 'Tax' | $T8 %]
+ [% L.radio_button_tag('AP_include_in_dropdown',
+ value => 'AP_amount',
+ disabled => AccountIsPosted,
+ checked => AP_amount) %]
+ [% 'Expense/Asset' | $T8 %] <br>
+ [% L.radio_button_tag('AP_include_in_dropdown',
+ value => 'AP_paid',
+ disabled => AccountIsPosted,
+ checked => AP_paid) %]
+ [% 'Payment' | $T8 %] <br>
+ [% L.radio_button_tag('AP_include_in_dropdown',
+ value => 'AP_tax',
+ disabled => AccountIsPosted,
+ checked => AP_tax) %]
+ [% 'Tax' | $T8 %] <br>
+ [% L.radio_button_tag('AP_include_in_dropdown',
+ value => '',
+ disabled => AccountIsPosted) %]
+ [% 'do not include' | $T8 %]
</td>
<td>
<input name="IC_sale" type="checkbox" class="checkbox" value="IC_sale"
<input name="IC_taxpart" type="checkbox" class="checkbox" value="IC_taxpart"
[% HTML.escape(IC_taxpart) %]>
[% 'Tax' | $T8 %]
+ <br><br>
</td>
<td>
<input name=IC_income type=checkbox class=checkbox value="IC_income"
<input name=IC_taxservice type=checkbox class=checkbox value="IC_taxservice"
[% HTML.escape(IC_taxservice) %]>
[% 'Tax' | $T8 %]
+ <br><br>
</td>
</tr>
</table>