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