1 |
1 |
[% USE HTML %]<body onLoad="fokus()">
|
2 |
|
<table width=100%>
|
3 |
|
<tr>
|
4 |
|
<th class=listtop>[% title %]</th>
|
5 |
|
</tr>
|
6 |
|
</table>
|
7 |
|
|
8 |
|
|
9 |
|
<form method=post name="ct" action=[% script %] onKeyUp="highlight(event)" onClick="highlight(event)">
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
<ul id="maintab" class="shadetabs">
|
14 |
|
<li class="selected"><a href="#" rel="billing">Rechnungsadresse</a></li>
|
15 |
|
<li><a href="#" rel="shipto">Lieferadresse</a></li>
|
16 |
|
<li><a href="#" rel="contacts">Ansprechpartner</a></li>
|
17 |
|
<li><a href="#" rel="deliveries">Lieferungen</a></li>
|
18 |
|
<li><a href="#" rel="vcnotes">Bemerkungen</a></li>
|
19 |
|
[%- IF CUSTOM_VARIABLES.size %]
|
20 |
|
<li><a href="#" rel="custom_variables">Benutzerdefinierte Variablen</a></li>
|
21 |
|
[%- END %]
|
22 |
|
</ul>
|
23 |
|
|
24 |
|
<div class="tabcontentstyle">
|
25 |
|
|
26 |
|
<div id="billing" class="tabcontent">
|
27 |
|
|
28 |
|
<table width=100%>
|
29 |
|
<tr height="5"></tr>
|
30 |
|
<tr>
|
31 |
|
[%- IF is_customer %]
|
32 |
|
<th align=right nowrap>Kundennummer</th>
|
33 |
|
<td><input name="customernumber" size=35 value="[% customernumber %]"></td>
|
34 |
|
[% ELSE %]
|
35 |
|
<th align=right nowrap>Lieferantennummer</th>
|
36 |
|
<td><input name="vendornumber" size=35 value="[% vendornumber %]"></td>
|
37 |
|
[% END %]
|
38 |
|
</tr>
|
39 |
|
<tr>
|
40 |
|
<th align=right nowrap>Anrede</th>
|
41 |
|
<td>
|
42 |
|
<input id=greeting name=greeting size=30 value="[% greeting %]">
|
43 |
|
[%- INCLUDE generic/multibox.html
|
44 |
|
name = 'selected_company_greeting',
|
45 |
|
DATA = MB_COMPANY_GREETINGS,
|
46 |
|
show_empty = 1,
|
47 |
|
id_key = 'id',
|
48 |
|
label_key = 'description',
|
49 |
|
-%]
|
50 |
|
</td>
|
51 |
|
</tr>
|
52 |
|
<tr>
|
53 |
|
<th align=right nowrap>Firmenname</th>
|
54 |
|
<td><input name=name size=35 maxlength=75 value="[% name %]"></td>
|
55 |
|
</tr>
|
56 |
|
<tr>
|
57 |
|
<th align=right nowrap>Abteilung</th>
|
58 |
|
<td><input name=department_1 size=16 maxlength=75 value="[% department_1 %]">
|
59 |
|
<input name=department_2 size=16 maxlength=75 value="[% department_2 %]"></td>
|
60 |
|
</tr>
|
61 |
|
<tr>
|
62 |
|
<th align=right nowrap>Stra?e</th>
|
63 |
|
<td><input name=street size=35 maxlength=75 value="[% street %]"></td>
|
64 |
|
</tr>
|
65 |
|
<tr>
|
66 |
|
<th align=right nowrap>PLZ/Stadt</th>
|
67 |
|
<td><input name=zipcode size=5 maxlength=10 value="[% zipcode %]">
|
68 |
|
<input name=city size=30 maxlength=75 value="[% city %]"></td>
|
69 |
|
</tr>
|
70 |
|
<tr>
|
71 |
|
<th align=right nowrap>Land</th>
|
72 |
|
<td><input name=country size=35 maxlength=75 value="[% country %]"></td>
|
73 |
|
</tr>
|
74 |
|
<tr>
|
75 |
|
<th align=right nowrap>Kontakt</th>
|
76 |
|
<td><input name=contact size=28 maxlength=75 value="[% contact %]"></td>
|
77 |
|
</tr>
|
78 |
|
<tr>
|
79 |
|
<th align=right nowrap>Telefon</th>
|
80 |
|
<td><input name=phone size=30 maxlength=30 value="[% phone %]"></td>
|
81 |
|
</tr>
|
82 |
|
<tr>
|
83 |
|
<th align=right nowrap>Fax</th>
|
84 |
|
<td><input name=fax size=30 maxlength=30 value="[% fax %]"></td>
|
85 |
|
</tr>
|
86 |
|
<tr>
|
87 |
|
<th align=right nowrap>eMail</th>
|
88 |
|
<td><input name=email size=45 value="[% email %]"></td>
|
89 |
|
</tr>
|
90 |
|
<tr>
|
91 |
|
<th align=right nowrap>Homepage</th>
|
92 |
|
<td><input name=homepage size=45 value="[% homepage %]"></td>
|
93 |
|
</tr>
|
94 |
|
</table>
|
95 |
|
<table>
|
96 |
|
<tr>
|
97 |
|
<th align=right>Kreditlimit</th>
|
98 |
|
<td><input name=creditlimit size=9 value="[% LxERP.format_amount(creditlimit, 0) %]"></td>
|
99 |
|
<input type="hidden" name="terms" value="[% terms %]">
|
100 |
|
<th align=right>Zahlungskonditionen</th>
|
101 |
|
<td>
|
102 |
|
[%- INCLUDE generic/multibox.html
|
103 |
|
name = 'payment_id',
|
104 |
|
DATA = payment_terms,
|
105 |
|
show_empty = 1,
|
106 |
|
id_key = 'id',
|
107 |
|
label_key = 'description',
|
108 |
|
-%]
|
109 |
|
</td>
|
110 |
|
<th align=right>Rabatt</th>
|
111 |
|
<td><input name=discount size=4 value="[% LxERP.format_amount(discount) %]">
|
112 |
|
%</td>
|
113 |
|
</tr>
|
114 |
|
<tr>
|
115 |
|
<th align=right>Steuernummer</th>
|
116 |
|
<td><input name=taxnumber size=20 value="[% taxnumber %]"></td>
|
117 |
|
<th align=right>USt-IdNr.</th>
|
118 |
|
<td><input name="ustid" maxlength="14" size="20" value="[% ustid %]"></td>
|
119 |
|
[%- IF is_sustomer %]
|
120 |
|
<th align=right>KNr. beim Kunden</th>
|
121 |
|
<td><input name=c_vendor_id size=10 value="[% c_vendor_id %]"></td>
|
122 |
|
[%- ELSE %]
|
123 |
|
<th align=right>Kundennummer</th>
|
124 |
|
<td><input name=v_customer_id size=10 value="[% v_customer_id %]"></td>
|
125 |
|
[%- END %]
|
126 |
|
</tr>
|
127 |
|
<tr>
|
128 |
|
<th align=right>Kontonummer</th>
|
129 |
|
<td><input name="account_number" size="10" maxlength="15" value="[% account_number %]"></td>
|
130 |
|
<th align=right>Bankleitzahl</th>
|
131 |
|
<td><input name="bank_code" size="10" maxlength="10" value="[% bank_code %]"></td>
|
132 |
|
<th align=right>Bank</th>
|
133 |
|
<td><input name=bank size=30 value="[% bank %]"></td>
|
134 |
|
</tr>
|
135 |
|
<tr>
|
136 |
|
<th align=right>Kunden-/Lieferantentyp</th>
|
137 |
|
<td>
|
138 |
|
[%- INCLUDE generic/multibox.html
|
139 |
|
name = 'business',
|
140 |
|
DATA = all_business,
|
141 |
|
show_empty = 1,
|
142 |
|
id_key = 'id',
|
143 |
|
label_key = 'description',
|
144 |
|
-%]
|
145 |
|
</td>
|
146 |
|
<th align=right>Sprache</th>
|
147 |
|
<td>
|
148 |
|
[%- INCLUDE generic/multibox.html
|
149 |
|
name = 'language_id',
|
150 |
|
DATA = languages,
|
151 |
|
show_empty = 1,
|
152 |
|
id_key = 'id',
|
153 |
|
label_key = 'description',
|
154 |
|
-%]
|
155 |
|
</td>
|
156 |
|
|
157 |
|
[%- IF is_customer %]
|
158 |
|
<th align=right>Preisgruppe</th>
|
159 |
|
<td>
|
160 |
|
[%- IF is_customer %]
|
161 |
|
[%- INCLUDE generic/multibox.html
|
162 |
|
name = 'klass',
|
163 |
|
DATA = all_pricegroup,
|
164 |
|
show_empty = 1,
|
165 |
|
id_key = 'id',
|
166 |
|
label_key = 'pricegroup',
|
167 |
|
-%]
|
168 |
|
[% END %]
|
169 |
|
</td>
|
170 |
|
[%- END %]
|
171 |
|
</tr>
|
172 |
|
<tr>
|
173 |
|
<td align=right>Ung?ltig</td>
|
174 |
|
<td><input name=obsolete class=checkbox type=checkbox value=1 [% IF obsolete %]checked[% END %]></td>
|
175 |
|
</tr>
|
176 |
|
<tr>
|
177 |
|
<th align=right>Steuersatz</th>
|
178 |
|
<td>
|
179 |
|
[%- INCLUDE generic/multibox.html
|
180 |
|
name = 'taxzone_id',
|
181 |
|
DATA = ALL_TAXZONES,
|
182 |
|
show_empty = 1,
|
183 |
|
id_key = 'id',
|
184 |
|
label_key = 'description',
|
185 |
|
-%]
|
186 |
|
</td>
|
187 |
|
[%- IF is_customer %]
|
188 |
|
<th align="right">Verk?ufer/in</th>
|
189 |
|
<td>
|
190 |
|
[%- INCLUDE generic/multibox.html
|
191 |
|
name = 'salesman_id',
|
192 |
|
DATA = ALL_SALESMEN,
|
193 |
|
show_empty = 1,
|
194 |
|
id_key = 'id',
|
195 |
|
label_sub = 'salesman_label',
|
196 |
|
-%]
|
197 |
|
</td>
|
198 |
|
[%- END %]
|
199 |
|
</tr>
|
200 |
|
</table>
|
201 |
|
<table>
|
202 |
|
<tr>
|
203 |
|
<th align=left nowrap>Bemerkungen</th>
|
204 |
|
</tr>
|
205 |
|
<tr>
|
206 |
|
<td><textarea name=notes rows=3 cols=60 wrap=soft>[% notes %]</textarea></td>
|
207 |
|
</tr>
|
208 |
|
|
209 |
|
</table>
|
210 |
|
</td>
|
211 |
|
</tr>
|
212 |
|
</table>
|
213 |
|
<br style="clear: left" /></div>
|
214 |
|
|
215 |
|
<div id="shipto" class="tabcontent">
|
216 |
|
|
217 |
|
<table width=100%>
|
218 |
|
<tr>
|
219 |
|
<th align=right>Lieferadresse</th>
|
220 |
|
<td>
|
221 |
|
[%- INCLUDE generic/multibox.html
|
222 |
|
name = 'shipto_id',
|
223 |
|
id = 'shipto_id',
|
224 |
|
DATA = SHIPTO,
|
225 |
|
onChange = "get_shipto(['shipto_id__' + this.value], ['shiptoname','shiptodepartment_1', 'shiptodepartment_2','shiptostreet','shiptozipcode','shiptocity','shiptocountry','shiptocontact','shiptophone','shiptofax','shiptoemail'])",
|
226 |
|
id_key = 'shipto_id',
|
227 |
|
label_sub = 'shipto_label',
|
228 |
|
label_key = 'shipto_label',
|
229 |
|
-%]
|
230 |
|
</td>
|
231 |
|
</tr>
|
232 |
|
<tr>
|
233 |
|
<th align=right nowrap>Firmenname</th>
|
234 |
|
<td><input id=shiptoname name=shiptoname size=35 maxlength=75 value="[% shiptoname %]"></td>
|
235 |
|
</tr>
|
236 |
|
<tr>
|
237 |
|
<th align=right nowrap>Abteilung</th>
|
238 |
|
<td><input id=shiptodepartment_1 name=shiptodepartment_1 size=16 maxlength=75 value="[% shiptodepartment_1 %]">
|
239 |
|
<input id=shiptodepartment_2 name=shiptodepartment_2 size=16 maxlength=75 value="[% shiptodepartment_2 %]"></td>
|
240 |
|
</tr>
|
241 |
|
<tr>
|
242 |
|
<th align=right nowrap>Stra?e</th>
|
243 |
|
<td><input id=shiptostreet name=shiptostreet size=35 maxlength=75 value="[% shiptostreet %]"></td>
|
244 |
|
</tr>
|
245 |
|
<tr>
|
246 |
|
<th align=right nowrap>PLZ/Stadt</th>
|
247 |
|
<td><input id=shiptozipcode name=shiptozipcode size=5 maxlength=75 value="[% shiptozipcode %]">
|
248 |
|
<input id=shiptocity name=shiptocity size=30 maxlength=75 value="[% shiptocity %]"></td>
|
249 |
|
</tr>
|
250 |
|
<tr>
|
251 |
|
<th align=right nowrap>Land</th>
|
252 |
|
<td><input id=shiptocountry name=shiptocountry size=35 maxlength=75 value="[% shiptocountry %]"></td>
|
253 |
|
</tr>
|
254 |
|
<tr>
|
255 |
|
<th align=right nowrap>Kontakt</th>
|
256 |
|
<td><input id=shiptocontact name=shiptocontact size=30 maxlength=75 value="[% shiptocontact %]"></td>
|
257 |
|
</tr>
|
258 |
|
<tr>
|
259 |
|
<th align=right nowrap>Telefon</th>
|
260 |
|
<td><input id=shiptophone name=shiptophone size=30 maxlength=30 value="[% shiptophone %]"></td>
|
261 |
|
</tr>
|
262 |
|
<tr>
|
263 |
|
<th align=right nowrap>Fax</th>
|
264 |
|
<td><input id=shiptofax name=shiptofax size=30 maxlength=30 value="[% shiptofax %]"></td>
|
265 |
|
</tr>
|
266 |
|
<tr>
|
267 |
|
<th align=right nowrap>eMail</th>
|
268 |
|
<td><input id=shiptoemail name=shiptoemail size=45 value="[% shiptoemail %]"></td>
|
269 |
|
</tr>
|
270 |
|
<tr>
|
271 |
|
<td> </td>
|
272 |
|
</tr>
|
273 |
|
<tr>
|
274 |
|
<td> </td>
|
275 |
|
</tr>
|
276 |
2 |
|
|
3 |
<div class="listtop">[% title %]</div>
|
|
4 |
|
|
5 |
<form method="post" name="ct" action="ct.pl" onKeyUp="highlight(event)" onClick="highlight(event)">
|
|
6 |
|
|
7 |
<ul id="maintab" class="shadetabs">
|
|
8 |
<li class="selected"><a href="#" rel="billing">Rechnungsadresse</a></li>
|
|
9 |
<li><a href="#" rel="shipto">Lieferadresse</a></li>
|
|
10 |
<li><a href="#" rel="contacts">Ansprechpartner</a></li>
|
|
11 |
<li><a href="#" rel="deliveries">Lieferungen</a></li>
|
|
12 |
<li><a href="#" rel="vcnotes">Bemerkungen</a></li>
|
|
13 |
[%- IF CUSTOM_VARIABLES.size %]
|
|
14 |
<li><a href="#" rel="custom_variables">Benutzerdefinierte Variablen</a></li>
|
|
15 |
[%- END %]
|
|
16 |
</ul>
|
|
17 |
|
|
18 |
<div class="tabcontentstyle">
|
|
19 |
|
|
20 |
<div id="billing" class="tabcontent">
|
|
21 |
|
|
22 |
<table width="100%">
|
|
23 |
<tr height="5"></tr>
|
|
24 |
<tr>
|
|
25 |
[%- IF is_customer %]
|
|
26 |
<th align="right" nowrap>Kundennummer</th>
|
|
27 |
<td><input name="customernumber" size="35" value="[% HTML.escape(customernumber) %]"></td>
|
|
28 |
[%- ELSE %]
|
|
29 |
<th align="right" nowrap>Lieferantennummer</th>
|
|
30 |
<td><input name="vendornumber" size="35" value="[% HTML.escape(vendornumber) %]"></td>
|
|
31 |
[%- END %]
|
|
32 |
</tr>
|
|
33 |
|
|
34 |
<tr>
|
|
35 |
<th align="right" nowrap>Anrede</th>
|
|
36 |
<td>
|
|
37 |
<input id="greeting" name="greeting" size="30" value="[% HTML.escape(greeting) %]">
|
|
38 |
[%- INCLUDE generic/multibox.html
|
|
39 |
name = 'selected_company_greeting',
|
|
40 |
DATA = MB_COMPANY_GREETINGS,
|
|
41 |
show_empty = 1,
|
|
42 |
id_key = 'id',
|
|
43 |
label_key = 'description',
|
|
44 |
-%]
|
|
45 |
</td>
|
|
46 |
</tr>
|
|
47 |
|
|
48 |
<tr>
|
|
49 |
<th align="right" nowrap>Firmenname</th>
|
|
50 |
<td><input name="name" size="35" maxlength="75" value="[% name %]"></td>
|
|
51 |
</tr>
|
|
52 |
|
|
53 |
<tr>
|
|
54 |
<th align="right" nowrap>Abteilung</th>
|
|
55 |
<td>
|
|
56 |
<input name="department_1" size="16" maxlength="75" value="[% HTML.escape(department_1) %]">
|
|
57 |
<input name="department_2" size="16" maxlength="75" value="[% HTML.escape(department_2) %]">
|
|
58 |
</td>
|
|
59 |
</tr>
|
|
60 |
|
|
61 |
<tr>
|
|
62 |
<th align="right" nowrap>Stra?e</th>
|
|
63 |
<td><input name="street" size="35" maxlength="75" value="[% HTML.escape(street) %]"></td>
|
|
64 |
</tr>
|
|
65 |
|
|
66 |
<tr>
|
|
67 |
<th align="right" nowrap>PLZ/Stadt</th>
|
|
68 |
<td>
|
|
69 |
<input name="zipcode" size="5" maxlength="10" value="[% HTML.escape(zipcode) %]">
|
|
70 |
<input name="city" size="30" maxlength="75" value="[% HTML.escape(city) %]">
|
|
71 |
</td>
|
|
72 |
</tr>
|
|
73 |
|
|
74 |
<tr>
|
|
75 |
<th align="right" nowrap>Land</th>
|
|
76 |
<td><input name="country" size="35" maxlength="75" value="[% HTML.escape(country) %]"></td>
|
|
77 |
</tr>
|
|
78 |
|
|
79 |
<tr>
|
|
80 |
<th align="right" nowrap>Kontakt</th>
|
|
81 |
<td><input name="contact" size="28" maxlength="75" value="[% HTML.escape(contact) %]"></td>
|
|
82 |
</tr>
|
|
83 |
|
|
84 |
<tr>
|
|
85 |
<th align="right" nowrap>Telefon</th>
|
|
86 |
<td><input name="phone" size="30" maxlength="30" value="[% HTML.escape(phone) %]"></td>
|
|
87 |
</tr>
|
|
88 |
|
|
89 |
<tr>
|
|
90 |
<th align="right" nowrap>Fax</th>
|
|
91 |
<td><input name="fax" size="30" maxlength="30" value="[% HTML.escape(fax) %]"></td>
|
|
92 |
</tr>
|
|
93 |
|
|
94 |
<tr>
|
|
95 |
<th align="right" nowrap>eMail</th>
|
|
96 |
<td><input name="email" size="45" value="[% HTML.escape(email) %]"></td>
|
|
97 |
</tr>
|
|
98 |
|
|
99 |
<tr>
|
|
100 |
<th align="right" nowrap>Homepage</th>
|
|
101 |
<td><input name="homepage" size="45" value="[% HTML.escape(homepage) %]"></td>
|
|
102 |
</tr>
|
277 |
103 |
</table>
|
278 |
|
<br style="clear: left" /></div>
|
279 |
|
|
280 |
|
<div id="contacts" class="tabcontent">
|
281 |
|
<table>
|
282 |
|
<tr>
|
283 |
|
<td colspan=3>
|
284 |
|
<input type=hidden name=cp_id value=[% cp_id %]>
|
285 |
|
<table>
|
286 |
|
<tr>
|
287 |
|
<th align=right>Ansprechpartner</th>
|
288 |
|
<td>
|
289 |
|
[%- INCLUDE generic/multibox.html
|
290 |
|
name = 'cp_id',
|
291 |
|
id = 'cp_id',
|
292 |
|
DATA = CONTACTS,
|
293 |
|
onChange = "get_contact(['cp_id__' + this.value], ['cp_name', 'cp_greeting', 'cp_title', 'cp_givenname', 'cp_phone1', 'cp_phone2', 'cp_email', 'cp_abteilung', 'cp_fax', 'cp_mobile1', 'cp_mobile2', 'cp_satphone', 'cp_satfax', 'cp_project', 'cp_privatphone', 'cp_privatemail', 'cp_birthday'])",
|
294 |
|
id_key = 'cp_id',
|
295 |
|
label_key = 'cp_name',
|
296 |
|
-%]
|
297 |
|
</td>
|
298 |
|
</tr>
|
299 |
|
<tr>
|
300 |
|
<th align=left nowrap>Anrede</th>
|
301 |
|
<td>
|
302 |
|
<input id=cp_greeting name=cp_greeting size=40 maxlength=75 value="[% cp_greeting %]">
|
303 |
|
[%- INCLUDE generic/multibox.html
|
304 |
|
name = 'selected_cp_greeting',
|
305 |
|
DATA = MB_GREETINGS,
|
306 |
|
show_empty = 1,
|
307 |
|
id_key = 'id',
|
308 |
|
label_key = 'description',
|
309 |
|
-%]
|
310 |
|
</td>
|
311 |
|
</tr>
|
312 |
|
<tr>
|
313 |
|
<th align=left nowrap>Titel</th>
|
314 |
|
<td>
|
315 |
|
<input id=cp_title name=cp_title size=40 maxlength=75 value="[% cp_title %]">
|
316 |
|
[%- INCLUDE generic/multibox.html
|
317 |
|
name = 'selected_cp_title',
|
318 |
|
DATA = MB_TITLES,
|
319 |
|
show_empty = 1,
|
320 |
|
id_key = 'id',
|
321 |
|
label_key = 'description',
|
322 |
|
-%]
|
323 |
|
</td>
|
324 |
|
</tr>
|
325 |
|
<tr>
|
326 |
|
<th align=left nowrap>Abteilung</th>
|
327 |
|
<td><input id=cp_abteilung name=cp_abteilung size=40 value="[% cp_abteilung %]">
|
328 |
|
[%- INCLUDE generic/multibox.html
|
329 |
|
name = 'selected_cp_abteilung',
|
330 |
|
DATA = MB_DEPARTMENT,
|
331 |
|
show_empty = 1,
|
332 |
|
id_key = 'id',
|
333 |
|
label_key = 'description',
|
334 |
|
-%]
|
335 |
|
</td>
|
336 |
|
</tr>
|
337 |
|
<tr>
|
338 |
|
<th align=left nowrap>Vorname</th>
|
339 |
|
<td><input id="cp_givenname" name="cp_givenname" size="40" maxlength="75" value="[% cp_givenname %]"></td>
|
340 |
|
</tr>
|
341 |
|
<tr>
|
342 |
|
<th align=left nowrap>Name</th>
|
343 |
|
<td><input id="cp_name" name="cp_name" size="40" maxlength="75" value="[% cp_name %]"></td>
|
344 |
|
</tr>
|
345 |
|
<tr>
|
346 |
|
<th align=left nowrap>Telefon 1 </th>
|
347 |
|
<td><input id="cp_phone1" name="cp_phone1" size="40" maxlength="75" value="[% cp_phone1 %]"></td>
|
348 |
|
</tr>
|
349 |
|
<tr>
|
350 |
|
<th align=left nowrap>Telefon 2</th>
|
351 |
|
<td><input id="cp_phone2" name="cp_phone2" size="40" maxlength="75" value="[% cp_phone2 %]"></td>
|
352 |
|
</tr>
|
353 |
|
<tr>
|
354 |
|
<th align=left nowrap>Fax</th>
|
355 |
|
<td><input id=cp_fax name=cp_fax size=40 value="[% cp_fax %]"></td>
|
356 |
|
</tr>
|
357 |
|
<tr>
|
358 |
|
<th align=left nowrap>Mobile 1</th>
|
359 |
|
<td><input id=cp_mobile1 name=cp_mobile1 size=40 value="[% cp_mobile1 %]"></td>
|
360 |
|
</tr>
|
361 |
|
<tr>
|
362 |
|
<th align=left nowrap>Mobile 2</th>
|
363 |
|
<td><input id=cp_mobile2 name=cp_mobile2 size=40 value="[% cp_mobile2 %]"></td>
|
364 |
|
</tr>
|
365 |
|
<tr>
|
366 |
|
<th align=left nowrap>Sat. Tel.</th>
|
367 |
|
<td><input id=cp_satphone name=cp_satphone size=40 value="[% cp_satphone %]"></td>
|
368 |
|
</tr>
|
369 |
|
<tr>
|
370 |
|
<th align=left nowrap>Sat. Fax</th>
|
371 |
|
<td><input id=cp_satfax name=cp_satfax size=40 value="[% cp_satfax %]"></td>
|
372 |
|
</tr>
|
373 |
|
<tr>
|
374 |
|
<th align=left nowrap>Projekt</th>
|
375 |
|
<td><input id=cp_project name=cp_project size=40 value="[% cp_project %]"></td>
|
376 |
|
</tr>
|
377 |
|
<tr>
|
378 |
|
<th align=left nowrap>eMail</th>
|
379 |
|
<td><input id=cp_email name=cp_email size=40 value="[% cp_email %]"></td>
|
380 |
|
</tr>
|
381 |
|
<tr>
|
382 |
|
<th align=left nowrap>Privates Tel.</th>
|
383 |
|
<td><input id=cp_privatphone name=cp_privatphone size=40 value="[% cp_privatphone %]"></td>
|
384 |
|
</tr>
|
385 |
|
<tr>
|
386 |
|
<th align=left nowrap>Private eMail</th>
|
387 |
|
<td><input id=cp_privatemail name=cp_privatemail size=40 value="[% cp_privatemail %]"></td>
|
388 |
|
</tr>
|
389 |
|
<tr>
|
390 |
|
<th align=left nowrap>Geburtstag</th>
|
391 |
|
<td><input id=cp_birthday name=cp_birthday size=40 value="[% cp_birthday %]"></td>
|
392 |
|
</tr>
|
393 |
|
|
394 |
|
</table>
|
395 |
|
</td>
|
396 |
|
</tr>
|
397 |
|
<tr height="5"></tr>
|
398 |
|
<tr>
|
399 |
|
<th align=right nowrap>Bcc</th>
|
400 |
|
<td><input name=bcc size=35 value="[% bcc %]"></td>
|
401 |
|
</tr>
|
402 |
|
</table>
|
403 |
|
</td>
|
404 |
|
</tr>
|
405 |
|
<tr>
|
406 |
|
<td>
|
407 |
|
|
408 |
|
<br style="clear: left" /></div>
|
409 |
|
<div id="deliveries" class="tabcontent">
|
410 |
|
<table>
|
411 |
|
<tr>
|
412 |
|
<th align=right>Lieferadresse</th>
|
|
104 |
|
|
105 |
<table>
|
|
106 |
<tr>
|
|
107 |
<th align="right">Kreditlimit</th>
|
|
108 |
<td><input name="creditlimit" size="9" value="[% LxERP.format_amount(creditlimit, 0) %]"></td>
|
|
109 |
<input type="hidden" name="terms" value="[% HTML.escape(terms) %]">
|
|
110 |
<th align="right">Zahlungskonditionen</th>
|
413 |
111 |
<td>
|
414 |
|
[%- INCLUDE generic/multibox.html
|
415 |
|
name = 'delivery_id',
|
416 |
|
id = 'delivery_id',
|
417 |
|
DATA = SHIPTO,
|
418 |
|
onChange = "get_delivery(['shipto_id__' + this.value, 'from__' + from.value, 'to__' + to.value, 'id__' + cvid.value, 'db__' + db.value], ['delivery'])",
|
419 |
|
id_key = 'shipto_id',
|
420 |
|
label_sub = 'shipto_label',
|
|
112 |
[%- INCLUDE generic/multibox.html
|
|
113 |
name = 'payment_id',
|
|
114 |
DATA = payment_terms,
|
|
115 |
show_empty = 1,
|
|
116 |
id_key = 'id',
|
|
117 |
label_key = 'description',
|
421 |
118 |
-%]
|
422 |
119 |
</td>
|
423 |
|
</tr>
|
424 |
|
<tr>
|
425 |
|
<th align=left nowrap>Von</th>
|
426 |
|
<td><input id=from name=from size=10 maxlength=10 value="[% from %]">
|
427 |
|
<input type="button" name="fromB" id="trigger_from" value="?"></td>
|
428 |
|
<th align=left nowrap>Bis</th>
|
429 |
|
<td><input id=to name=to size=10 maxlength=10 value="[% to %]">
|
430 |
|
<input type="button" name="toB" id="trigger_to" value="?"></td>
|
431 |
|
</tr>
|
432 |
|
<tr>
|
433 |
|
<td colspan=4>
|
434 |
|
<div id=delivery>
|
435 |
|
</div>
|
|
120 |
|
|
121 |
<th align="right">Rabatt</th>
|
|
122 |
<td><input name="discount" size="4" value="[% LxERP.format_amount(discount) %]"> %</td>
|
|
123 |
</tr>
|
|
124 |
|
|
125 |
<tr>
|
|
126 |
<th align="right">Steuernummer</th>
|
|
127 |
<td><input name="taxnumber" size="20" value="[% HTML.escape(taxnumber) %]"></td>
|
|
128 |
<th align="right">USt-IdNr.</th>
|
|
129 |
<td><input name="ustid" maxlength="14" size="20" value="[% HTML.escape(ustid) %]"></td>
|
|
130 |
[%- IF is_sustomer %]
|
|
131 |
<th align="right">KNr. beim Kunden</th>
|
|
132 |
<td><input name="c_vendor_id" size="10" value="[% HTML.escape(c_vendor_id) %]"></td>
|
|
133 |
[%- ELSE %]
|
|
134 |
<th align="right">Kundennummer</th>
|
|
135 |
<td><input name="v_customer_id" size="10" value="[% HTML.escape(v_customer_id) %]"></td>
|
|
136 |
[%- END %]
|
|
137 |
</tr>
|
|
138 |
|
|
139 |
<tr>
|
|
140 |
<th align="right">Kontonummer</th>
|
|
141 |
<td><input name="account_number" size="10" maxlength="15" value="[% HTML.escape(account_number) %]"></td>
|
|
142 |
<th align="right">Bankleitzahl</th>
|
|
143 |
<td><input name="bank_code" size="10" maxlength="10" value="[% HTML.escape(bank_code) %]"></td>
|
|
144 |
<th align="right">Bank</th>
|
|
145 |
<td><input name="bank" size="30" value="[% HTML.escape(bank) %]"></td>
|
|
146 |
</tr>
|
|
147 |
|
|
148 |
<tr>
|
|
149 |
<th align="right">Kunden-/Lieferantentyp</th>
|
|
150 |
<td>
|
|
151 |
[%- INCLUDE generic/multibox.html
|
|
152 |
name = 'business',
|
|
153 |
DATA = all_business,
|
|
154 |
show_empty = 1,
|
|
155 |
id_key = 'id',
|
|
156 |
label_key = 'description',
|
|
157 |
-%]
|
436 |
158 |
</td>
|
437 |
|
</tr>
|
438 |
|
</table>
|
439 |
|
<br style="clear: left" /></div>
|
440 |
|
|
441 |
|
<div id="vcnotes" class="tabcontent">
|
442 |
|
|
443 |
|
[%- IF NOTES && NOTES.size %]
|
444 |
|
<p>
|
445 |
|
<table>
|
446 |
|
<tr>
|
447 |
|
<th class="listheading">L?schen</th>
|
448 |
|
<th class="listheading">Betreff</th>
|
449 |
|
<th class="listheading">Erstellt am</th>
|
450 |
|
<th class="listheading">Erstellt von</th>
|
451 |
|
<th class="listheading">Wiedervorlagedatum</th>
|
452 |
|
<th class="listheading">Wiedervorlage für</th>
|
453 |
|
<th class="listheading">Wiedervorlage erledigt</th>
|
454 |
|
</tr>
|
455 |
|
|
456 |
|
[%- FOREACH row = NOTES %]
|
457 |
|
<tr class="listrow[% loop.count % 2 %]">
|
458 |
|
<input type="hidden" name="NOTE_id_[% loop.count %]" value="[% HTML.escape(row.id) %]">
|
459 |
|
<td>[% UNLESS NOTE_id && (NOTE_id == row.id) %]<input type="checkbox" name="NOTE_delete_[% loop.count %]" value="1">[% END %]</td>
|
460 |
|
<td><a href="ct.pl?action=edit&db=[% HTML.escape(db) %]&id=[% HTML.escape(id) %]&edit_note_id=[% HTML.escape(row.id) %]">[% HTML.escape(row.subject) %]</a></td>
|
461 |
|
<td>[% HTML.escape(row.created_on) %]</td>
|
462 |
|
<td>[% IF row.created_by_name %][% HTML.escape(row.created_by_name) %][% ELSE %][% HTML.escape(row.created_by_login) %][% END %]</td>
|
463 |
|
<td>[% HTML.escape(row.follow_up_date) %]</td>
|
464 |
|
<td>[% IF row.created_for_name %][% HTML.escape(row.created_for_name) %][% ELSE %][% HTML.escape(row.created_for_login) %][% END %]</td>
|
465 |
|
<td>[% IF row.follow_up_date %][% IF row.follow_up_done %]Ja[% ELSE %]Nein[% END %][% END %]</td>
|
466 |
|
</tr>
|
467 |
|
[%- END %]
|
468 |
|
<input type="hidden" name="NOTES_rowcount" value="[% NOTES.size %]">
|
469 |
|
</table>
|
470 |
|
</p>
|
471 |
|
[%- END %]
|
472 |
|
|
473 |
|
<div class="listtop">[% IF NOTE_id %]Notiz bearbeiten[% ELSE %]Notiz erfassen[% END %]</div>
|
474 |
|
|
475 |
|
<input type="hidden" name="NOTE_id" value="[% HTML.escape(NOTE_id) %]">
|
476 |
|
<input type="hidden" name="FU_id" value="[% HTML.escape(FU_id) %]">
|
477 |
|
|
478 |
|
<p>
|
479 |
|
<table>
|
480 |
|
<tr>
|
481 |
|
<td valign="right">Betreff</td>
|
482 |
|
<td><input name="NOTE_subject" value="[% HTML.escape(NOTE_subject) %]" size="50"></td>
|
483 |
|
</tr>
|
484 |
|
|
485 |
|
<tr>
|
486 |
|
<td valign="right" align="top">Text</td>
|
487 |
|
<td align="top"><textarea cols="50" rows="10" name="NOTE_body">[% HTML.escape(NOTE_body) %]</textarea></td>
|
488 |
|
</tr>
|
489 |
|
|
490 |
|
<tr>
|
491 |
|
<td valign="right">Wiedervorlage am</td>
|
492 |
|
<td>
|
493 |
|
<input name="FU_date" id="FU_date" value="[% HTML.escape(FU_date) %]" size="12">
|
494 |
|
<input type="button" name="FU_date_button" id="FU_date_trigger" value="?">
|
495 |
|
für
|
496 |
|
<select name="FU_created_for_user">
|
497 |
|
[%- FOREACH row = ALL_EMPLOYEES %]
|
498 |
|
<option value="[% HTML.escape(row.id) %]"[% IF (NOTE_id && (row.id == FU_created_for_user)) || (row.login == login) %] selected[% END %]>
|
499 |
|
[%- IF row.name %][%- HTML.escape(row.name) %] ([% HTML.escape(row.login) %])[% ELSE %][% HTML.escape(row.login) %][% END %]
|
500 |
|
</option>
|
501 |
|
[%- END %]
|
502 |
|
</select>
|
503 |
|
</td>
|
504 |
|
</tr>
|
505 |
|
|
506 |
|
<tr>
|
507 |
|
<td></td>
|
508 |
|
<td>
|
509 |
|
<input type="checkbox" name="FU_done" id="FU_done" value="1"[% IF FU_done %] checked[% END %]>
|
510 |
|
<label for="FU_done">Wiedervorlage erledigt</label>
|
511 |
|
</td>
|
512 |
|
</tr>
|
513 |
|
</table>
|
514 |
|
</p>
|
515 |
|
|
516 |
|
<br style="clear: left" />
|
517 |
|
</div>
|
518 |
|
|
519 |
|
<script type="text/javascript">
|
520 |
|
<!--
|
521 |
|
Calendar.setup({ inputField : "FU_date", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "FU_date_trigger" });
|
522 |
|
-->
|
523 |
|
</script>
|
524 |
|
|
525 |
|
[%- IF CUSTOM_VARIABLES.size %]
|
526 |
|
<div id="custom_variables" class="tabcontent">
|
527 |
|
|
528 |
|
<p>
|
529 |
|
<table>
|
530 |
|
[%- FOREACH var = CUSTOM_VARIABLES %]
|
531 |
|
<tr>
|
532 |
|
<td align="right" valign="top">[% HTML.escape(var.description) %]</td>
|
533 |
|
<td valign="top">[% var.HTML_CODE %]</td>
|
534 |
|
</tr>
|
535 |
|
[%- END %]
|
536 |
|
</table>
|
537 |
|
</p>
|
|
159 |
<th align="right">Sprache</th>
|
|
160 |
<td>
|
|
161 |
[%- INCLUDE generic/multibox.html
|
|
162 |
name = 'language_id',
|
|
163 |
DATA = languages,
|
|
164 |
show_empty = 1,
|
|
165 |
id_key = 'id',
|
|
166 |
label_key = 'description',
|
|
167 |
-%]
|
|
168 |
</td>
|
|
169 |
|
|
170 |
[%- IF is_customer %]
|
|
171 |
<th align="right">Preisgruppe</th>
|
|
172 |
<td>
|
|
173 |
[%- INCLUDE generic/multibox.html
|
|
174 |
name = 'klass',
|
|
175 |
DATA = all_pricegroup,
|
|
176 |
show_empty = 1,
|
|
177 |
id_key = 'id',
|
|
178 |
label_key = 'pricegroup',
|
|
179 |
-%]
|
|
180 |
</td>
|
|
181 |
[%- END %]
|
|
182 |
</tr>
|
|
183 |
|
|
184 |
<tr>
|
|
185 |
<td align="right">Ung?ltig</td>
|
|
186 |
<td><input name="obsolete" class="checkbox" type="checkbox" value="1" [% IF obsolete %]checked[% END %]></td>
|
|
187 |
</tr>
|
|
188 |
|
|
189 |
<tr>
|
|
190 |
<th align="right">Steuersatz</th>
|
|
191 |
<td>
|
|
192 |
[%- INCLUDE generic/multibox.html
|
|
193 |
name = 'taxzone_id',
|
|
194 |
DATA = ALL_TAXZONES,
|
|
195 |
show_empty = 1,
|
|
196 |
id_key = 'id',
|
|
197 |
label_key = 'description',
|
|
198 |
-%]
|
|
199 |
</td>
|
|
200 |
[%- IF is_customer %]
|
|
201 |
<th align="right">Verk?ufer/in</th>
|
|
202 |
<td>
|
|
203 |
[%- INCLUDE generic/multibox.html
|
|
204 |
name = 'salesman_id',
|
|
205 |
DATA = ALL_SALESMEN,
|
|
206 |
show_empty = 1,
|
|
207 |
id_key = 'id',
|
|
208 |
label_sub = 'salesman_label',
|
|
209 |
-%]
|
|
210 |
</td>
|
|
211 |
[%- END %]
|
|
212 |
</tr>
|
|
213 |
</table>
|
|
214 |
|
|
215 |
<table>
|
|
216 |
<tr>
|
|
217 |
<th align="left" nowrap>Bemerkungen</th>
|
|
218 |
</tr>
|
|
219 |
|
|
220 |
<tr>
|
|
221 |
<td><textarea name="notes" rows="3" cols="60" wrap="soft">[% HTML.escape(notes) %]</textarea></td>
|
|
222 |
</tr>
|
|
223 |
</table>
|
|
224 |
|
|
225 |
<br style="clear: left" />
|
|
226 |
</div>
|
|
227 |
|
|
228 |
<div id="shipto" class="tabcontent">
|
|
229 |
|
|
230 |
<table width="100%">
|
|
231 |
<tr>
|
|
232 |
<th align="right">Lieferadresse</th>
|
|
233 |
<td>
|
|
234 |
[%- INCLUDE generic/multibox.html
|
|
235 |
name = 'shipto_id',
|
|
236 |
id = 'shipto_id',
|
|
237 |
DATA = SHIPTO,
|
|
238 |
onChange = "get_shipto(['shipto_id__' + this.value], ['shiptoname','shiptodepartment_1', 'shiptodepartment_2','shiptostreet','shiptozipcode','shiptocity','shiptocountry','shiptocontact','shiptophone','shiptofax','shiptoemail'])",
|
|
239 |
id_key = 'shipto_id',
|
|
240 |
label_sub = 'shipto_label',
|
|
241 |
label_key = 'shipto_label',
|
|
242 |
-%]
|
|
243 |
</td>
|
|
244 |
</tr>
|
|
245 |
|
|
246 |
<tr>
|
|
247 |
<th align="right" nowrap>Firmenname</th>
|
|
248 |
<td><input id="shiptoname" name="shiptoname" size="35" maxlength="75" value="[% HTML.escape(shiptoname) %]"></td>
|
|
249 |
</tr>
|
|
250 |
|
|
251 |
<tr>
|
|
252 |
<th align="right" nowrap>Abteilung</th>
|
|
253 |
<td>
|
|
254 |
<input id="shiptodepartment_1" name="shiptodepartment_1" size="16" maxlength="75" value="[% HTML.escape(shiptodepartment_1) %]">
|
|
255 |
<input id="shiptodepartment_2" name="shiptodepartment_2" size="16" maxlength="75" value="[% HTML.escape(shiptodepartment_2) %]">
|
|
256 |
</td>
|
|
257 |
</tr>
|
|
258 |
|
|
259 |
<tr>
|
|
260 |
<th align="right" nowrap>Stra?e</th>
|
|
261 |
<td><input id="shiptostreet" name="shiptostreet" size="35" maxlength="75" value="[% HTML.escape(shiptostreet) %]"></td>
|
|
262 |
</tr>
|
|
263 |
|
|
264 |
<tr>
|
|
265 |
<th align="right" nowrap>PLZ/Stadt</th>
|
|
266 |
<td>
|
|
267 |
<input id="shiptozipcode" name="shiptozipcode" size="5" maxlength="75" value="[% HTML.escape(shiptozipcode) %]">
|
|
268 |
<input id="shiptocity" name="shiptocity" size="30" maxlength="75" value="[% HTML.escape(shiptocity) %]">
|
|
269 |
</td>
|
|
270 |
</tr>
|
|
271 |
|
|
272 |
<tr>
|
|
273 |
<th align="right" nowrap>Land</th>
|
|
274 |
<td><input id="shiptocountry" name="shiptocountry" size="35" maxlength="75" value="[% HTML.escape(shiptocountry) %]"></td>
|
|
275 |
</tr>
|
|
276 |
|
|
277 |
<tr>
|
|
278 |
<th align="right" nowrap>Kontakt</th>
|
|
279 |
<td><input id="shiptocontact" name="shiptocontact" size="30" maxlength="75" value="[% HTML.escape(shiptocontact) %]"></td>
|
|
280 |
</tr>
|
538 |
281 |
|
539 |
|
<br style="clear: left" />
|
540 |
|
</div>
|
541 |
|
[%- END %]
|
|
282 |
<tr>
|
|
283 |
<th align="right" nowrap>Telefon</th>
|
|
284 |
<td><input id="shiptophone" name="shiptophone" size="30" maxlength="30" value="[% HTML.escape(shiptophone) %]"></td>
|
|
285 |
</tr>
|
|
286 |
|
|
287 |
<tr>
|
|
288 |
<th align="right" nowrap>Fax</th>
|
|
289 |
<td><input id="shiptofax" name="shiptofax" size="30" maxlength="30" value="[% HTML.escape(shiptofax) %]"></td>
|
|
290 |
</tr>
|
|
291 |
|
|
292 |
<tr>
|
|
293 |
<th align="right" nowrap>eMail</th>
|
|
294 |
<td><input id="shiptoemail" name="shiptoemail" size="45" value="[% HTML.escape(shiptoemail) %]"></td>
|
|
295 |
</tr>
|
|
296 |
|
|
297 |
<tr>
|
|
298 |
<td> </td>
|
|
299 |
</tr>
|
|
300 |
<tr>
|
|
301 |
<td> </td>
|
|
302 |
</tr>
|
|
303 |
</table>
|
|
304 |
|
|
305 |
<br style="clear: left" />
|
|
306 |
</div>
|
|
307 |
|
|
308 |
<div id="contacts" class="tabcontent">
|
|
309 |
<table>
|
|
310 |
<input type="hidden" name="cp_id" value="[% HTML.escape(cp_id) %]">
|
|
311 |
<tr>
|
|
312 |
<th align="right">Ansprechpartner</th>
|
|
313 |
<td>
|
|
314 |
[%- INCLUDE generic/multibox.html
|
|
315 |
name = 'cp_id',
|
|
316 |
id = 'cp_id',
|
|
317 |
DATA = CONTACTS,
|
|
318 |
onChange = "get_contact(['cp_id__' + this.value], ['cp_name', 'cp_greeting', 'cp_title', 'cp_givenname', 'cp_phone1', 'cp_phone2', 'cp_email', 'cp_abteilung', 'cp_fax', 'cp_mobile1', 'cp_mobile2', 'cp_satphone', 'cp_satfax', 'cp_project', 'cp_privatphone', 'cp_privatemail', 'cp_birthday'])",
|
|
319 |
id_key = 'cp_id',
|
|
320 |
label_key = 'cp_name',
|
|
321 |
-%]
|
|
322 |
</td>
|
|
323 |
</tr>
|
|
324 |
|
|
325 |
<tr>
|
|
326 |
<th align="left" nowrap>Anrede</th>
|
|
327 |
<td>
|
|
328 |
<input id="cp_greeting" name="cp_greeting" size="40" maxlength="75" value="[% HTML.escape(cp_greeting) %]">
|
|
329 |
[%- INCLUDE generic/multibox.html
|
|
330 |
name = 'selected_cp_greeting',
|
|
331 |
DATA = MB_GREETINGS,
|
|
332 |
show_empty = 1,
|
|
333 |
id_key = 'id',
|
|
334 |
label_key = 'description',
|
|
335 |
-%]
|
|
336 |
</td>
|
|
337 |
</tr>
|
|
338 |
|
|
339 |
<tr>
|
|
340 |
<th align="left" nowrap>Titel</th>
|
|
341 |
<td>
|
|
342 |
<input id="cp_title" name="cp_title" size="40" maxlength="75" value="[% HTML.escape(cp_title) %]">
|
|
343 |
[%- INCLUDE generic/multibox.html
|
|
344 |
name = 'selected_cp_title',
|
|
345 |
DATA = MB_TITLES,
|
|
346 |
show_empty = 1,
|
|
347 |
id_key = 'id',
|
|
348 |
label_key = 'description',
|
|
349 |
-%]
|
|
350 |
</td>
|
|
351 |
</tr>
|
|
352 |
|
|
353 |
<tr>
|
|
354 |
<th align="left" nowrap>Abteilung</th>
|
|
355 |
<td>
|
|
356 |
<input id="cp_abteilung" name="cp_abteilung" size="40" value="[% HTML.escape(cp_abteilung) %]">
|
|
357 |
[%- INCLUDE generic/multibox.html
|
|
358 |
name = 'selected_cp_abteilung',
|
|
359 |
DATA = MB_DEPARTMENT,
|
|
360 |
show_empty = 1,
|
|
361 |
id_key = 'id',
|
|
362 |
label_key = 'description',
|
|
363 |
-%]
|
|
364 |
</td>
|
|
365 |
</tr>
|
|
366 |
|
|
367 |
<tr>
|
|
368 |
<th align="left" nowrap>Vorname</th>
|
|
369 |
<td><input id="cp_givenname" name="cp_givenname" size="40" maxlength="75" value="[% HTML.escape(cp_givenname) %]"></td>
|
|
370 |
</tr>
|
|
371 |
|
|
372 |
<tr>
|
|
373 |
<th align="left" nowrap>Name</th>
|
|
374 |
<td><input id="cp_name" name="cp_name" size="40" maxlength="75" value="[% HTML.escape(cp_name) %]"></td>
|
|
375 |
</tr>
|
|
376 |
|
|
377 |
<tr>
|
|
378 |
<th align="left" nowrap>Telefon 1 </th>
|
|
379 |
<td><input id="cp_phone1" name="cp_phone1" size="40" maxlength="75" value="[% HTML.escape(cp_phone1) %]"></td>
|
|
380 |
</tr>
|
|
381 |
|
|
382 |
<tr>
|
|
383 |
<th align="left" nowrap>Telefon 2</th>
|
|
384 |
<td><input id="cp_phone2" name="cp_phone2" size="40" maxlength="75" value="[% HTML.escape(cp_phone2) %]"></td>
|
|
385 |
</tr>
|
|
386 |
|
|
387 |
<tr>
|
|
388 |
<th align="left" nowrap>Fax</th>
|
|
389 |
<td><input id="cp_fax" name="cp_fax" size="40" value="[% HTML.escape(cp_fax) %]"></td>
|
|
390 |
</tr>
|
|
391 |
|
|
392 |
<tr>
|
|
393 |
<th align="left" nowrap>Mobile 1</th>
|
|
394 |
<td><input id="cp_mobile1" name="cp_mobile1" size="40" value="[% HTML.escape(cp_mobile1) %]"></td>
|
|
395 |
</tr>
|
|
396 |
|
|
397 |
<tr>
|
|
398 |
<th align="left" nowrap>Mobile 2</th>
|
|
399 |
<td><input id="cp_mobile2" name="cp_mobile2" size="40" value="[% HTML.escape(cp_mobile2) %]"></td>
|
|
400 |
</tr>
|
|
401 |
|
|
402 |
<tr>
|
|
403 |
<th align="left" nowrap>Sat. Tel.</th>
|
|
404 |
<td><input id="cp_satphone" name="cp_satphone" size="40" value="[% HTML.escape(cp_satphone) %]"></td>
|
|
405 |
</tr>
|
|
406 |
|
|
407 |
<tr>
|
|
408 |
<th align="left" nowrap>Sat. Fax</th>
|
|
409 |
<td><input id="cp_satfax" name="cp_satfax" size="40" value="[% HTML.escape(cp_satfax) %]"></td>
|
|
410 |
</tr>
|
|
411 |
|
|
412 |
<tr>
|
|
413 |
<th align="left" nowrap>Projekt</th>
|
|
414 |
<td><input id="cp_project" name="cp_project" size="40" value="[% HTML.escape(cp_project) %]"></td>
|
|
415 |
</tr>
|
|
416 |
|
|
417 |
<tr>
|
|
418 |
<th align="left" nowrap>eMail</th>
|
|
419 |
<td><input id="cp_email" name="cp_email" size="40" value="[% HTML.escape(cp_email) %]"></td>
|
|
420 |
</tr>
|
|
421 |
|
|
422 |
<tr>
|
|
423 |
<th align="left" nowrap>Privates Tel.</th>
|
|
424 |
<td><input id="cp_privatphone" name="cp_privatphone" size="40" value="[% HTML.escape(cp_privatphone) %]"></td>
|
|
425 |
</tr>
|
|
426 |
|
|
427 |
<tr>
|
|
428 |
<th align="left" nowrap>Private eMail</th>
|
|
429 |
<td><input id="cp_privatemail" name="cp_privatemail" size="40" value="[% HTML.escape(cp_privatemail) %]"></td>
|
|
430 |
</tr>
|
|
431 |
|
|
432 |
<tr>
|
|
433 |
<th align="left" nowrap>Geburtstag</th>
|
|
434 |
<td><input id="cp_birthday" name="cp_birthday" size="40" value="[% HTML.escape(cp_birthday) %]"></td>
|
|
435 |
</tr>
|
|
436 |
|
|
437 |
<tr>
|
|
438 |
<td colspan="2"><hr></td>
|
|
439 |
</tr>
|
|
440 |
|
|
441 |
<tr>
|
|
442 |
<th align="left" nowrap>Bcc</th>
|
|
443 |
<td><input name="bcc" size="40" value="[% HTML.escape(bcc) %]"></td>
|
|
444 |
</tr>
|
|
445 |
</table>
|
|
446 |
|
|
447 |
<br style="clear: left" />
|
|
448 |
</div>
|
|
449 |
|
|
450 |
<div id="deliveries" class="tabcontent">
|
|
451 |
<table>
|
|
452 |
<tr>
|
|
453 |
<th align="right">Lieferadresse</th>
|
|
454 |
<td>
|
|
455 |
[%- INCLUDE generic/multibox.html
|
|
456 |
name = 'delivery_id',
|
|
457 |
id = 'delivery_id',
|
|
458 |
DATA = SHIPTO,
|
|
459 |
onChange = "get_delivery(['shipto_id__' + this.value, 'from__' + from.value, 'to__' + to.value, 'id__' + cvid.value, 'db__' + db.value], ['delivery'])",
|
|
460 |
id_key = 'shipto_id',
|
|
461 |
label_sub = 'shipto_label',
|
|
462 |
-%]
|
|
463 |
</td>
|
|
464 |
</tr>
|
|
465 |
|
|
466 |
<tr>
|
|
467 |
<th align="left" nowrap>Von</th>
|
|
468 |
<td>
|
|
469 |
<input id="from" name="from" size="10" maxlength="10" value="[% HTML.escape(from) %]">
|
|
470 |
<input type="button" name="fromB" id="trigger_from" value="?">
|
|
471 |
</td>
|
|
472 |
<th align="left" nowrap>Bis</th>
|
|
473 |
<td>
|
|
474 |
<input id="to" name="to" size="10" maxlength="10" value="[% HTML.escape(to) %]">
|
|
475 |
<input type="button" name="toB" id="trigger_to" value="?">
|
|
476 |
</td>
|
|
477 |
</tr>
|
|
478 |
|
|
479 |
<tr>
|
|
480 |
<td colspan="4">
|
|
481 |
<div id="delivery">
|
|
482 |
</div>
|
|
483 |
</td>
|
|
484 |
</tr>
|
|
485 |
</table>
|
|
486 |
|
|
487 |
<br style="clear: left" />
|
|
488 |
</div>
|
|
489 |
|
|
490 |
<div id="vcnotes" class="tabcontent">
|
|
491 |
|
|
492 |
[%- IF NOTES && NOTES.size %]
|
|
493 |
<p>
|
|
494 |
<table>
|
|
495 |
<tr>
|
|
496 |
<th class="listheading">L?schen</th>
|
|
497 |
<th class="listheading">Betreff</th>
|
|
498 |
<th class="listheading">Erstellt am</th>
|
|
499 |
<th class="listheading">Erstellt von</th>
|
|
500 |
<th class="listheading">Wiedervorlagedatum</th>
|
|
501 |
<th class="listheading">Wiedervorlage für</th>
|
|
502 |
<th class="listheading">Wiedervorlage erledigt</th>
|
|
503 |
</tr>
|
|
504 |
|
|
505 |
[%- FOREACH row = NOTES %]
|
|
506 |
<tr class="listrow[% loop.count % 2 %]">
|
|
507 |
<input type="hidden" name="NOTE_id_[% loop.count %]" value="[% HTML.escape(row.id) %]">
|
|
508 |
<td>[% UNLESS NOTE_id && (NOTE_id == row.id) %]<input type="checkbox" name="NOTE_delete_[% loop.count %]" value="1">[% END %]</td>
|
|
509 |
<td><a href="ct.pl?action=edit&db=[% HTML.url(db) %]&id=[% HTML.url(id) %]&edit_note_id=[% HTML.url(row.id) %]">[% HTML.escape(row.subject) %]</a></td>
|
|
510 |
<td>[% HTML.escape(row.created_on) %]</td>
|
|
511 |
<td>[% IF row.created_by_name %][% HTML.escape(row.created_by_name) %][% ELSE %][% HTML.escape(row.created_by_login) %][% END %]</td>
|
|
512 |
<td>[% HTML.escape(row.follow_up_date) %]</td>
|
|
513 |
<td>[% IF row.created_for_name %][% HTML.escape(row.created_for_name) %][% ELSE %][% HTML.escape(row.created_for_login) %][% END %]</td>
|
|
514 |
<td>[% IF row.follow_up_date %][% IF row.follow_up_done %]Ja[% ELSE %]Nein[% END %][% END %]</td>
|
|
515 |
</tr>
|
|
516 |
[%- END %]
|
|
517 |
|
|
518 |
<input type="hidden" name="NOTES_rowcount" value="[% NOTES.size %]">
|
|
519 |
|
|
520 |
</table>
|
|
521 |
</p>
|
|
522 |
[%- END %]
|
|
523 |
|
|
524 |
<div class="listtop">[% IF NOTE_id %]Notiz bearbeiten[% ELSE %]Notiz erfassen[% END %]</div>
|
|
525 |
|
|
526 |
<input type="hidden" name="NOTE_id" value="[% HTML.escape(NOTE_id) %]">
|
|
527 |
<input type="hidden" name="FU_id" value="[% HTML.escape(FU_id) %]">
|
|
528 |
|
|
529 |
<p>
|
|
530 |
<table>
|
|
531 |
<tr>
|
|
532 |
<td valign="right">Betreff</td>
|
|
533 |
<td><input name="NOTE_subject" value="[% HTML.escape(NOTE_subject) %]" size="50"></td>
|
|
534 |
</tr>
|
|
535 |
|
|
536 |
<tr>
|
|
537 |
<td valign="right" align="top">Text</td>
|
|
538 |
<td align="top"><textarea cols="50" rows="10" name="NOTE_body">[% HTML.escape(NOTE_body) %]</textarea></td>
|
|
539 |
</tr>
|
|
540 |
|
|
541 |
<tr>
|
|
542 |
<td valign="right">Wiedervorlage am</td>
|
|
543 |
<td>
|
|
544 |
<input name="FU_date" id="FU_date" value="[% HTML.escape(FU_date) %]" size="12">
|
|
545 |
<input type="button" name="FU_date_button" id="FU_date_trigger" value="?">
|
|
546 |
für
|
|
547 |
<select name="FU_created_for_user">
|
|
548 |
[%- FOREACH row = ALL_EMPLOYEES %]
|
|
549 |
<option value="[% HTML.escape(row.id) %]"[% IF (NOTE_id && (row.id == FU_created_for_user)) || (row.login == login) %] selected[% END %]>
|
|
550 |
[%- IF row.name %][%- HTML.escape(row.name) %] ([% HTML.escape(row.login) %])[% ELSE %][% HTML.escape(row.login) %][% END %]
|
|
551 |
</option>
|
|
552 |
[%- END %]
|
|
553 |
</select>
|
|
554 |
</td>
|
|
555 |
</tr>
|
|
556 |
|
|
557 |
<tr>
|
|
558 |
<td> </td>
|
|
559 |
<td>
|
|
560 |
<input type="checkbox" name="FU_done" id="FU_done" value="1"[% IF FU_done %] checked[% END %]>
|
|
561 |
<label for="FU_done">Wiedervorlage erledigt</label>
|
|
562 |
</td>
|
|
563 |
</tr>
|
|
564 |
</table>
|
|
565 |
</p>
|
|
566 |
|
|
567 |
<br style="clear: left" />
|
|
568 |
</div>
|
|
569 |
|
|
570 |
[%- IF CUSTOM_VARIABLES.size %]
|
|
571 |
<div id="custom_variables" class="tabcontent">
|
|
572 |
|
|
573 |
<p>
|
|
574 |
<table>
|
|
575 |
[%- FOREACH var = CUSTOM_VARIABLES %]
|
|
576 |
<tr>
|
|
577 |
<td align="right" valign="top">[% HTML.escape(var.description) %]</td>
|
|
578 |
<td valign="top">[% var.HTML_CODE %]</td>
|
|
579 |
</tr>
|
|
580 |
[%- END %]
|
|
581 |
</table>
|
|
582 |
</p>
|
|
583 |
|
|
584 |
<br style="clear: left" />
|
|
585 |
</div>
|
|
586 |
[%- END %]
|
542 |
587 |
|
543 |
|
</div>
|
|
588 |
</div>
|
544 |
589 |
|
545 |
|
<script type="text/javascript"><!--
|
546 |
|
Calendar.setup({ inputField : "fromB", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger_from" });
|
547 |
|
Calendar.setup({ inputField : "toB", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger_to" });
|
548 |
|
//--></script>
|
|
590 |
<script type="text/javascript">
|
|
591 |
<!--
|
|
592 |
Calendar.setup({ inputField : "fromB", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger_from" });
|
|
593 |
Calendar.setup({ inputField : "toB", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger_to" });
|
|
594 |
Calendar.setup({ inputField : "FU_date", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "FU_date_trigger" });
|
|
595 |
//-->
|
|
596 |
</script>
|
HTML-Code aufgeräumt, Attribute gequotet, HTML-Sonderzeichen in Werten escapet.