Revision a85900cb
Von Hans Peter Schlaepfer vor mehr als 6 Jahren hinzugefügt
templates/webpages/gl/search.html | ||
---|---|---|
4 | 4 |
[%- USE L %] |
5 | 5 |
<h1>[% 'Journal' | $T8 %]</h1> |
6 | 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 style="color:red;">[% 'Attention!' | $T8 %]</th> |
|
47 |
<td colspan=3 style="color:red;"> |
|
48 |
[% 'Since kivitendo version 3.5 new notations, see documentation 2.14' | $T8 %] |
|
49 |
</td> |
|
50 |
</tr> |
|
51 |
<tr> |
|
52 |
<th align=right>[% 'Filter date by' | $T8 %]</th> |
|
53 |
<td colspan=3> |
|
54 |
<input name=datesort class=radio type=radio value=transdate checked> [% 'Transdate' | $T8 %] |
|
55 |
<input name=datesort class=radio type=radio value=gldate> [% 'Gldate' | $T8 %] |
|
56 |
</td> |
|
57 |
</tr> |
|
58 |
<tr> |
|
59 |
<th align=right>[% 'From' | $T8 %]</th> |
|
60 |
<td>[% L.date_tag('datefrom') %]</td> |
|
61 |
<th align=right>[% 'To (time)' | $T8 %]</th> |
|
62 |
<td>[% L.date_tag('dateto') %]</td> |
|
63 |
</tr> |
|
64 |
<tr> |
|
65 |
<th align=right>[% 'Include in Report' | $T8 %]</th> |
|
66 |
<td colspan=3> |
|
67 |
<table> |
|
68 |
<tr> |
|
69 |
<td> |
|
70 |
<input name="category" class=radio type=radio value=X checked> [% 'All' | $T8 %] |
|
71 |
<input name="category" class=radio type=radio value=A> [% 'Asset' | $T8 %] |
|
72 |
<input name="category" class=radio type=radio value=L> [% 'Liability' | $T8 %] |
|
73 |
<input name="category" class=radio type=radio value=I> [% 'Revenue' | $T8 %] |
|
74 |
<input name="category" class=radio type=radio value=E> [% 'Expense' | $T8 %] |
|
75 |
</td> |
|
76 |
</tr> |
|
77 |
<tr> |
|
78 |
<table> |
|
79 |
<tr> |
|
80 |
<td align=right><input name="l_id" class=checkbox type=checkbox value=Y></td> |
|
81 |
<td>[% 'ID' | $T8 %]</td> |
|
82 |
<td align=right><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td> |
|
83 |
<td>[% 'Transdate' | $T8 %]</td> |
|
84 |
<td align=right><input name="l_gldate" class=checkbox type=checkbox value=Y checked></td> |
|
85 |
<td>[% 'Gldate' | $T8 %]</td> |
|
86 |
<td align=right><input name="l_reference" class=checkbox type=checkbox value=Y checked></td> |
|
87 |
<td>[% 'Reference' | $T8 %]</td> |
|
88 |
<td align=right><input name="l_description" class=checkbox type=checkbox value=Y checked></td> |
|
89 |
<td>[% 'Description' | $T8 %]</td> |
|
90 |
<td align=right><input name="l_notes" class=checkbox type=checkbox value=Y></td> |
|
91 |
<td>[% 'Notes' | $T8 %]</td> |
|
92 |
</tr> |
|
93 |
<tr> |
|
94 |
<td align=right><input name="l_debit" class=checkbox type=checkbox value=Y checked></td> |
|
95 |
<td>[% 'Debit' | $T8 %]</td> |
|
96 |
<td align=right><input name="l_credit" class=checkbox type=checkbox value=Y checked></td> |
|
97 |
<td>[% 'Credit' | $T8 %]</td> |
|
98 |
<td align=right><input name="l_source" class=checkbox type=checkbox value=Y checked></td> |
|
99 |
<td>[% 'Source' | $T8 %]</td> |
|
100 |
<td align=right><input name="l_accno" class=checkbox type=checkbox value=Y checked></td> |
|
101 |
<td>[% 'Account' | $T8 %]</td> |
|
102 |
</tr> |
|
103 |
<tr> |
|
104 |
<td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y></td> |
|
105 |
<td>[% 'Subtotal' | $T8 %]</td> |
|
106 |
<td align=right><input name="l_projectnumbers" class=checkbox type=checkbox value=Y></td> |
|
107 |
<td>[% 'Project Number' | $T8 %]</td> |
|
108 |
<td align=right><input name="l_employee" class=checkbox type=checkbox value=Y></td> |
|
109 |
<td>[% 'Employee' | $T8 %]</td> |
|
110 |
</tr> |
|
111 |
</table> |
|
112 |
</tr> |
|
113 |
</table> |
|
114 |
</tr> |
|
115 |
</table> |
|
116 |
</td> |
|
117 |
</tr> |
|
7 |
<form method="post" id="form" action="gl.pl"> |
|
8 |
|
|
9 |
<input type="hidden" name="sort" value="datesort"> |
|
10 |
|
|
11 |
<div class="cols"> |
|
12 |
|
|
13 |
<table class="tbl-horizontal col"> |
|
14 |
<tbody> |
|
15 |
<tr> |
|
16 |
<th> [% 'Reference / Invoice Number' | $T8 %] </th> |
|
17 |
<td> |
|
18 |
<input name="reference" class="wi-normal" class="wi-normal initial_focus" type="text"> |
|
19 |
</td> |
|
20 |
</tr> |
|
21 |
<tr> |
|
22 |
<th> [% 'Source' | $T8 %] </th> |
|
23 |
<td> |
|
24 |
<input name="source" class="wi-normal" type="text"> |
|
25 |
</td> |
|
26 |
</tr> |
|
27 |
[%- IF ALL_DEPARTMENTS %] |
|
28 |
<tr> |
|
29 |
<th> [% 'Department' | $T8 %] </th> |
|
30 |
<td> [% L.select_tag('department_id', ALL_DEPARTMENTS, title_key='description', with_empty=1, class='wi-normal') %] </td> |
|
31 |
</tr> |
|
32 |
[%- END %] |
|
33 |
<tr> |
|
34 |
<th> [% 'Description' | $T8 %] </th> |
|
35 |
<td> |
|
36 |
<input name="description" class="wi-normal" type="text"> |
|
37 |
</td> |
|
38 |
</tr> |
|
39 |
<tr> |
|
40 |
<th> [% 'Account Number' | $T8 %] </th> |
|
41 |
<td> |
|
42 |
<input name="accno" class="wi-normal" type="text"> |
|
43 |
</td> |
|
44 |
</tr> |
|
45 |
<tr> |
|
46 |
<th> [% 'Notes' | $T8 %] </th> |
|
47 |
<td> |
|
48 |
<input name="notes" class="wi-normal" type="text"> |
|
49 |
</td> |
|
50 |
</tr> |
|
51 |
<tr> |
|
52 |
<th> [% 'Project Number' | $T8 %] </th> |
|
53 |
<td> [% L.select_tag('project_id', ALL_PROJECTS, title_key='projectnumber', with_empty=1, class='wi-normal') %] </td> |
|
54 |
</tr> |
|
55 |
<tr> |
|
56 |
<th> [% 'Employee' | $T8 %] </th> |
|
57 |
<td> [% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, class='wi-normal') %] </td> |
|
58 |
</tr> |
|
59 |
<tr> |
|
60 |
<th> [% 'Filter date by' | $T8 %] </th> |
|
61 |
<td> |
|
62 |
<input name="datesort" class="radio" type="radio" value="transdate" checked> |
|
63 |
[% 'Transdate' | $T8 %] <br> |
|
64 |
<input name="datesort" class="radio" type="radio" value="gldate"> |
|
65 |
[% 'Gldate' | $T8 %] </td> |
|
66 |
</tr> |
|
67 |
<tr> |
|
68 |
<th> [% 'From' | $T8 %] </th> |
|
69 |
<td> [% L.date_tag('datefrom') %] [% 'To (time)' | $T8 %] [% L.date_tag('dateto') %] </td> |
|
70 |
</tr> |
|
71 |
</tbody> |
|
72 |
</table> |
|
73 |
|
|
74 |
|
|
75 |
<div class="col message attention" style="width:30.0em;"> |
|
76 |
<h4>[% 'Attention!' | $T8 %]</h4> |
|
77 |
<p> [% 'Since kivitendo version 3.5 new notations, see documentation 2.14' | $T8 %] </p> |
|
78 |
</div> |
|
79 |
|
|
80 |
|
|
81 |
|
|
82 |
</div><!-- /.cols --> |
|
83 |
|
|
84 |
|
|
85 |
<div class="cols form-addition"> |
|
86 |
|
|
87 |
<h3>[% 'Include in Report' | $T8 %]</h3> |
|
88 |
|
|
89 |
|
|
90 |
<div class="list col"> |
|
91 |
<h4>[% 'Scope' | $T8 %]</h4> |
|
92 |
<p> <input name="category" class="radio" type="radio" value="X" checked> [% 'All' | $T8 %]</p> |
|
93 |
<p> <input name="category" class="radio" type="radio" value="A"> [% 'Asset' | $T8 %]</p> |
|
94 |
<p> <input name="category" class="radio" type="radio" value="L"> [% 'Liability' | $T8 %]</p> |
|
95 |
<p> <input name="category" class="radio" type="radio" value="I"> [% 'Revenue' | $T8 %]</p> |
|
96 |
<p> <input name="category" class="radio" type="radio" value="E"> [% 'Expense' | $T8 %]</p> |
|
97 |
</div> |
|
98 |
|
|
99 |
|
|
100 |
|
|
101 |
<table class="tbl-plain col"> |
|
102 |
<caption>[% 'Transaction Details' | $T8 %]</caption> |
|
103 |
<tbody> |
|
104 |
<tr> |
|
105 |
<td> |
|
106 |
<input name="l_transdate" class="checkbox" type="checkbox" value="Y" checked> |
|
107 |
[% 'Transdate' | $T8 %]</td> |
|
108 |
</tr> |
|
109 |
<tr> |
|
110 |
<td> |
|
111 |
<input name="l_gldate" class="checkbox" type="checkbox" value="Y" checked> |
|
112 |
[% 'Gldate' | $T8 %]</td> |
|
113 |
</tr> |
|
114 |
<tr> |
|
115 |
<td> |
|
116 |
<input name="l_id" class="checkbox" type="checkbox" value="Y"> |
|
117 |
[% 'ID' | $T8 %]</td> |
|
118 |
</tr> |
|
119 |
<tr> |
|
120 |
<td> |
|
121 |
<input name="l_reference" class="checkbox" type="checkbox" value="Y" checked> |
|
122 |
[% 'Reference' | $T8 %]</td> |
|
123 |
</tr> |
|
124 |
<tr> |
|
125 |
<td> |
|
126 |
<input name="l_source" class="checkbox" type="checkbox" value="Y" checked> |
|
127 |
[% 'Source' | $T8 %]</td> |
|
128 |
</tr> |
|
129 |
<tr> |
|
130 |
<td> |
|
131 |
<input name="l_description" class="checkbox" type="checkbox" value="Y" checked> |
|
132 |
[% 'Description' | $T8 %]</td> |
|
133 |
</tr> |
|
134 |
<tr> |
|
135 |
<td> |
|
136 |
<input name="l_notes" class="checkbox" type="checkbox" value="Y"> |
|
137 |
[% 'Notes' | $T8 %]</td> |
|
138 |
</tr> |
|
139 |
</tbody> |
|
140 |
</table> |
|
141 |
|
|
142 |
|
|
143 |
<table class="tbl-plain col"> |
|
144 |
<caption>[% 'Accounts' | $T8 %] & [% 'Sum' | $T8 %]</caption> |
|
145 |
<tbody> |
|
146 |
<tr> |
|
147 |
<td> |
|
148 |
<input name="l_debit" class="checkbox" type="checkbox" value="Y" checked> |
|
149 |
[% 'Debit' | $T8 %]</td> |
|
150 |
</tr> |
|
151 |
<tr> |
|
152 |
<td> |
|
153 |
<input name="l_credit" class="checkbox" type="checkbox" value="Y" checked> |
|
154 |
[% 'Credit' | $T8 %]</td> |
|
155 |
</tr> |
|
156 |
<tr> |
|
157 |
<td> |
|
158 |
<input name="l_accno" class="checkbox" type="checkbox" value="Y" checked> |
|
159 |
[% 'Account' | $T8 %]</td> |
|
160 |
</tr> |
|
161 |
<tr> |
|
162 |
<td> |
|
163 |
<input name="l_subtotal" class="checkbox" type="checkbox" value="Y"> |
|
164 |
[% 'Subtotal' | $T8 %]</td> |
|
165 |
</tr> |
|
166 |
</tbody> |
|
167 |
</table> |
|
168 |
|
|
169 |
|
|
170 |
<table class="tbl-plain col"> |
|
171 |
<caption>[% 'Divers' | $T8 %]</caption> |
|
172 |
<tbody> |
|
173 |
<tr> |
|
174 |
<td> |
|
175 |
<input name="l_projectnumbers" class="checkbox" type="checkbox" value="Y"> |
|
176 |
[% 'Project Number' | $T8 %]</td> |
|
177 |
</tr> |
|
178 |
<tr> |
|
179 |
<td> |
|
180 |
<input name="l_employee" class="checkbox" type="checkbox" value="Y"> |
|
181 |
[% 'Employee' | $T8 %]</td> |
|
182 |
</tr> |
|
183 |
</tbody> |
|
118 | 184 |
</table> |
185 |
|
|
186 |
|
|
187 |
|
|
188 |
|
|
189 |
</div><!-- /.cols --> |
|
190 |
|
|
119 | 191 |
</form> |
Auch abrufbar als: Unified diff
Preview design 4.0