Revision 77f7372c
Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt
templates/webpages/ic/search_update_prices.html | ||
---|---|---|
1 |
[%- USE T8 %]
|
|
2 |
[%- USE HTML %]
|
|
3 |
[%- USE LxERP %]
|
|
4 |
[%- USE L %]
|
|
1 |
[% USE T8 %] |
|
2 |
[% USE HTML %] |
|
3 |
[% USE LxERP %] |
|
4 |
[% USE L %] |
|
5 | 5 |
<h1>[% 'Update prices' | $T8 %]</h1> |
6 | 6 |
|
7 | 7 |
[% INCLUDE 'common/flash.html' %] |
8 | 8 |
|
9 | 9 |
<form method="post" action="controller.pl" id="form"> |
10 |
<table> |
|
11 |
<tr> |
|
12 |
<th align="right" nowrap>[% 'Part Number' | $T8 %]</th> |
|
13 |
<td>[% L.input_tag('filter.partnumber', FORM.filter.partnumber, size=20) %]</td> |
|
14 |
</tr> |
|
10 |
<div class="wrapper"> |
|
15 | 11 |
|
16 |
<tr> |
|
17 |
<th align="right" nowrap>[% 'Part Description' | $T8 %]</th> |
|
18 |
<td colspan="3">[% L.input_tag('filter.description', FORM.filter.description, size=20) %]</td> |
|
19 |
</tr> |
|
12 |
<table class="tbl-horizontal"> |
|
13 |
<tbody> |
|
14 |
<tr> |
|
15 |
<th>[% 'Part Number' | $T8 %]</th> |
|
16 |
<td>[% L.input_tag('filter.partnumber', FORM.filter.partnumber, size=20) %]</td> |
|
17 |
</tr> |
|
18 |
<tr> |
|
19 |
<th>[% 'Part Description' | $T8 %]</th> |
|
20 |
<td colspan="3">[% L.input_tag('filter.description', FORM.filter.description, size=20) %]</td> |
|
21 |
</tr> |
|
22 |
<tr> |
|
23 |
<th>[% 'Partsgroup' | $T8 %]</th> |
|
24 |
<td>[% L.input_tag('filter.partsgroup', FORM.filter.partsgroup, size=20) %]</td> |
|
25 |
</tr> |
|
26 |
<tr> |
|
27 |
<th>[% 'Serial Number' | $T8 %]</th> |
|
28 |
<td>[% L.input_tag('filter.serialnumber', FORM.filter.serialnumber, size=20) %]</td> |
|
29 |
</tr> |
|
30 |
<tr> |
|
31 |
<th>[% 'Scope' | $T8 %]</th> |
|
32 |
<td> |
|
33 |
<div class="list"> |
|
34 |
[% L.radio_button_tag('filter.itemstatus', value='active', label=LxERP.t8('Active'), checked=!FORM.filter.itemstatus||FORM.filter.itemstatus=='active') %]<br> |
|
35 |
[% L.radio_button_tag('filter.itemstatus', value='onhand', label=LxERP.t8('On Hand'), checked=FORM.filter.itemstatus=='onhand') %]<br> |
|
36 |
[% L.radio_button_tag('filter.itemstatus', value='short', label=LxERP.t8('Short'), checked=FORM.filter.itemstatus=='short') %]<br> |
|
37 |
[% L.radio_button_tag('filter.itemstatus', value='obsolete', label=LxERP.t8('Obsolete'), checked=FORM.filter.itemstatus=='obsolete') %]<br> |
|
38 |
[% L.radio_button_tag('filter.itemstatus', value='orphaned', label=LxERP.t8('Orphaned'), checked=FORM.filter.itemstatus=='orphaned') %] |
|
39 |
</div> |
|
40 |
</td> |
|
41 |
</tr> |
|
42 |
</tbody> |
|
43 |
</table> |
|
20 | 44 |
|
21 |
<tr> |
|
22 |
<th align="right" nowrap>[% 'Partsgroup' | $T8 %]</th> |
|
23 |
<td>[% L.input_tag('filter.partsgroup', FORM.filter.partsgroup, size=20) %]</td> |
|
24 |
<th align="right" nowrap>[% 'Serial Number' | $T8 %]</th> |
|
25 |
<td>[% L.input_tag('filter.serialnumber', FORM.filter.serialnumber, size=20) %]</td> |
|
26 |
</tr> |
|
27 | 45 |
|
28 |
<tr> |
|
29 |
<th align="right" nowrap>[% 'Make' | $T8 %]</th> |
|
30 |
<td>[% L.input_tag('filter.make', FORM.filter.make, size=20) %]</td> |
|
31 |
<th align="right" nowrap>[% 'Model' | $T8 %]</th> |
|
32 |
<td>[% L.input_tag('filter.model', FORM.filter.model, size=20) %]</td> |
|
33 |
</tr> |
|
46 |
<table class="tbl-horizontal"> |
|
47 |
<tbody> |
|
48 |
<tr> |
|
49 |
<th>[% 'Make' | $T8 %]</th> |
|
50 |
<td>[% L.input_tag('filter.make', FORM.filter.make, size=20) %]</td> |
|
51 |
</tr> |
|
52 |
<tr> |
|
53 |
<th>[% 'Model' | $T8 %]</th> |
|
54 |
<td>[% L.input_tag('filter.model', FORM.filter.model, size=20) %]</td> |
|
55 |
</tr> |
|
56 |
</tbody> |
|
57 |
</table> |
|
34 | 58 |
|
35 |
<tr> |
|
36 |
<th align="right" nowrap>[% 'Drawing' | $T8 %]</th> |
|
37 |
<td>[% L.input_tag('filter.drawing', FORM.filter.drawing, size=20) %]</td> |
|
38 |
<th align="right" nowrap>[% 'Microfiche' | $T8 %]</th> |
|
39 |
<td>[% L.input_tag('filter.microfiche', FORM.filter.microfiche, size=20) %]</td> |
|
40 |
</tr> |
|
41 | 59 |
|
42 |
<tr> |
|
43 |
<td></td> |
|
44 |
<td colspan="3"> |
|
45 |
[% L.radio_button_tag('filter.itemstatus', value='active', label=LxERP.t8('Active'), checked=!FORM.filter.itemstatus||FORM.filter.itemstatus=='active') %] |
|
46 |
[% L.radio_button_tag('filter.itemstatus', value='onhand', label=LxERP.t8('On Hand'), checked=FORM.filter.itemstatus=='onhand') %] |
|
47 |
[% L.radio_button_tag('filter.itemstatus', value='short', label=LxERP.t8('Short'), checked=FORM.filter.itemstatus=='short') %] |
|
48 |
[% L.radio_button_tag('filter.itemstatus', value='obsolete', label=LxERP.t8('Obsolete'), checked=FORM.filter.itemstatus=='obsolete') %] |
|
49 |
[% L.radio_button_tag('filter.itemstatus', value='orphaned', label=LxERP.t8('Orphaned'), checked=FORM.filter.itemstatus=='orphaned') %] |
|
50 |
</td> |
|
51 |
</tr> |
|
52 |
</table> |
|
60 |
<table class="tbl-horizontal"> |
|
61 |
<tbody> |
|
62 |
<tr> |
|
63 |
<th>[% 'Drawing' | $T8 %]</th> |
|
64 |
<td>[% L.input_tag('filter.drawing', FORM.filter.drawing, size=20) %]</td> |
|
65 |
</tr> |
|
66 |
<tr> |
|
67 |
<th>[% 'Microfiche' | $T8 %]</th> |
|
68 |
<td>[% L.input_tag('filter.microfiche', FORM.filter.microfiche, size=20) %]</td> |
|
69 |
</tr> |
|
70 |
</tbody> |
|
71 |
</table> |
|
53 | 72 |
|
54 |
<hr size="1" noshade>
|
|
73 |
</div><!-- /.wrapper -->
|
|
55 | 74 |
|
56 |
<table> |
|
57 |
<tr> |
|
58 |
<th class="listheading">[% 'Price group' | $T8 %]</th> |
|
59 |
<th class="listheading">[% 'Preis' | $T8 %]</th> |
|
60 |
<th class="listheading">[% 'Prozentual/Absolut' | $T8 %]</th> |
|
61 |
</tr> |
|
75 |
<div class="wrapper"> |
|
62 | 76 |
|
63 |
<tr> |
|
64 |
<td>[% 'Sell Price' | $T8 %]</td> |
|
65 |
<td>[% L.input_tag('filter.prices.sellprice.price_as_number', FORM.filter.prices.sellprice.price_as_number, size=11) %]</td> |
|
66 |
<td align="center"> |
|
67 |
[% L.radio_button_tag("filter.prices.sellprice.type", |
|
68 |
value="percent", |
|
69 |
checked=!FORM.filter.prices.sellprice.type || FORM.filter.prices.sellprice.type == 'percent') %] / |
|
70 |
[% L.radio_button_tag("filter.prices.sellprice.type", |
|
71 |
value="absolut", |
|
72 |
checked=FORM.filter.prices.sellprice.type == 'absolut') %] |
|
73 |
</td> |
|
74 |
</tr> |
|
77 |
<table class="tbl-horizontal"> |
|
78 |
<thead> |
|
79 |
<tr> |
|
80 |
<th>[% 'Price group' | $T8 %]</th> |
|
81 |
<th>[% 'Preis' | $T8 %]</th> |
|
82 |
<th>[% 'Prozentual/Absolut' | $T8 %]</th> |
|
83 |
</tr> |
|
84 |
</thead> |
|
85 |
<tbody> |
|
86 |
<tr> |
|
87 |
<th>[% 'Sell Price' | $T8 %]</th> |
|
88 |
<td>[% L.input_tag('filter.prices.sellprice.price_as_number', FORM.filter.prices.sellprice.price_as_number, size=11) %]</td> |
|
89 |
<td class="center"> |
|
90 |
[% L.radio_button_tag("filter.prices.sellprice.type", |
|
91 |
value="percent", |
|
92 |
checked=!FORM.filter.prices.sellprice.type || FORM.filter.prices.sellprice.type == 'percent') %] / |
|
93 |
[% L.radio_button_tag("filter.prices.sellprice.type", |
|
94 |
value="absolut", |
|
95 |
checked=FORM.filter.prices.sellprice.type == 'absolut', class='horizontal') %] |
|
96 |
</td> |
|
97 |
</tr> |
|
98 |
<tr> |
|
99 |
<th>[% 'List Price' | $T8 %]</th> |
|
100 |
<td>[% L.input_tag('filter.prices.listprice.price_as_number', FORM.filter.prices.listprice.price_as_number, size=11) %]</td> |
|
101 |
<td class="center"> |
|
102 |
[% L.radio_button_tag("filter.prices.listprice.type", |
|
103 |
value="percent", |
|
104 |
checked=!FORM.filter.prices.listprice.type || FORM.filter.prices.listprice.type == 'percent', class='horizontal') %] / |
|
105 |
[% L.radio_button_tag("filter.prices.listprice.type", |
|
106 |
value="absolut", |
|
107 |
checked=FORM.filter.prices.listprice.type == 'absolut', class='horizontal') %] |
|
108 |
</td> |
|
109 |
</tr> |
|
110 |
[% FOREACH pg = SELF.pricegroups %] |
|
111 |
<tr> |
|
112 |
<th>[% pg.pricegroup | html %]</th> |
|
113 |
<td>[% L.input_tag('filter.prices.' _ pg.id _ '.price_as_number', FORM.filter.prices.${pg.id}.price_as_number, size=11) %]</td> |
|
114 |
<td class="center"> |
|
115 |
[% L.radio_button_tag("filter.prices." _ pg.id _ ".type", |
|
116 |
value="percent", |
|
117 |
checked=!FORM.filter.prices.${pg.id}.type || FORM.filter.prices.${pg.id}.type == 'percent', class='horizontal') %] / |
|
118 |
[% L.radio_button_tag("filter.prices." _ pg.id _ ".type", |
|
119 |
value="absolut", |
|
120 |
checked=FORM.filter.prices.${pg.id}.type == 'absolut', class='horizontal') %] |
|
121 |
</td> |
|
122 |
</tr> |
|
123 |
[% END %] |
|
124 |
</tbody> |
|
125 |
</table> |
|
75 | 126 |
|
76 |
<tr> |
|
77 |
<td>[% 'List Price' | $T8 %]</td> |
|
78 |
<td>[% L.input_tag('filter.prices.listprice.price_as_number', FORM.filter.prices.listprice.price_as_number, size=11) %]</td> |
|
79 |
<td align="center"> |
|
80 |
[% L.radio_button_tag("filter.prices.listprice.type", |
|
81 |
value="percent", |
|
82 |
checked=!FORM.filter.prices.listprice.type || FORM.filter.prices.listprice.type == 'percent') %] / |
|
83 |
[% L.radio_button_tag("filter.prices.listprice.type", |
|
84 |
value="absolut", |
|
85 |
checked=FORM.filter.prices.listprice.type == 'absolut') %] |
|
86 |
</td> |
|
87 |
</tr> |
|
127 |
</div><!-- /.wrapper --> |
|
88 | 128 |
|
89 |
[%- FOREACH pg = SELF.pricegroups %] |
|
90 |
<tr> |
|
91 |
<td>[% pg.pricegroup | html %]</td> |
|
92 |
<td>[% L.input_tag('filter.prices.' _ pg.id _ '.price_as_number', FORM.filter.prices.${pg.id}.price_as_number, size=11) %]</td> |
|
93 |
<td align="center"> |
|
94 |
[% L.radio_button_tag("filter.prices." _ pg.id _ ".type", |
|
95 |
value="percent", |
|
96 |
checked=!FORM.filter.prices.${pg.id}.type || FORM.filter.prices.${pg.id}.type == 'percent') %] / |
|
97 |
[% L.radio_button_tag("filter.prices." _ pg.id _ ".type", |
|
98 |
value="absolut", |
|
99 |
checked=FORM.filter.prices.${pg.id}.type == 'absolut') %] |
|
100 |
</td> |
|
101 |
</tr> |
|
102 |
[%- END %] |
|
103 |
|
|
104 |
</table> |
|
105 | 129 |
</form> |
Auch abrufbar als: Unified diff
Neues kivitendo Design restliche Aenderungen in templates/webpages/i*
Dateien ic/* io/* ir/* is/*