Suche nach Verkäufer in Mahnungen und Anzeige von Kundennummer in der Auftragssuche.
[kivitendo-erp.git] / templates / webpages / oe / search_de.html
1 [%- USE HTML %]
2 [%- SET vclabel = vc == 'customer' ? 'Kunde' : 'Lieferant' %]
3 <body>
4
5 <form method="post" action="oe.pl">
6
7  <p><div class="listtop">[% HTML.escape(title) %]</div></p>
8
9 <table width="100%">
10  <tr>
11   <td>
12    <table>
13     <tr>
14      <th align="right">[% HTML.escape(vclabel) %]</th>
15      <td colspan="3">
16             [%- INCLUDE 'generic/multibox.html'
17                  name          = vc,
18                  default       = vc == 'customer' ? oldcustomer : oldvendor,
19                  style         = 'width: 250px',
20                  DATA          = ALL_VC,
21                  id_sub        = 'vc_keys',
22                  label_key     = 'name',
23                  select        = vc_select,
24                  limit         = vclimit,
25                  show_empty    = 1,
26                  allow_textbox = 1,
27                  -%]
28      </td>
29     </tr>
30 [%- IF ALL_DEPARTMENTS.size %]
31     <tr>
32      <th align="right" nowrap>Abteilung</th>
33      <td colspan="3">
34             [%- INCLUDE 'generic/multibox.html'
35                  name          = 'department_id',
36                  style         = 'width: 250px',
37                  DATA          = ALL_DEPARTMENTS,
38                  id_key        = 'id',
39                  label_key     = 'description',
40                  limit         = vclimit,
41                  show_empty    = 1,
42                  allow_textbox = 1,
43             -%]
44      </td>
45     </tr>
46 [%- END %]
47     <tr>
48      <th align="right">[% HTML.escape(ordlabel) %]</th>
49      <td colspan="3"><input name="[% HTML.escape(ordnrname) %]" style="width: 250px"></td>
50     </tr>
51     <tr>
52      <th align="right">Bearbeiter</th>
53      <td>
54             [%- INCLUDE 'generic/multibox.html'
55                  name          = 'employee_id',
56                  style         = 'width: 250px',
57                  DATA          =  ALL_EMPLOYEES,
58                  id_key        = 'id',
59                  label_sub     = 'employee_labels',
60                  limit         = vclimit,
61                  show_empty    = 1,
62                  allow_textbox = 0,
63                  default       = ' ',
64             -%]
65      </td>
66     </tr>
67     <tr>
68      <th align="right">Verkäufer/in</th>
69      <td>
70             [%- INCLUDE 'generic/multibox.html'
71                  name          = 'salesman_id',
72                  style         = 'width: 250px',
73                  DATA          =  ALL_SALESMEN,
74                  id_key        = 'id',
75                  label_sub     = 'salesman_labels',
76                  limit         = vclimit,
77                  show_empty    = 1,
78                  allow_textbox = 0,
79             -%]
80      </td>
81     </tr>
82     <tr>
83      <th align="right">Vorgangsbezeichnung</th>
84      <td colspan="3"><input name="transaction_description" style="width: 250px"></td>
85     </tr>
86     <tr>
87      <th align="right">Projektnummer</th>
88      <td colspan="3">
89             [%- INCLUDE 'generic/multibox.html'
90                  name          =  vclimit < ALL_PROJECTS.size ? 'projectnumber' : 'project_id',
91                  style         = "width: 250px",
92                  DATA          =  ALL_PROJECTS,
93                  id_key        = 'id',
94                  label_key     = 'projectnumber',
95                  limit         = vclimit,
96                  show_empty    = 1,
97                  allow_textbox = 1,
98             -%]
99      </td>
100     </tr>
101     <tr>
102      <th align="right">Auftragsdatum Von</th>
103      <td>
104       <input name="transdatefrom" id="transdatefrom" size="11" title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
105       <input type="button" name="transdatefrom" id="trigger3" value="?">
106      </td>
107      <th align="right">bis</th>
108      <td>
109       <input name="transdateto" id="transdateto" size="11" title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
110       <input type="button" name="transdateto" name="transdateto" id="trigger4" value="?">
111      </td>
112     </tr>
113     <tr>
114      <th align="right">Lieferdatum Von</th>
115      <td>
116       <input name=reqdatefrom id=reqdatefrom size=11 title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
117       <input type=button name=reqdatefrom id="trigger5" value=?>
118      </td>
119      <th align="right">bis</th>
120      <td>
121       <input name=reqdateto id=reqdateto size=11 title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
122       <input type=button name=reqdateto name=reqdateto id="trigger6" value=?>
123      </td>
124     </tr>
125     <tr>
126      <th align="right">In Bericht aufnehmen</th>
127      <td colspan="5">
128       <table>
129        <tr>
130         <td>
131          <input type="checkbox" name="open" value="1" id="open" checked>
132          <label for="open">Offen</label>
133         </td>
134         <td>
135          <input type="checkbox" name="closed" value="1" id="closed">
136          <label for="closed">Geschlossen</label>
137         </td>
138        </tr>
139 [%- IF type == 'sales_order' OR type == 'purchase_order' %]
140        <tr>
141         <td>
142          <input name="notdelivered" id="notdelivered" class="checkbox" type="checkbox" value="1" checked>
143          <label for="notdelivered">Nicht geliefert</label>
144         </td>
145         <td>
146          <input name="delivered" id="delivered" class="checkbox" type="checkbox" value="1" checked>
147          <label for="delivered">Geliefert</label>
148         </td>
149        </tr>
150 [%- END %]
151        <tr>
152         <td>
153          <input name="l_id" id="l_id" class="checkbox" type="checkbox" value="Y">
154          <label for="l_id">Buchungsnummer</label>
155         </td>
156         <td>
157          <input name="l_[% HTML.escape(ordnrname) %]" id="l_[% HTML.escape(ordnrname) %]" class="checkbox" type="checkbox" value="Y" checked>
158          <label for="l_[% HTML.escape(ordnrname) %]">[% HTML.escape(ordlabel) %]</label>
159         </td>
160        </tr>
161        <tr>
162         <td>
163          <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y" checked>
164          <label for="l_transdate">Datum</label>
165         </td>
166         <td>
167          <input name="l_reqdate" id="l_reqdate" class="checkbox" type="checkbox" value="Y" checked>
168          <label for="l_reqdate">Lieferdatum</label>
169         </td>
170        </tr>
171        <tr>
172         <td>
173          <input name="l_name" id="l_name" class="checkbox" type="checkbox" value="Y" checked>
174          <label for="l_name">[% HTML.escape(vclabel) %]
175         </td>
176         <td>
177          <input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked>
178          <label for="l_employee">Bearbeiter</label>
179         </td>
180         <td>
181          <input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y">
182          <label for="l_shipvia">Transportmittel</label>
183         </td>
184        </tr>
185        <tr>
186         <td>
187          <input name="l_netamount" id="l_netamount" class="checkbox" type="checkbox" value="Y">
188          <label for="l_netamount">Betrag</label>
189         </td>
190         <td>
191          <input name="l_tax" id="l_tax" class="checkbox" type="checkbox" value="Y">
192          <label for="l_tax">Steuer</label>
193         </td>
194         <td>
195          <input name="l_amount" id="l_amount" class="checkbox" type="checkbox" value="Y" checked>
196          <label for="l_amount">Summe</label>
197         </td>
198        </tr>
199        <tr>
200         <td>
201          <input name="l_marge_total" id="l_marge_total" class="checkbox" type="checkbox" value="Y">
202          <label for="l_marge_total">Ertrag</label>
203         </td>
204         <td>
205          <input name="l_marge_percent" id="l_marge_percent" class="checkbox" type="checkbox" value="Y">
206          <label for="l_marge_percent">Ertrag prozentual</label>
207         </td>
208        </tr>
209        <tr>
210         <td>
211          <input name="l_globalprojectnumber" id="l_globalprojectnumber" class="checkbox" type="checkbox" value="Y">
212          <label for="l_globalprojectnumber">Projektnummer</label>
213         </td>
214         <td>
215          <input name="l_transaction_description" id="l_transaction_description" class="checkbox" type="checkbox" value="Y">
216          <label for="l_transaction_description">Vorgangsbezeichnung</label>
217         </td>
218        </tr>
219        <tr>
220         <td>
221          <input name="l_subtotal" id="l_subtotal" class="checkbox" type="checkbox" value="Y">
222          <label for="l_subtotal">Zwischensumme</label>
223         </td>
224         <td>
225          <input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
226          <label for="l_salesman">Verkäufer/in</label>
227         </td>
228        </tr>
229        <tr>
230         <td colspan=4 align=left><b>Kunde</td>
231        </tr>
232        <tr>
233         <td>
234          <input name="l_customernumber" id="l_customernumber" class="checkbox" type="checkbox" value="Y">
235          <label for="l_customernumber">Kundennummer</label>
236         </td>
237         <td>
238          <input name="l_country" id="l_country" class="checkbox" type="checkbox" value="Y">
239          <label for="l_country">Land</label>
240         </td>
241         <td>
242          <input name="l_ustid"  id="l_ustid" class="checkbox" type="checkbox" value="Y">
243          <label for="l_ustid">USt-IdNr.</label>
244         </td>
245        </tr>
246 [%- IF type == 'sales_order' %]
247        <tr><td colspan="3"><hr></td></tr>
248 [%- END %]
249       </table>
250      </td>
251     </tr>
252    </table>
253   </td>
254  </tr>
255 </table>
256
257 <script type="text/javascript">
258  <!--
259    Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger3" });
260    Calendar.setup({ inputField : "transdateto",   ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger4" });
261    Calendar.setup({ inputField : "reqdatefrom",   ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger5" });
262    Calendar.setup({ inputField : "reqdateto",     ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger6" });
263  //-->
264 </script>
265
266 <br>
267 <input type="hidden" name="nextsub" value="orders">
268 <input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
269 <input type="hidden" name="type" value="[% HTML.escape(type) %]">
270 <input class="submit" type="submit" name="action" value="Weiter">
271 </form>
272
273 </body>
274 </html>