Zeiterfassung: SimpleSystemSettings für Typen
[kivitendo-erp.git] / templates / webpages / gl / search.html
1 [%- USE T8 %]
2 [%- USE HTML %]
3 [%- USE LxERP %]
4 [%- USE L %]
5 <h1>[% 'Journal' | $T8 %]</h1>
6
7 <form method=post id="form" action=gl.pl>
8
9 <input type=hidden name=sort value=datesort>
10
11 <table width=100%>
12   <tr>
13     <td>
14       <table>
15         <tr>
16           <th align=right>[% 'Reference / Invoice Number' | $T8 %]</th>
17           <td><input name="reference" size="20" class="initial_focus"></td>
18           <th align=right>[% 'Source' | $T8 %]</th>
19           <td><input name=source size=20></td>
20         </tr>
21         [%- IF ALL_DEPARTMENTS %]
22         <tr>
23           <th align=right nowrap>[% 'Department' | $T8 %]</th>
24           <td colspan=3>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1) %]</td>
25         </tr>
26         [%- END %]
27         <tr>
28           <th align=right>[% 'Description' | $T8 %]</th>
29           <td><input name=description size=40></td>
30           <th align=right>[% 'Account Number' | $T8 %]</th>
31           <td><input name=accno size=20></td>
32         </tr>
33         <tr>
34           <th align=right>[% 'Notes' | $T8 %]</th>
35           <td colspan=3><input name=notes size=40></td>
36         </tr>
37         <tr>
38           <th align=right>[% 'Project Number' | $T8 %]</th>
39           <td colspan=3>[% L.select_tag('project_id', ALL_PROJECTS, title_key = 'projectnumber', with_empty = 1) %]</td>
40         </tr>
41  <tr>
42     <th align=right>[% 'Employee' | $T8 %]</th>
43     <td colspan=3>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1) %]</td>
44   </tr>
45   <tr>
46     <th align=right>[% 'Filter date by' | $T8 %]</th>
47     <td colspan=3>
48     <input name=datesort class=radio type=radio value=transdate checked> [% 'Transdate' | $T8 %]
49     <input name=datesort class=radio type=radio value=gldate> [% 'Gldate' | $T8 %]
50   </td>
51   </tr>
52   <tr>
53     <th align=right>[% 'From' | $T8 %]</th>
54           <td>[% L.date_tag('datefrom') %]</td>
55           <th align=right>[% 'To (time)' | $T8 %]</th>
56           <td>[% L.date_tag('dateto') %]</td>
57         </tr>
58         <tr>
59           <th align=right>[% 'Include in Report' | $T8 %]</th>
60           <td colspan=3>
61             <table>
62               <tr>
63                 <td>
64                   <input name="category" class=radio type=radio value=X checked> [% 'All' | $T8 %]
65                   <input name="category" class=radio type=radio value=A> [% 'Asset' | $T8 %]
66                   <input name="category" class=radio type=radio value=L> [% 'Liability' | $T8 %]
67                   <input name="category" class=radio type=radio value=I> [% 'Revenue' | $T8 %]
68                   <input name="category" class=radio type=radio value=E> [% 'Expense' | $T8 %]
69                 </td>
70               </tr>
71               <tr>
72                 <table>
73                   <tr>
74                     <td align=right><input name="l_id" class=checkbox type=checkbox value=Y></td>
75                     <td>[% 'ID' | $T8 %]</td>
76                     <td align=right><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
77                     <td>[% 'Transdate' | $T8 %]</td>
78                     <td align=right><input name="l_gldate" class=checkbox type=checkbox value=Y checked></td>
79                     <td>[% 'Gldate' | $T8 %]</td>
80                     <td align=right><input name="l_reference" class=checkbox type=checkbox value=Y checked></td>
81                     <td>[% 'Reference' | $T8 %]</td>
82                     <td align=right><input name="l_description" class=checkbox type=checkbox value=Y checked></td>
83                     <td>[% 'Description' | $T8 %]</td>
84                     <td align=right><input name="l_notes" class=checkbox type=checkbox value=Y></td>
85                     <td>[% 'Notes' | $T8 %]</td>
86                   </tr>
87                   <tr>
88                     <td align=right><input name="l_debit" class=checkbox type=checkbox value=Y checked></td>
89                     <td>[% 'Debit' | $T8 %]</td>
90                     <td align=right><input name="l_credit" class=checkbox type=checkbox value=Y checked></td>
91                     <td>[% 'Credit' | $T8 %]</td>
92                     <td align=right><input name="l_source" class=checkbox type=checkbox value=Y checked></td>
93                     <td>[% 'Source' | $T8 %]</td>
94                     <td align=right><input name="l_accno" class=checkbox type=checkbox value=Y checked></td>
95                     <td>[% 'Account' | $T8 %]</td>
96                     [%- IF ALL_DEPARTMENTS %]
97                       <td align=right><input name="l_department" class=checkbox type=checkbox value=Y></td>
98                       <td>[% 'Department' | $T8 %]</td>
99                     [%- END %]
100                   </tr>
101                   <tr>
102                     <td align=right><input name="l_projectnumbers" class=checkbox type=checkbox value=Y></td>
103                     <td>[% 'Project Number' | $T8 %]</td>
104                     <td align=right><input name="l_employee" class=checkbox type=checkbox value=Y></td>
105                     <td>[% 'Employee' | $T8 %]</td>
106                   </tr>
107                   <tr>
108                     <td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
109                     <td>[% 'Subtotal' | $T8 %]</td>
110                   </tr>
111                 </table>
112               </tr>
113             </table>
114         </tr>
115       </table>
116     </td>
117   </tr>
118 </table>
119 </form>