Revision 02a2074e
Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt
templates/webpages/vk/search_invoice.html | ||
---|---|---|
72 | 72 |
</tbody> |
73 | 73 |
</table> |
74 | 74 |
|
75 |
<table class="tbl-horizontal"> |
|
76 |
<caption>[% 'Parts' | $T8 %]</caption> |
|
77 |
<colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup> |
|
78 |
<tbody> |
|
75 | 79 |
<tr> |
76 |
<td></td> |
|
77 |
<td colspan="7"> |
|
78 |
<hr size="1" noshade=""> |
|
79 |
</td> |
|
80 |
<th>[% 'Part Number' | $T8 %]</th> |
|
81 |
<td>[% P.input_tag("partnumber", "", class='wi-small') %]</td> |
|
82 |
</tr> |
|
80 | 83 |
<tr> |
81 |
|
|
84 |
<th>[% 'Part Description' | $T8 %]</th> |
|
85 |
<td>[% P.input_tag("description", "", class='wi-wide') %]</td> |
|
86 |
</tr> |
|
82 | 87 |
<tr> |
83 |
<th align=right>[% 'Customer' | $T8 %]</th> |
|
84 |
<td>[% P.input_tag("customer", "", class="initial_focus", style=style) %]</td> |
|
85 |
|
|
86 |
<th align="right" nowrap>[% 'Customer Number' | $T8 %]</th> |
|
87 |
<td>[% P.input_tag("customernumber", "", style=style) %]</td> |
|
88 |
<th>[% 'Partsgroup' | $T8 %]</th> |
|
89 |
<td>[% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, title_key="partsgroup", with_empty=1, class='wi-wide') %]</td> |
|
88 | 90 |
</tr> |
91 |
</tbody> |
|
92 |
</table> |
|
89 | 93 |
|
94 |
<table class="tbl-horizontal"> |
|
95 |
<caption>[% 'Invoices' | $T8 %]</caption> |
|
96 |
<colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup> |
|
97 |
<tbody> |
|
90 | 98 |
<tr> |
91 |
<th align=right nowrap>[% 'Department' | $T8 %]</th> |
|
92 |
<td> |
|
93 |
[%- L.select_tag('department_id', |
|
94 |
ALL_DEPARTMENTS, |
|
95 |
title_key = 'description', |
|
96 |
with_empty = 1, |
|
97 |
style = style) |
|
98 |
-%] |
|
99 |
</td> |
|
100 |
|
|
101 |
<th align="right">[% 'Project Number' | $T8 %]</th> |
|
102 |
<td>[% P.project.picker("project_id", "", style=style) %]</td> |
|
99 |
<th>[% 'Invoice Date' | $T8 %]</th> |
|
100 |
<td><span class="wi-date"> |
|
101 |
[% #'From' | $T8 %] |
|
102 |
[% L.date_tag('transdatefrom') %] |
|
103 |
[% 'Bis' | $T8 %] |
|
104 |
[% L.date_tag('transdateto') %] |
|
105 |
</span></td> |
|
103 | 106 |
</tr> |
107 |
</tbody> |
|
108 |
</table> |
|
104 | 109 |
|
110 |
</div><!-- /.col --> |
|
111 |
|
|
112 |
<div class="col"> |
|
113 |
|
|
114 |
<table class="tbl-horizontal"> |
|
115 |
<caption>[% 'Customers' | $T8 %]</caption> |
|
116 |
<colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup> |
|
117 |
<tbody> |
|
105 | 118 |
<tr> |
106 |
<th align="right" nowrap>[% 'Part Number' | $T8 %]</th>
|
|
107 |
<td>[% P.input_tag("partnumber", "", style=style) %]</td>
|
|
119 |
<th>[% 'Customer' | $T8 %]</th>
|
|
120 |
<td>[% P.input_tag( "customer", "", class="initial_focus", class='wi-wide' ) %]</td>
|
|
108 | 121 |
</tr> |
109 |
|
|
110 | 122 |
<tr> |
111 |
<th align="right" nowrap>[% 'Part Description' | $T8 %]</th>
|
|
112 |
<td>[% P.input_tag("description", "", style=style) %]</td>
|
|
123 |
<th>[% 'Customer Number' | $T8 %]</th>
|
|
124 |
<td>[% P.input_tag( "customernumber", "", class='wi-small' ) %]</td>
|
|
113 | 125 |
</tr> |
114 |
|
|
115 | 126 |
<tr> |
116 |
<th align="right">[% 'Partsgroup' | $T8 %]</th> |
|
117 |
<td>[% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, title_key="partsgroup", with_empty=1, style=style) %]</td> |
|
118 |
<td align="right" nowrap>[% 'Country' | $T8 %]</td> |
|
119 |
<td>[% P.input_tag("country", "", style=style) %]</td> |
|
127 |
<th>[% 'Customer type' | $T8 %]</th> |
|
128 |
<td>[% L.select_tag("business_id", ALL_BUSINESS_TYPES, title_key="description", with_empty=1, class='wi-wide') %]</td> |
|
120 | 129 |
</tr> |
130 |
</tbody> |
|
131 |
</table> |
|
121 | 132 |
|
133 |
<table class="tbl-horizontal"> |
|
134 |
<caption>[% 'Handling' | $T8 %]</caption> |
|
135 |
<colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup> |
|
136 |
<tbody> |
|
122 | 137 |
<tr> |
123 |
<th align="right">[% 'Employee' | $T8 %]</th> |
|
124 |
<td>[% L.select_tag("employee_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, style=style) %]</td> |
|
125 |
|
|
126 |
<th align="right">[% 'Salesman' | $T8 %]</th> |
|
127 |
<td>[% L.select_tag("salesman_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, style=style) %]</td> |
|
138 |
<th>[% 'Employee' | $T8 %]</th> |
|
139 |
<td>[% L.select_tag("employee_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, class='wi-wide') %]</td> |
|
128 | 140 |
</tr> |
129 |
|
|
130 | 141 |
<tr> |
131 |
<th align="right">[% 'Customer type' | $T8 %]</th>
|
|
132 |
<td>[% L.select_tag("business_id", ALL_BUSINESS_TYPES, title_key="description", with_empty=1, style=style) %]</td>
|
|
142 |
<th>[% 'Salesman' | $T8 %]</th>
|
|
143 |
<td>[% L.select_tag("salesman_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, class='wi-wide') %]</td>
|
|
133 | 144 |
</tr> |
134 |
|
|
135 | 145 |
<tr> |
136 |
<th align=right nowrap>[% 'Invoice Date' | $T8 %] [% 'From' | $T8 %]</th> |
|
137 |
<td> |
|
138 |
[% L.date_tag('transdatefrom') %] |
|
139 |
[% 'Bis' | $T8 %] |
|
140 |
[% L.date_tag('transdateto') %] |
|
141 |
</td> |
|
146 |
<th>[% 'Department' | $T8 %]</th> |
|
147 |
<td>[% L.select_tag( 'department_id', ALL_DEPARTMENTS, title_key='description', with_empty = 1, class='wi-wide' ) %]</td> |
|
142 | 148 |
</tr> |
143 |
|
|
144 |
|
|
145 | 149 |
<tr> |
146 |
<td></td> |
|
147 |
<th colspan="4" align="left"> |
|
148 |
[% 'Filter for customer variables' | $T8 %] |
|
149 |
</th> |
|
150 |
<th>[% 'Project Number' | $T8 %]</th> |
|
151 |
<td>[% P.project.picker("project_id", "", class='wi-small') %]</td> |
|
150 | 152 |
</tr> |
151 |
[% CUSTOM_VARIABLES_FILTER_CODE_CT %] |
|
153 |
<tr> |
|
154 |
<th>[% 'Country' | $T8 %]</th> |
|
155 |
<td>[% P.input_tag("country", "", class='wi-wide') %]</td> |
|
156 |
</tr> |
|
157 |
</tbody> |
|
158 |
</table> |
|
159 |
|
|
160 |
</div><!-- /.col --> |
|
152 | 161 |
|
162 |
<div class="col"> |
|
153 | 163 |
|
164 |
<table class="tbl-horizontal"> |
|
165 |
<caption>[% 'Filter for customer variables' | $T8 %]</caption> |
|
166 |
<colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup> |
|
167 |
<tbody> |
|
168 |
[% CUSTOM_VARIABLES_FILTER_CODE_CT %] |
|
154 | 169 |
<tr> |
155 |
<td></td> |
|
156 |
<th colspan="4" align="left"> |
|
157 |
[% 'Filter for item variables' | $T8 %] |
|
158 |
</th> |
|
170 |
<th class="caption" colspan="2">[% 'Filter for item variables' | $T8 %]</th> |
|
159 | 171 |
</tr> |
160 | 172 |
[% CUSTOM_VARIABLES_FILTER_CODE_IC %] |
173 |
</tbody> |
|
174 |
</table> |
|
161 | 175 |
|
176 |
</div> |
|
177 |
|
|
178 |
</div><!-- /.wrapper --> |
|
179 |
|
|
180 |
<div class="buttons"> |
|
181 |
<input type=submit name=action value="[% 'Continue' | $T8 %]"> |
|
182 |
</div> |
|
162 | 183 |
|
163 | 184 |
<div class="wrapper form-addition control-panel"> |
164 | 185 |
<h3>[% 'Include in Report' | $T8 %]</h3> |
... | ... | |
241 | 262 |
|
242 | 263 |
</form> |
243 | 264 |
|
244 |
<script type="text/javascript"> |
|
245 |
<!-- |
|
246 |
$(document).ready(function(){ |
|
247 |
$('customer').focus(); |
|
248 |
}) |
|
249 |
//--> |
|
250 |
</script> |
|
265 |
<script type="text/javascript"><!-- |
|
266 |
$(document).ready(function(){ |
|
267 |
$('customer').focus(); |
|
268 |
}) |
|
269 |
//--></script> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/vk/search_invoice.html Neue Ordnung in Suchmaske