+ <SCRIPT TYPE="text/javascript">
+ function paydate_year_changed(what) {
+ var value = what.options[what.selectedIndex].value;
+ var month_select = what.form.paydate_month;
+ if ( value == '' ) {
+ month_select.disabled = true;
+ } else {
+ month_select.disabled = false;
+ }
+ }
+ </SCRIPT>
+
+ <TR>
+ <TD ALIGN="right"><% mt('Invoice terms') |h %></TD>
+ <TD>
+ <& /elements/select-terms.html,
+ 'pre_options' => [ '' => emt('all') ],
+ 'empty_value' => 'NULL',
+ &>
+ </TD>
+ </TR>
+
+ <& /elements/tr-input-lessthan_greaterthan.html,
+ label => emt('Current balance'),
+ field => 'current_balance',
+ &>