Revision b735fe68
Von Hans P. Schlaepfer vor etwa 4 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>
|
|
7 |
<form method="post" id="form" action="gl.pl">
|
|
8 | 8 |
|
9 |
<input type=hidden name=sort value=datesort>
|
|
9 |
<input type="hidden" name="sort" value="datesort">
|
|
10 | 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 |
</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> |
|
11 |
<div class="wrapper"> |
|
12 |
|
|
13 |
<table class="tbl-horizontal"> |
|
14 |
<tbody> |
|
15 |
<tr> |
|
16 |
<th>[% 'Reference / Invoice Number' | $T8 %]</th> |
|
17 |
<td><input name="reference" class="wi-normal initial_focus" type="text"></td> |
|
18 |
</tr> |
|
19 |
<tr> |
|
20 |
<th>[% 'Source' | $T8 %]</th> |
|
21 |
<td><input name="source" class="wi-normal" type="text"></td> |
|
22 |
</tr> |
|
23 |
[% IF ALL_DEPARTMENTS %] |
|
24 |
<tr> |
|
25 |
<th>[% 'Department' | $T8 %]</th> |
|
26 |
<td>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key='description', with_empty=1, class='wi-normal') %]</td> |
|
27 |
</tr> |
|
28 |
[% END %] |
|
29 |
<tr> |
|
30 |
<th>[% 'Description' | $T8 %]</th> |
|
31 |
<td><input name="description" class="wi-normal" type="text"></td> |
|
32 |
</tr> |
|
33 |
<tr> |
|
34 |
<th>[% 'Account Number' | $T8 %]</th> |
|
35 |
<td><input name="accno" class="wi-normal" type="text"></td> |
|
36 |
</tr> |
|
37 |
<tr> |
|
38 |
<th>[% 'Notes' | $T8 %]</th> |
|
39 |
<td><input name="notes" class="wi-normal" type="text"></td> |
|
40 |
</tr> |
|
41 |
<tr> |
|
42 |
<th>[% 'Project Number' | $T8 %]</th> |
|
43 |
<td>[% L.select_tag('project_id', ALL_PROJECTS, title_key='projectnumber', with_empty=1, class='wi-normal') %]</td> |
|
44 |
</tr> |
|
45 |
<tr> |
|
46 |
<th>[% 'Employee' | $T8 %]</th> |
|
47 |
<td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, class='wi-normal') %]</td> |
|
48 |
</tr> |
|
49 |
<tr> |
|
50 |
<th>[% 'Filter date by' | $T8 %]</th> |
|
51 |
<td> |
|
52 |
<input name="datesort" type="radio" value="transdate" checked> [% 'Transdate' | $T8 %] <br> |
|
53 |
<input name="datesort" type="radio" value="gldate"> [% 'Gldate' | $T8 %]</td> |
|
54 |
</tr> |
|
55 |
<tr> |
|
56 |
<th>[% 'From' | $T8 %]</th> |
|
57 |
<td>[% L.date_tag('datefrom') %] [% 'To (time)' | $T8 %] [% L.date_tag('dateto') %]</td> |
|
58 |
</tr> |
|
59 |
</tbody> |
|
112 | 60 |
</table> |
61 |
|
|
62 |
</div><!-- /.wrapper --> |
|
63 |
|
|
64 |
<div class="wrapper form-addition control-panel"> |
|
65 |
<h3>[% 'Include in Report' | $T8 %]</h3> |
|
66 |
<div class="list col"> |
|
67 |
<h4 class="caption">[% 'Scope' | $T8 %]</h4> |
|
68 |
<div> |
|
69 |
<input name="category" type="radio" value="X" checked> [% 'All' | $T8 %] |
|
70 |
</div> |
|
71 |
<div> |
|
72 |
<input name="category" type="radio" value="A"> [% 'Asset' | $T8 %] |
|
73 |
</div> |
|
74 |
<div> |
|
75 |
<input name="category" type="radio" value="L"> [% 'Liability' | $T8 %] |
|
76 |
</div> |
|
77 |
<div> |
|
78 |
<input name="category" type="radio" value="I"> [% 'Revenue' | $T8 %] |
|
79 |
</div> |
|
80 |
<div> |
|
81 |
<input name="category" type="radio" value="E"> [% 'Expense' | $T8 %] |
|
82 |
</div> |
|
83 |
</div> |
|
84 |
<div class="list col"> |
|
85 |
<h4>[% 'Transaction Details' | $T8 %]</h4> |
|
86 |
<div> |
|
87 |
<input name="l_transdate" type="checkbox" value="Y" checked> [% 'Transdate' | $T8 %] |
|
88 |
</div> |
|
89 |
<div> |
|
90 |
<input name="l_gldate" type="checkbox" value="Y" checked> [% 'Gldate' | $T8 %] |
|
91 |
</div> |
|
92 |
<div> |
|
93 |
<input name="l_id" type="checkbox" value="Y"> [% 'ID' | $T8 %] |
|
94 |
</div> |
|
95 |
<div> |
|
96 |
<input name="l_reference" type="checkbox" value="Y" checked> [% 'Reference' | $T8 %] |
|
97 |
</div> |
|
98 |
<div> |
|
99 |
<input name="l_source" type="checkbox" value="Y" checked> [% 'Source' | $T8 %] |
|
100 |
</div> |
|
101 |
<div> |
|
102 |
<input name="l_description" type="checkbox" value="Y" checked> [% 'Description' | $T8 %] |
|
103 |
</div> |
|
104 |
<div> |
|
105 |
<input name="l_notes" type="checkbox" value="Y"> [% 'Notes' | $T8 %] |
|
106 |
</div> |
|
107 |
</div> |
|
108 |
<div class="list col"> |
|
109 |
<h4>[% 'Accounts' | $T8 %] & [% 'Sum' | $T8 %]</h4> |
|
110 |
<div> |
|
111 |
<input name="l_debit" type="checkbox" value="Y" checked> [% 'Debit' | $T8 %] |
|
112 |
</div> |
|
113 |
<div> |
|
114 |
<input name="l_credit" type="checkbox" value="Y" checked> [% 'Credit' | $T8 %] |
|
115 |
</div> |
|
116 |
<div> |
|
117 |
<input name="l_accno" type="checkbox" value="Y" checked> [% 'Account' | $T8 %] |
|
118 |
</div> |
|
119 |
<div> |
|
120 |
<input name="l_subtotal" type="checkbox" value="Y"> [% 'Subtotal' | $T8 %] |
|
121 |
</div> |
|
122 |
</div> |
|
123 |
<div class="list col"> |
|
124 |
<h4>[% 'Divers' | $T8 %]</h4> |
|
125 |
<div> |
|
126 |
<input name="l_projectnumbers" type="checkbox" value="Y"> [% 'Project Number' | $T8 %] |
|
127 |
</div> |
|
128 |
<div> |
|
129 |
<input name="l_employee" type="checkbox" value="Y"> [% 'Employee' | $T8 %] |
|
130 |
</div> |
|
131 |
</div> |
|
132 |
</div> |
|
133 |
<!-- /.wrapper.form-addition --> |
|
134 |
|
|
135 |
|
|
113 | 136 |
</form> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/gl/