Patch aus Bug 1343: csv in ../users speichern
[kivitendo-erp.git] / templates / webpages / ap / search_en.html
1 <body>
2
3  <form method=post name="search" action=[% script %]>
4
5   <table width=100%>
6   <tr><th class=listtop>[% title %]</th></tr>
7   <tr height="5"></tr>
8   <tr>
9    <td>
10     <table>
11      <tr>
12       <th align=right>Vendor</th>
13       <td colspan=3>
14             [%- INCLUDE 'generic/multibox.html'
15                  name          = 'vendor',
16                  default       = oldvendor,
17                  style         = 'width: 250px',
18                  DATA          = ALL_VC,
19                  id_sub        = 'vc_keys',
20                  label_key     = 'name',
21                  select        = vc_select,
22                  limit         = vclimit,
23                  show_empty    = 1,
24                  allow_textbox = 1,
25                  -%]
26 [% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [
27   { script => 'ct.pl', column => 'name', selector => 'input[name="vendor"]', params => { vc => 'vendor' } },
28 ]
29 %]
30       </td>
31      </tr>
32      <tr>
33       <th align=right nowrap>Department</th>
34       <td>
35             [%- INCLUDE 'generic/multibox.html'
36                  name          = 'department',
37                  style         = 'width: 250px',
38                  DATA          = ALL_DEPARTMENTS,
39                  id_key        = 'id',
40                  label_key     = 'description',
41                  show_empty    = 1,
42                  allow_textbox = 0,
43             -%]
44       </td>
45      </tr>
46      <tr>
47       <th align=right nowrap>Invoice Number</th>
48       <td colspan=3><input name=invnumber size=20></td>
49      </tr>
50      <tr>
51       <th align=right nowrap>Order Number</th>
52       <td colspan=3><input name=ordnumber size=20></td>
53      </tr>
54      <tr>
55       <th align=right nowrap>Notes</th>
56       <td colspan=3><input name=notes size=40></td>
57      </tr>
58      <tr>
59       <th align="right">Project Number</th>
60       <td colspan="3">
61             [%- INCLUDE 'generic/multibox.html'
62                  name          =  'project_id',
63                  style         = "width: 250px",
64                  DATA          =  ALL_PROJECTS,
65                  id_key        = 'id',
66                  label_key     = 'projectnumber',
67                  limit         = vclimit,
68                  show_empty    = 1,
69                  allow_textbox = 0,
70             -%]
71       </td>
72      </tr>
73      <tr>
74       <th align=right nowrap>From</th>
75       <td>
76        <input name=transdatefrom id=transdatefrom size=11 title="dateformat | html %]" onBlur=\"check_right_date_format(this)\">
77        <input type=button name=transdatefrom id="trigger1" value=button>
78       </td>
79      <th align=right>Bis</th>
80      <td>
81       <input name=transdateto id=transdateto size=11 title="[% dateformat | html %]" onBlur=\"check_right_date_format(this)\">
82       <input type=button name=transdateto name=transdateto id="trigger2" value=button>
83      </td>
84     </tr>
85    <input type=hidden name=sort value=transdate>
86    </table>
87     </td>
88     </tr>
89     <tr>
90      <td>
91       <table>
92        <tr>
93         <th align=right nowrap>Include in Report</th>
94         <td>
95          <table width=100%>
96           <tr>
97            <td align=right><input name=open class=checkbox type=checkbox value=Y checked></td>
98            <td nowrap>Open</td>
99            <td align=right><input name=closed class=checkbox type=checkbox value=Y></td>
100            <td nowrap>Closed</td>
101           </tr>
102           <tr>
103            <td align=right><input name="l_id" class=checkbox type=checkbox value=Y></td>
104            <td nowrap>ID</td>
105            <td align=right><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
106            <td nowrap>Invoice Number</td>
107            <td align=right><input name="l_ordnumber" class=checkbox type=checkbox value=Y></td>
108            <td nowrap>Order Number</td>
109           </tr>
110           <tr>
111            <td align=right><input name="l_name" class=checkbox type=checkbox value=Y checked></td>
112            <td nowrap>Vendor</td>
113            <td align=right><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
114            <td nowrap>Invoice Date</td>
115            <td align=right><input name="l_netamount" class=checkbox type=checkbox value=Y></td>
116            <td nowrap>Amount</td>
117           </tr>
118           <tr>
119            <td align=right><input name="l_tax" class=checkbox type=checkbox value=Y></td>
120            <td nowrap>Tax</td>
121            <td align=right><input name="l_amount" class=checkbox type=checkbox value=Y checked></td>
122            <td nowrap>Total</td>
123            <td align=right><input name="l_datepaid" class=checkbox type=checkbox value=Y></td>
124            <td nowrap>Date Paid</td>
125           </tr>
126           <tr>
127            <td align=right><input name="l_paid" class=checkbox type=checkbox value=Y checked></td>
128            <td nowrap>Paid</td>
129            <td align=right><input name="l_duedate" class=checkbox type=checkbox value=Y></td>
130            <td nowrap>Due Date</td>
131            <td align=right><input name="l_due" class=checkbox type=checkbox value=Y></td>
132            <td nowrap>Amount Due</td>
133           </tr>
134           <tr>
135            <td align=right><input name="l_notes" class=checkbox type=checkbox value=Y></td>
136            <td nowrap>Notes</td>
137            <td align=right><input name="l_employee" class=checkbox type=checkbox value=Y></td>
138            <td nowrap>Employee</td>
139           </tr>
140           <tr>
141            <td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
142            <td nowrap>Subtotal</td>
143            <td align=right><input name="l_globalprojectnumber" class=checkbox type=checkbox value=Y></td>
144            <td nowrap>Project Number</td>
145          </tr>
146          <tr>
147           <td colspan=4 align=left><b>Vendor </td>
148          </tr>
149          <tr>
150            <td align=right><input name="l_vendornumber" class=checkbox type=checkbox value=Y></td>
151            <td nowrap>Vendor Number</td>
152            <td align=right><input name="l_country" class=checkbox type=checkbox value=Y></td>
153            <td nowrap>Country</td>
154            <td align=right><input name="l_ustid" class=checkbox type=checkbox value=Y></td>
155            <td nowrap>USt-IdNr.</td>
156            <td align=right><input name="l_taxzone" class=checkbox type=checkbox value=Y></td>
157            <td nowrap>Steuersatz</td>
158           </tr>
159           <tr>
160            <td align=right><input name="l_payment_terms" class=checkbox type=checkbox value=Y></td>
161            <td nowrap>Payment Terms</td>
162            <td align=right><input name="l_charts" class=checkbox type=checkbox value=Y></td>
163            <td nowrap>Buchungskonto</td>
164           </tr>
165          </table>
166         </td>
167        </tr>
168       </table>
169      </td>
170     </tr>
171     <tr>
172      <td><hr size=3 noshade></td>
173     </tr>
174    </table>
175    <input type=hidden name=nextsub value=[% nextsub %]>
176    <br>
177    <input class=submit type=submit name=action value="Continue">
178   </form>
179  </body>
180  <script type="text/javascript">
181  <!--
182    Calendar.setup( { inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger1" });
183    Calendar.setup( { inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" });
184    $(document).ready(function(){
185     focus();
186     setupDateFormat('[% dateformat | html %]','Falsches Datumsformat!');
187     setupPoints('[% numberformat | html %]','wrongformat');
188    })
189  //-->
190  </script>
191 </html>