Revision 0bd21ebc
Von Werner Hahn vor mehr als 6 Jahren hinzugefügt
templates/webpages/part/_shop.html | ||
---|---|---|
18 | 18 |
<th>[% LxERP.t8("Action") %]</th> |
19 | 19 |
</tr> |
20 | 20 |
</thead> |
21 |
|
|
22 |
[%- FOREACH shop_part = SHOP_PARTS %] |
|
21 |
[% # L.dump(SELF.part) %] |
|
22 |
[%- FOREACH shop_part = SELF.part.shop_parts %] |
|
23 |
[% IF !shop_part.shop.obsolete %] |
|
23 | 24 |
<tr class="listrow"> |
24 | 25 |
<td>[% HTML.escape( shop_part.shop.description ) %]</td> |
25 | 26 |
<td>[% L.html_tag('span', shop_part.active, id => 'shop_part_active_' _ shop_part.id ) %]</td> |
... | ... | |
38 | 39 |
kivi.shop_part.update_stock([% shop_part.id %]); |
39 | 40 |
}); |
40 | 41 |
</script> |
42 |
[% END %] |
|
41 | 43 |
[%- END %] |
42 | 44 |
[%- FOREACH shop = SHOPS_NOT_ASSIGNED %] |
43 | 45 |
<tr> |
... | ... | |
55 | 57 |
|
56 | 58 |
|
57 | 59 |
[% # L.dump(shop_part) %] |
58 |
<h2>[% LxERP.t8("Shopvariables and Images - valid for all shops") %]</h2> |
|
59 |
[%- IF CUSTOM_VARIABLES.size %] |
|
60 |
[% # L.dump(CUSTOM_VARIABLES) %] |
|
61 |
<div id="shop_custom_variables"> |
|
62 |
<p> |
|
63 |
<table> |
|
64 |
[%- FOREACH var = CUSTOM_VARIABLES %] |
|
65 |
[%- IF var.name.match('^shop_') %] |
|
66 |
<tr> |
|
67 |
[% # IF !var.partsgroup_filtered %] |
|
68 |
<td align="right" valign="top">[% HTML.escape(var.description) %]</td> |
|
69 |
[% # END %] |
|
70 |
<td align="right" valign="top">[% var.VALID_BOX %]</td> |
|
71 |
<td valign="top">[% var.HTML_CODE %]</td> |
|
72 |
</tr> |
|
73 |
[%- END %] |
|
74 |
[%- END %] |
|
75 |
</table> |
|
76 |
</p> |
|
77 |
</div> |
|
78 |
[%- END %] |
|
60 |
<h2>[% LxERP.t8("Shopimages - valid for all shops") %]</h2> |
|
79 | 61 |
[%- IF shop_part.part_id %] |
80 | 62 |
<script type="text/javascript"> |
81 | 63 |
$(function() { |
Auch abrufbar als: Unified diff
Shopmodul: Anpassungen an neuen Partcontroller; Shopkategorien gehen noch nicht