Revision 122d4a50
Von Werner Hahn vor mehr als 6 Jahren hinzugefügt
templates/webpages/shop_part/_list_articles.html | ||
---|---|---|
75 | 75 |
</td> |
76 | 76 |
<td style="vertical-align:middle;text-align:center;"> |
77 | 77 |
[% IF shop_part.active %] |
78 |
<div id="toogle_[% shop_part.id %]" style="background-image:url(image/gruener_punkt.gif);background-repeat:no-repeat;witdh:15px;height:15px;" onclick="kivi.shop_part.part_toggle_active([% shop_part.id %] ,[% shop_part.active %]);" onMouseOver="this.style.cursor='pointer'"> </div>
|
|
78 |
<div id="toogle_[% shop_part.id %]" style="background-image:url(image/gruener_punkt.gif);background-repeat:no-repeat;witdh:15px;height:15px;" onclick="kivi.ShopPart.part_toggle_active([% shop_part.id %] ,[% shop_part.active %]);" onMouseOver="this.style.cursor='pointer'"> </div>
|
|
79 | 79 |
[% ELSE %] |
80 |
<div id="toogle_[% shop_part.id %]" style="background-image:url(image/roter_punkt.gif);background-repeat:no-repeat;witdh:15px;height:15px;" onclick="kivi.shop_part.part_toggle_active([% shop_part.id %] ,[% shop_part.active %]);" onMouseOver="this.style.cursor='pointer'"> </div>
|
|
80 |
<div id="toogle_[% shop_part.id %]" style="background-image:url(image/roter_punkt.gif);background-repeat:no-repeat;witdh:15px;height:15px;" onclick="kivi.ShopPart.part_toggle_active([% shop_part.id %] ,[% shop_part.active %]);" onMouseOver="this.style.cursor='pointer'"> </div>
|
|
81 | 81 |
[% END %] |
82 | 82 |
</td> |
83 | 83 |
<td>[% L.html_tag('span',LxERP.t8(), id => 'active_price_source_' _ shop_part.id) %] </td> |
... | ... | |
104 | 104 |
</td> |
105 | 105 |
<script type="text/javascript"> |
106 | 106 |
$(function() { |
107 |
kivi.shop_part.update_price_n_price_source([% shop_part.id %],'[% shop_part.active_price_source %]');
|
|
108 |
kivi.shop_part.update_stock([% shop_part.id %]);
|
|
107 |
kivi.ShopPart.update_price_n_price_source([% shop_part.id %],'[% shop_part.active_price_source %]');
|
|
108 |
kivi.ShopPart.update_stock([% shop_part.id %]);
|
|
109 | 109 |
}); |
110 | 110 |
</script> |
111 | 111 |
</tr> |
... | ... | |
119 | 119 |
[% L.radio_button_tag('upload_todo', value='price', label= LxERP.t8('Only Price')) %] |
120 | 120 |
[% L.radio_button_tag('upload_todo', value='stock', label= LxERP.t8('Only Stock')) %] |
121 | 121 |
[% L.radio_button_tag('upload_todo', value='price_stock', checked=1, label= LxERP.t8('Price and Stock')) %] |
122 |
[% L.button_tag("kivi.shop_part.setup();", LxERP.t8("Upload all marked"), id="mass_transfer") %]
|
|
122 |
[% L.button_tag("kivi.ShopPart.setup();", LxERP.t8("Upload all marked"), id="mass_transfer") %]
|
|
123 | 123 |
</div> |
124 | 124 |
<div id="status_mass_upload" style="display: none;"> |
125 | 125 |
[%- INCLUDE 'shop_part/_upload_status.html' %] |
Auch abrufbar als: Unified diff
Shopmodul: Nach Umbennenung Dateien mit Verweis richtig gestellt