Lieferscheine im Einkauf und Verkauf. Bisher nur gemerget, noch nicht getestet.
[kivitendo-erp.git] / templates / webpages / do / search_de.html
1 [% USE HTML %][% USE LxERP %]<body onload="on_load();">
2
3  [%- IF vc == 'customer' %]
4  [%- SET is_customer = '1' %]
5  [%- ELSE %]
6  [%- SET is_customer = '0' %]
7  [%- END %]
8
9  <script type="text/javascript">
10   <!--
11       function on_load() {
12         Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "transdatefrom_trigger" });
13         Calendar.setup({ inputField : "transdateto",   ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "transdateto_trigger" });
14         document.Form.donumber.focus();
15       }
16     -->
17  </script>
18
19  <style type="text/css">
20   .fixed_width {
21     width: 250px;
22   }
23  </style>
24
25  <form method="post" action="do.pl" name="Form">
26
27   <div class="listtop">[% title %]</div>
28
29   <p>
30    <table>
31     <tr>
32      <th align="right">[% IF is_customer %]Kunde[% ELSE %]Lieferant[% END %]</th>
33      <td colspan="3">
34       [%- UNLESS SHOW_VC_DROP_DOWN %]
35       <input type="text" name="[% HTML.escape(vc) %]" class="fixed_width">
36       [%- ELSE %]
37       <select name="[% vc %]" class="fixed_width">
38        <option></option>
39        [%- FOREACH row = ALL_VC %]
40        <option>[% HTML.escape(row.name) %]--[% HTML.escape(row.id) %]</option>
41        [%- END %]
42       </select>
43       <input type="hidden" name="select[% vc %]" value="1">
44       [%- END %]
45      </td>
46     </tr>
47
48     <tr>
49      <th align="right">Lieferscheinnummer</th>
50      <td colspan="3"><input name="donumber" class="fixed_width"></td>
51     </tr>
52
53     <tr>
54      <th align="right">Auftragsnummer</th>
55      <td colspan="3"><input name="ordnumber" class="fixed_width"></td>
56     </tr>
57
58     [%- UNLESS is_customer %]
59     <tr>
60      <th align="right">Bestellanfragenummer</th>
61      <td colspan="3"><input name="oreqnumber" class="fixed_width"></td>
62     </tr>
63     [%- END %]
64
65     [%- IF ALL_DEPARTMENTS.size %]
66     <tr>
67      <th align="right" nowrap>Abteilung</th>
68      <td colspan="3">
69       <select name="department" class="fixed_width">
70        <option></option>
71        [%- FOREACH row = ALL_DEPARTMENTS %]
72        <option[% IF department == row.value %] selected[% END %]>[% HTML.escape(row.description) %]--[% HTML.escape(row.id) %]</option>
73        [%- END %]
74       </select>
75      </td>
76     </tr>
77     [%- END %]
78
79     <tr>
80      <th align="right">Bearbeiter</th>
81      <td>
82       <select name="employee_id" class="fixed_width">
83        <option></option>
84        [%- FOREACH row = ALL_EMPLOYEES %]
85        <option value="[% HTML.escape(row.id) %]">[% IF row.name %][% HTML.escape(row.name) %][% ELSE %][% HTML.escape(row.login) %][% END %]</option>
86        [%- END %]
87       </select>
88      </td>
89     </tr>
90
91     [%- IF is_customer %]
92     <tr>
93      <th align="right">Verkäufer/in</th>
94      <td>
95       <select name="salesman_id" class="fixed_width">
96        <option></option>
97        [%- FOREACH row = ALL_SALESMEN %]
98        <option value="[% HTML.escape(row.id) %]">[% IF row.name %][% HTML.escape(row.name) %][% ELSE %][% HTML.escape(row.login) %][% END %]</option>
99        [%- END %]
100       </select>
101      </td>
102     </tr>
103     [%- END %]
104
105     <tr>
106      <th align="right">Vorgangsbezeichnung</th>
107      <td colspan="3"><input name="transaction_description" class="fixed_width"></td>
108     </tr>
109
110     <tr>
111      <th align="right">Bestellnummer des Kunden</th>
112      <td colspan="3"><input name="cusordnumber" class="fixed_width"></td>
113     </tr>
114
115     <tr>
116      <th align="right">Projektnummer</th>
117      <td colspan="3">
118       <select name="project_id" class="fixed_width">
119        <option></option>
120        [%- FOREACH row = ALL_PROJECTS %]
121        <option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.projectnumber) %]</option>
122        [%- END %]
123       </select>
124      </td>
125     </tr>
126
127     <tr>
128      <th align="right">Von</th>
129      <td>
130       <input name="transdatefrom" id="transdatefrom" size="11" title="[% myconfig_dateformat %]" onBlur="check_right_date_format(this)">
131       <input type="button" name="transdatefrom_button" id="transdatefrom_trigger" value="?">
132      </td>
133      <th align="right">bis</th>
134      <td>
135       <input name="transdateto" id="transdateto" size="11" title="[% myconfig_dateformat %]" onBlur="check_right_date_format(this)">
136       <input type="button" name="transdateto_button" id="transdateto_trigger" value="?">
137      </td>
138     </tr>
139
140     <tr>
141      <th align="right">In Bericht aufnehmen</th>
142      <td colspan="5">
143       <table>
144        <tr>
145         <td>
146          <input type="checkbox" name="open" value="1" id="open" checked>
147          <label for="open">Offen</label>
148         </td>
149         <td>
150          <input type="checkbox" name="closed" value="1" id="closed">
151          <label for="closed">Geschlossen</label>
152         </td>
153        </tr>
154
155        <tr>
156         <td>
157          <input name="notdelivered" id="notdelivered" class="checkbox" type="checkbox" value="1" checked>
158          <label for="notdelivered">Nicht geliefert</label>
159         </td>
160         <td>
161          <input name="delivered" id="delivered" class="checkbox" type="checkbox" value="1" checked>
162          <label for="delivered">Geliefert</label></td>
163        </tr>
164
165        <tr>
166         <td>
167          <input name="l_id" id="l_id" class="checkbox" type="checkbox" value="Y">
168          <label for="l_id">Buchungsnummer</label>
169         </td>
170
171         <td>
172          <input name="l_donumber" id="l_donumber" class="checkbox" type="checkbox" value="Y" checked>
173          <label for="l_donumber">Lieferscheinnummer</label>
174         </td>
175        </tr>
176
177        <tr>
178         <td>
179          <input name="l_ordnumber" id="l_ordnumber" class="checkbox" type="checkbox" value="Y" checked>
180          <label for="l_ordnumber">Auftragsnummer</label>
181         </td>
182
183         <td>
184          <input name="l_cusordnumber" id="l_cusordnumber" class="checkbox" type="checkbox" value="Y">
185          <label for="l_cusordnumber">Bestellnummer des Kunden</label>
186         </td>
187
188         [%- UNLESS is_customer %]
189         <td>
190          <input name="l_oreqnumber" id="l_oreqnumber" class="checkbox" type="checkbox" value="Y" checked>
191          <label for="l_oreqnumber">Bestellanfragenummer</label>
192         </td>
193         [%- END %]
194        </tr>
195
196        <tr>
197         <td>
198          <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y" checked>
199          <label for="l_transdate">Datum</label>
200         </td>
201
202         <td>
203          <input name="l_name" id="l_name" class="checkbox" type="checkbox" value="Y" checked>
204          <label for="l_name">[% IF is_customer %]Kunde[% ELSE %]Lieferant[% END %]</label>
205         </td>
206        </tr>
207
208        <tr>
209         <td>
210          <input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked>
211          <label for="l_employee">Bearbeiter</label>
212         </td>
213
214         <td>
215          <input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
216          <label for="l_salesman">Verkäufer/in</label>
217         </td>
218
219         <td>
220          <input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y">
221          <label for="l_shipvia">Transportmittel</label>
222         </td>
223        </tr>
224
225        <tr>
226         <td>
227          <input name="l_globalprojectnumber" id="l_globalprojectnumber" class="checkbox" type="checkbox" value="Y">
228          <label for="l_globalprojectnumber">Projektnummer</label>
229         </td>
230
231         <td>
232          <input name="l_transaction_description" id="l_transaction_description" class="checkbox" type="checkbox" value="Y">
233          <label for="l_transaction_description">Vorgangsbezeichnung</label>
234         </td>
235        </tr>
236
237       </table>
238      </td>
239     </tr>
240    </table>
241   </p>
242
243   <hr size="3" noshade>
244
245   <p>
246    <input type="hidden" name="nextsub" value="orders">
247    <input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
248    <input type="hidden" name="type" value="[% HTML.escape(type) %]">
249
250    <input class="submit" type="submit" name="action" value="Weiter">
251   </p>
252  </form>
253
254 </body>
255 </html>
256