Revision 7f776d77
Von Werner Hahn vor mehr als 7 Jahren hinzugefügt
templates/webpages/part/form.html | ||
---|---|---|
41 | 41 |
[%- IF CUSTOM_VARIABLES.size %] |
42 | 42 |
<li><a href="#custom_variables">[% 'Custom Variables' | $T8 %]</a></li> |
43 | 43 |
[%- END %] |
44 |
[% IF AUTH.assert('shop_part_edit', 1) && SELF.part.id %] |
|
44 |
[% IF AUTH.assert('shop_part_edit', 1) && SELF.part.id && SELF.part.shop %]
|
|
45 | 45 |
<li><a href="#shop_variables">[% 'Shop variables' | $T8 %]</a></li> |
46 | 46 |
[% END %] |
47 | 47 |
</ul> |
templates/webpages/shop_part/_filter.html | ||
---|---|---|
2 | 2 |
[%- USE L %] |
3 | 3 |
[%- USE LxERP %] |
4 | 4 |
[%- USE HTML %] |
5 |
<form action='controller.pl' method='post' id="shop_part_filter"> |
|
5 |
<form action='controller.pl' metdod='post' id="shop_part_filter"> |
|
6 |
[% L.hidden_tag('filter.shop.obsolete', 0) %] |
|
6 | 7 |
<table id='filter_table'> |
7 | 8 |
|
8 | 9 |
<tr> |
9 |
<th align="right">[% 'Shop' | $T8 %]</th>
|
|
10 |
<td>[% 'Shop' | $T8 %]</td>
|
|
10 | 11 |
<td>[% L.select_tag('filter.shop_id:eq_ignore_empty', SELF.shops, value_key = 'value', title_key = 'title', default=0) %]</td> |
11 | 12 |
</tr> |
13 |
<tr> |
|
14 |
<td>[% 'Part marked as "Shop article"' %] |
|
15 |
<td>[% L.yes_no_tag('filter.part.shop', FORM.filter.part.shop, default='1', with_empty=1, empty_title='---') %]</td> |
|
16 |
</tr> |
|
12 | 17 |
|
13 | 18 |
</table> |
14 | 19 |
|
15 |
|
|
16 |
<a href='#' onClick='javascript:$("#filter_table input").val("");$("#filter_table input[type=checkbox]").prop("checked", 0);'>[% 'Reset' | $T8 %]</a> |
|
17 |
<br> |
|
18 |
|
|
19 |
[% L.hidden_tag('action', 'ShopPart/dispatch') %] |
|
20 |
[% L.submit_tag('action_list_articles',LxERP.t8('renew')) %] |
|
21 |
|
|
20 |
<p> |
|
21 |
<a href='#' onClick='javascript:$("#filter_table input").val("");$("#filter_table input[type=checkbox]").prop("checked", 0);'>[% 'Reset' | $T8 %]</a> |
|
22 |
<br> |
|
23 |
</p> |
|
24 |
<p> |
|
25 |
[% L.hidden_tag('action', 'ShopPart/dispatch') %] |
|
26 |
[% L.submit_tag('action_list_articles',LxERP.t8('renew')) %] |
|
27 |
</p> |
|
22 | 28 |
</form> |
Auch abrufbar als: Unified diff
Shopmodul: Shopartikel muss beim Artikel gesetzt sein um den Reiter
Shopvariables anzeigen zu können. Im Shopartikellisting kann aber auch
nach konfigurierten Shopartikel gefltert werden, die den Marker
Shopartikel nicht gesetzt haben.