<FONT SIZE=7>
Customer Search
</FONT>
- <BR>
- <FORM ACTION="cust_main.cgi" METHOD="post">
+ <BR><BR>
+ <FORM ACTION="cust_main.cgi" METHOD="GET">
<INPUT TYPE="checkbox" NAME="last_on" CHECKED> Search for <B>last name</B>:
<INPUT TYPE="text" NAME="last_text">
using search method: <SELECT NAME="last_type">
- <OPTION SELECTED>Fuzzy
+ <OPTION SELECTED>All
+ <OPTION>Fuzzy
+ <OPTION>Substring
<OPTION>Exact
</SELECT>
<P><INPUT TYPE="checkbox" NAME="company_on" CHECKED> Search for <B>company</B>:
<INPUT TYPE="text" NAME="company_text">
using search methods: <SELECT NAME="company_type">
- <OPTION SELECTED>Fuzzy
+ <OPTION SELECTED>All
+ <OPTION>Fuzzy
+ <OPTION>Substring
<OPTION>Exact
</SELECT>
<HR>Explanation of search methods:
<UL>
+ <LI><B>All</B> - Try all search methods.
<LI><B>Fuzzy</B> - Searches for matches that are close to your text.
+ <LI><B>Substring</B> - Searches for matches that contain your text.
<LI><B>Exact</B> - Finds exact matches only, but much faster than the other search methods.
</UL>
</BODY>
</HTML>
+<%init>
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('List customers');
+
+</%init>