E-Mail-Journal: Journal anzeigen, Eintrag anzeigen, Anhänge herunterladen
[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 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', all_departments, value_title_sub = \department_label, 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=gldate checked> [% 'Booking Date' | $T8 %]
49     <input name=datesort class=radio type=radio value=transdate> [% 'Invoice Date' | $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>[% 'Invoice Date' | $T8 %]</td>
78                     <td align=right><input name="l_gldate" class=checkbox type=checkbox value=Y checked></td>
79                     <td>[% 'Booking Date' | $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                   </tr>
97                   <tr>
98                     <td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
99                     <td>[% 'Subtotal' | $T8 %]</td>
100                     <td align=right><input name="l_projectnumbers" class=checkbox type=checkbox value=Y></td>
101                     <td>[% 'Project Number' | $T8 %]</td>
102                     <td align=right><input name="l_employee" class=checkbox type=checkbox value=Y></td>
103                     <td>[% 'Employee' | $T8 %]</td>
104                   </tr>
105                 </table>
106               </tr>
107             </table>
108         </tr>
109       </table>
110     </td>
111   </tr>
112   <tr>
113     <td><hr size=3 noshade></td>
114   </tr>
115 </table>
116
117 <input type=hidden name=nextsub value=generate_report>
118
119 <br>
120 <input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
121 </form>