summaryrefslogtreecommitdiff
path: root/httemplate/search/report_cust_main.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-03-25 23:45:45 -0700
committerIvan Kohler <ivan@freeside.biz>2013-03-25 23:45:45 -0700
commiteaf1b3660fc8ce4436dae0b2e50545c563c6a8b5 (patch)
tree46438e78093886b32f2331793330ed1d944fbd0e /httemplate/search/report_cust_main.html
parent06e353b743e7be88afa8fce50ea10f27ebb7adef (diff)
add "with postal invoicing" to customer search, RT#14148
Diffstat (limited to 'httemplate/search/report_cust_main.html')
-rwxr-xr-xhttemplate/search/report_cust_main.html20
1 files changed, 19 insertions, 1 deletions
diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html
index 13f9396b9..bac4346cf 100755
--- a/httemplate/search/report_cust_main.html
+++ b/httemplate/search/report_cust_main.html
@@ -184,10 +184,28 @@
</TR>
<TR>
+ <TD ALIGN="right" VALIGN="center"><% mt('With postal mail invoices') |h %></TD>
+ <TD><INPUT TYPE="checkbox" NAME="POST" ID="POST" onClick="POST_changed();"></TD>
+ </TR>
+
+ <TR>
<TD ALIGN="right" VALIGN="center"><% mt('Without postal mail invoices') |h %></TD>
- <TD><INPUT TYPE="checkbox" NAME="no_POST"></TD>
+ <TD><INPUT TYPE="checkbox" NAME="no_POST" ID="no_POST" onClick="no_POST_changed();"></TD>
</TR>
+ <SCRIPT TYPE="text/javascript">
+ function POST_changed() {
+ if ( document.getElementById('POST').checked == true ) {
+ document.getElementById('no_POST').checked = false;
+ }
+ }
+ function no_POST_changed() {
+ if ( document.getElementById('no_POST').checked == true ) {
+ document.getElementById('POST').checked = false;
+ }
+ }
+ </SCRIPT>
+
<TR>
<TH CLASS="background" COLSPAN=2>&nbsp;</TH>
</TR>