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">[% title %]</div>
11 <th align="right" nowrap>[% IF IS_CUSTOMER %]Customer Number[% ELSE %]Vendor Number[% END %]</th>
12 <td><input name="[% IF IS_CUSTOMER %]customer[% ELSE %]vendor[% END %]number" size="35"></td>
16 <th align="right" nowrap>Company Name</th>
17 <td><input name="name" size="35"></td>
21 <th align="right" nowrap>Contact</th>
22 <td><input name="contact" size="35"></td>
26 <th align="right" nowrap>E-mail</th>
27 <td><input name="email" size="35"></td>
30 <th align="right" nowrap>Contact person (surname)</th>
31 <td><input name="cp_name" size="35"></td>
34 <th align="right" nowrap>Billing/shipping address (street)</th>
35 <td><input name="addr_street" size="35"></td>
38 <th align="right" nowrap>Billing/shipping address (zipcode)</th>
39 <td><input name="addr_zipcode" size="35"></td>
42 <th align="right" nowrap>Billing/shipping address (city)</th>
43 <td><input name="addr_city" size="35"></td>
45 [% IF SHOW_BUSINESS_TYPES %]
47 <th align="right" nowrap>[% IF IS_CUSTOMER %]Customer type[% ELSE %]Vendor type[% END %]</th>
49 <select name="business_id"><option value=""></option>
50 [% FOREACH bt = ALL_BUSINESS_TYPES %]<option value="[% HTML.escape(bt.id) %]">[% HTML.escape(bt.description) %]</option>[% END %]
56 [% CUSTOM_VARIABLES_FILTER_CODE %]
61 <input name="status" class="radio" type="radio" value="all" checked> All
62 <input name="status" class="radio" type="radio" value="orphaned"> Orphaned
68 <td><input name="obsolete" class="radio" type="radio" value="all"> All
69 <input name="obsolete" class="radio" type="radio" value="Y"> Obsolete
70 <input name="obsolete" class="radio" type="radio" value="N" checked> Not obsolete
75 <th align="right" nowrap>Include in Report</th>
80 <input name="l_id" id="l_id" type="checkbox" class="checkbox" value="Y">
81 <label for="l_id">ID</label>
84 <input name="l_[% db %]number" id="l_[% db %]number" type="checkbox" class="checkbox" value="Y" checked>
85 <label for="l_[% db %]number">[% IF IS_CUSTOMER %]Customer Number[% ELSE %]Vendor Number[% END %]</label>
88 <input name="l_name" id="l_name" type="checkbox" class="checkbox" value="Y" checked>
89 <label for="l_name">Company Name</label>
92 <input name="l_street" id="l_street" type="checkbox" class="checkbox" value="Y" checked>
93 <label for="l_street">Street</label>
99 <input name="l_contact" id="l_contact" type="checkbox" class="checkbox" value="Y" checked>
100 <label for="l_contact">Contact</label>
103 <input name="l_phone" id="l_phone" type="checkbox" class="checkbox" value="Y" checked>
104 <label for="l_phone">Phone</label>
107 <input name="l_fax" id="l_fax" type="checkbox" class="checkbox" value="Y">
108 <label for="l_fax">Fax</label>
111 <input name="l_zipcode" id="l_zipcode" type="checkbox" class="checkbox" value="Y" checked>
112 <label for="l_zipcode">Zipcode</label>
118 <input name="l_taxnumber" id="l_taxnumber" type="checkbox" class="checkbox" value="Y">
119 <label for="l_taxnumber">Tax Number</label>
122 <input name="l_email" id="l_email" type="checkbox" class="checkbox" value="Y" checked>
123 <label for="l_email">E-mail</label>
126 <input name="l_business" id="l_business" type="checkbox" class="checkbox" value="Y">
127 <label for="l_business">[% IF IS_CUSTOMER %]Customer type[% ELSE %]Vendor type[% END %]</label>
130 <input name="l_city" id="l_city" type="checkbox" class="checkbox" value="Y" checked>
131 <label for="l_city">City</label>
137 <input name="l_invnumber" id="l_invnumber" type="checkbox" class="checkbox" value="Y">
138 <label for="l_invnumber">Invoices</label>
141 <input name="l_ordnumber" id="l_ordnumber" type="checkbox" class="checkbox" value="Y">
142 <label for="l_ordnumber">[% IF IS_CUSTOMER %]Sales Orders[% ELSE %]Purchase Orders[% END %]</label>
145 <input name="l_quonumber" id="l_quonumber" type="checkbox" class="checkbox" value="Y">
146 <label for="l_quonumber">[% IF IS_CUSTOMER %]Quotations[% ELSE %]RFQs[% END %]</label>
152 [% CUSTOM_VARIABLES_INCLUSION_CODE %]
159 <input type="hidden" name="nextsub" value="list_names">
161 <input type="submit" class="submit" name="action" value="Continue">