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 %]<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 <th align="right" nowrap><translate>Contact person (surname)</translate></th>
31 <td><input name="cp_name" size="35"></td>
34 <th align="right" nowrap><translate>Billing/shipping address (street)</translate></th>
35 <td><input name="addr_street" size="35"></td>
38 <th align="right" nowrap><translate>Billing/shipping address (zipcode)</translate></th>
39 <td><input name="addr_zipcode" size="35"></td>
42 <th align="right" nowrap><translate>Billing/shipping address (city)</translate></th>
43 <td><input name="addr_city" size="35"></td>
45 [% IF SHOW_BUSINESS_TYPES %]
47 <th align="right" nowrap>[% IF IS_CUSTOMER %]<translate>Customer type</translate>[% ELSE %]<translate>Vendor type</translate>[% 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> <translate>All</translate>
62 <input name="status" class="radio" type="radio" value="orphaned"> <translate>Orphaned</translate>
68 <td><input name="obsolete" class="radio" type="radio" value="all"> <translate>All</translate>
69 <input name="obsolete" class="radio" type="radio" value="Y"> <translate>Obsolete</translate>
70 <input name="obsolete" class="radio" type="radio" value="N" checked> <translate>Not obsolete</translate>
75 <th align="right" nowrap><translate>Include in Report</translate></th>
80 <input name="l_id" id="l_id" type="checkbox" class="checkbox" value="Y">
81 <label for="l_id"><translate>ID</translate></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 %]<translate>Customer Number</translate>[% ELSE %]<translate>Vendor Number</translate>[% END %]</label>
88 <input name="l_name" id="l_name" type="checkbox" class="checkbox" value="Y" checked>
89 <label for="l_name"><translate>Company Name</translate></label>
92 <input name="l_street" id="l_street" type="checkbox" class="checkbox" value="Y" checked>
93 <label for="l_street"><translate>Street</translate></label>
99 <input name="l_contact" id="l_contact" type="checkbox" class="checkbox" value="Y" checked>
100 <label for="l_contact"><translate>Contact</translate></label>
103 <input name="l_phone" id="l_phone" type="checkbox" class="checkbox" value="Y" checked>
104 <label for="l_phone"><translate>Phone</translate></label>
107 <input name="l_fax" id="l_fax" type="checkbox" class="checkbox" value="Y">
108 <label for="l_fax"><translate>Fax</translate></label>
111 <input name="l_zipcode" id="l_zipcode" type="checkbox" class="checkbox" value="Y" checked>
112 <label for="l_zipcode"><translate>Zipcode</translate></label>
118 <input name="l_taxnumber" id="l_taxnumber" type="checkbox" class="checkbox" value="Y">
119 <label for="l_taxnumber"><translate>Tax Number</translate></label>
122 <input name="l_email" id="l_email" type="checkbox" class="checkbox" value="Y" checked>
123 <label for="l_email"><translate>E-mail</translate></label>
126 <input name="l_business" id="l_business" type="checkbox" class="checkbox" value="Y">
127 <label for="l_business">[% IF IS_CUSTOMER %]<translate>Customer type</translate>[% ELSE %]<translate>Vendor type</translate>[% END %]</label>
130 <input name="l_city" id="l_city" type="checkbox" class="checkbox" value="Y" checked>
131 <label for="l_city"><translate>City</translate></label>
137 <input name="l_invnumber" id="l_invnumber" type="checkbox" class="checkbox" value="Y">
138 <label for="l_invnumber"><translate>Invoices</translate></label>
141 <input name="l_ordnumber" id="l_ordnumber" type="checkbox" class="checkbox" value="Y">
142 <label for="l_ordnumber">[% IF IS_CUSTOMER %]<translate>Sales Orders</translate>[% ELSE %]<translate>Purchase Orders</translate>[% END %]</label>
145 <input name="l_quonumber" id="l_quonumber" type="checkbox" class="checkbox" value="Y">
146 <label for="l_quonumber">[% IF IS_CUSTOMER %]<translate>Quotations</translate>[% ELSE %]<translate>RFQs</translate>[% 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="<translate>Continue</translate>">