1 [% USE HTML %]<body onload="fokus()">
3 <form method="post" action="ct.pl" name="Form">
5 <input type="hidden" name="db" value="[% HTML.escape(db) %]">
7 <div class="listtop" width="100%">[% title %]</div>
11 <th align="right" nowrap>[% IF IS_CUSTOMER %]<translate>Customer Number</translate>[% ELSE %]<translate>Vendor Number</translate>[% END %]</th>
12 <td><input name="[% IF IS_CUSTOMER %]customer[% ELSE %]vendor[% END %]number" size="35"></td>
16 <th align="right" nowrap><translate>Company Name</translate></th>
17 <td><input name="name" size="35"></td>
21 <th align="right" nowrap><translate>Contact</translate></th>
22 <td><input name="contact" size="35"></td>
26 <th align="right" nowrap><translate>E-mail</translate></th>
27 <td><input name="email" size="35"></td>
30 [% IF SHOW_BUSINESS_TYPES %]
32 <th align="right" nowrap>[% IF IS_CUSTOMER %]<translate>Customer type</translate>[% ELSE %]<translate>Vendor type</translate>[% END %]</th>
34 <select name="business_id"><option value=""></option>
35 [% FOREACH bt = ALL_BUSINESS_TYPES %]<option value="[% HTML.escape(bt.id) %]">[% HTML.escape(bt.description) %]</option>[% END %]
41 [% CUSTOM_VARIABLES_FILTER_CODE %]
46 <input name="status" class="radio" type="radio" value="all" checked> <translate>All</translate>
47 <input name="status" class="radio" type="radio" value="orphaned"> <translate>Orphaned</translate>
53 <td><input name="obsolete" class="radio" type="radio" value="all"> <translate>All</translate>
54 <input name="obsolete" class="radio" type="radio" value="Y"> <translate>Obsolete</translate>
55 <input name="obsolete" class="radio" type="radio" value="N" checked> <translate>Not obsolete</translate>
60 <th align="right" nowrap><translate>Include in Report</translate></th>
65 <input name="l_id" id="l_id" type="checkbox" class="checkbox" value="Y">
66 <label for="l_id"><translate>ID</translate></label>
69 <input name="l_[% db %]number" id="l_[% db %]number" type="checkbox" class="checkbox" value="Y">
70 <label for="l_[% db %]number">[% IF IS_CUSTOMER %]<translate>Customer Number</translate>[% ELSE %]<translate>Vendor Number</translate>[% END %]</label>
73 <input name="l_name" id="l_name" type="checkbox" class="checkbox" value="Y" checked>
74 <label for="l_name"><translate>Company Name</translate></label>
77 <input name="l_address" id="l_address" type="checkbox" class="checkbox" value="Y">
78 <label for="l_address"><translate>Address</translate></label>
84 <input name="l_contact" id="l_contact" type="checkbox" class="checkbox" value="Y" checked>
85 <label for="l_contact"><translate>Contact</translate></label>
88 <input name="l_phone" id="l_phone" type="checkbox" class="checkbox" value="Y" checked>
89 <label for="l_phone"><translate>Phone</translate></label>
92 <input name="l_fax" id="l_fax" type="checkbox" class="checkbox" value="Y">
93 <label for="l_fax"><translate>Fax</translate></label>
96 <input name="l_email" id="l_email" type="checkbox" class="checkbox" value="Y" checked>
97 <label for="l_email"><translate>E-mail</translate></label>
103 <input name="l_taxnumber" id="l_taxnumber" type="checkbox" class="checkbox" value="Y">
104 <label for="l_taxnumber"><translate>Tax Number</translate></label>
107 <input name="l_sic_code" id="l_sic_code" type="checkbox" class="checkbox" value="Y">
108 <label for="l_sic_code"><translate>SIC</translate></label>
111 <input name="l_business" id="l_business" type="checkbox" class="checkbox" value="Y">
112 <label for="l_business">[% IF IS_CUSTOMER %]<translate>Customer type</translate>[% ELSE %]<translate>Vendor type</translate>[% END %]</label>
118 <input name="l_invnumber" id="l_invnumber" type="checkbox" class="checkbox" value="Y">
119 <label for="l_invnumber"><translate>Invoices</translate></label>
122 <input name="l_ordnumber" id="l_ordnumber" type="checkbox" class="checkbox" value="Y">
123 <label for="l_ordnumber">[% IF IS_CUSTOMER %]<translate>Sales Orders</translate>[% ELSE %]<translate>Purchase Orders</translate>[% END %]</label>
126 <input name="l_quonumber" id="l_quonumber" type="checkbox" class="checkbox" value="Y">
127 <label for="l_quonumber">[% IF IS_CUSTOMER %]<translate>Quotations</translate>[% ELSE %]<translate>RFQs</translate>[% END %]</label>
131 [% CUSTOM_VARIABLES_INCLUSION_CODE %]
138 <input type="hidden" name="nextsub" value="list_names">
140 <input type="submit" class="submit" name="action" value="<translate>Continue</translate>">