Revision 122d4a50
Von Werner Hahn vor mehr als 6 Jahren hinzugefügt
templates/webpages/part/_shop.html | ||
---|---|---|
29 | 29 |
<td>[% L.html_tag('span','Price', id => 'price_' _ shop_part.id) %]</td> |
30 | 30 |
<td>[% L.html_tag('span','Stock', id => 'stock_' _ shop_part.id) %]</td> |
31 | 31 |
<td>[% L.html_tag('span', shop_part.last_update.to_kivitendo('precision' => 'minute'), id => 'shop_part_last_update_' _ shop_part.id ) %]</td> |
32 |
<td>[% L.button_tag("kivi.shop_part.edit_shop_part(" _ shop_part.id _ ")", LxERP.t8("Edit")) %]</td>
|
|
33 |
<td>[% L.button_tag("kivi.shop_part.update_shop_part(" _ shop_part.id _ ")", LxERP.t8("Upload")) %]</td>
|
|
34 |
<td>[% L.button_tag("kivi.shop_part.get_all_categories(" _ shop_part.id _ ")", LxERP.t8("Shopcategories")) %]<br>[% HTML.escape(shop_part.part.partsgroup.partsgroup) %]</td>
|
|
32 |
<td>[% L.button_tag("kivi.ShopPart.edit_shop_part(" _ shop_part.id _ ")", LxERP.t8("Edit")) %]</td>
|
|
33 |
<td>[% L.button_tag("kivi.ShopPart.update_shop_part(" _ shop_part.id _ ")", LxERP.t8("Upload")) %]</td>
|
|
34 |
<td>[% L.button_tag("kivi.ShopPart.get_all_categories(" _ shop_part.id _ ")", LxERP.t8("Shopcategories")) %]<br>[% HTML.escape(shop_part.part.partsgroup.partsgroup) %]</td>
|
|
35 | 35 |
</tr> |
36 | 36 |
<script type="text/javascript"> |
37 | 37 |
$(function() { |
38 |
kivi.shop_part.update_price_n_price_source([% shop_part.id %],'[% shop_part.active_price_source %]');
|
|
39 |
kivi.shop_part.update_stock([% shop_part.id %]);
|
|
38 |
kivi.ShopPart.update_price_n_price_source([% shop_part.id %],'[% shop_part.active_price_source %]');
|
|
39 |
kivi.ShopPart.update_stock([% shop_part.id %]);
|
|
40 | 40 |
}); |
41 | 41 |
</script> |
42 | 42 |
[% END %] |
... | ... | |
49 | 49 |
<td></td> |
50 | 50 |
<td></td> |
51 | 51 |
<td></td> |
52 |
<td>[% L.button_tag("kivi.shop_part.create_shop_part(" _ id _ ", " _ shop.id _ ")", LxERP.t8("Add")) %]</td>
|
|
52 |
<td>[% L.button_tag("kivi.ShopPart.create_shop_part(" _ id _ ", " _ shop.id _ ")", LxERP.t8("Add")) %]</td>
|
|
53 | 53 |
</tr> |
54 | 54 |
</thead> |
55 | 55 |
[%- END %] |
... | ... | |
61 | 61 |
[%- IF shop_part.part_id %] |
62 | 62 |
<script type="text/javascript"> |
63 | 63 |
$(function() { |
64 |
kivi.shop_part.show_images([% shop_part.part_id %]);
|
|
64 |
kivi.ShopPart.show_images([% shop_part.part_id %]);
|
|
65 | 65 |
}); |
66 | 66 |
</script> |
67 | 67 |
<div id="shop_images" border=1 ></div> |
Auch abrufbar als: Unified diff
Shopmodul: Nach Umbennenung Dateien mit Verweis richtig gestellt