Revision 80718893
Von Werner Hahn vor mehr als 7 Jahren hinzugefügt
templates/webpages/shop_part/_filter.html | ||
---|---|---|
<td>[% L.select_tag('filter.transferred:eq_ignore_empty', SELF.shop, value_key = 'value', title_key = 'title', default=SHOPS) %]</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<th align="right">[% 'Producer' | $T8 %]</th>
|
||
<td>[% L.select_tag('filter.transferred:eq_ignore_empty', SELF.producer, value_key = 'value', title_key = 'title', default=PRODUCERS) %]</td>
|
||
</tr>
|
||
|
||
<!-- <tr>
|
||
<th align="right">[% 'from' | $T8 %]</th>
|
||
<td>[% # L.date_tag('filter.order_date:date::ge', filter.order_date_date__ge) %]</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<th align="right">[% 'to' | $T8 %]</th>
|
||
<td>[% # L.date_tag('filter.order_date:date::le', filter.order_date_date__le) %]</td>
|
||
</tr> -->
|
||
|
||
</table>
|
||
|
||
|
templates/webpages/shop_part/_list_articles.html | ||
---|---|---|
[%- PROCESS 'shop_part/_filter.html' filter=SELF.models.filtered.laundered %]
|
||
<hr>
|
||
<form method="post" action="controller.pl" name="shop_parts" id="shopparts">
|
||
<div class="data_count">[% 'Number of Data: ' | $T8 %][% SHOP_PARTS.size %]</div>
|
||
<div class="data_count">[% 'Number of Data: ' | $T8 %] [% SHOP_PARTS.size %]</div>
|
||
<table id="shoplist" width="100%" >
|
||
<thead>
|
||
<tr class="listheading">
|
||
... | ... | |
[% 'Category' | $T8 %]</a>
|
||
[% END %]
|
||
</th>
|
||
<th>[% IF FORM.sort_by == 'part.microfiche' %]
|
||
<a href ="controller.pl?action=ShopPart/list_articles&sort_by=part.microfiche&sort_dir=[% 1 - FORM.sort_dir %]" class="sort_link">
|
||
[% 'Producer' | $T8 %][% IF FORM.sort_dir == 0 %]<img border="0" src="image/down.png">[% ELSE %]<img border="0" src="image/up.png">[% END %]</a>
|
||
[% ELSE %]
|
||
<a href ="controller.pl?action=ShopPart/list_articles&sort_by=part.microfiche&sort_dir=0" class="sort_link">
|
||
[% 'Producer' | $T8 %]</a>
|
||
[% END %]
|
||
</th>
|
||
<th>[% 'Action' | $T8 %]</th>
|
||
</tr>
|
||
</thead>
|
||
[%- FOREACH shop_part = SHOP_PARTS %]
|
||
... | ... | |
[% END %]
|
||
[% END %]
|
||
</td>
|
||
<td>[% HTML.escape( shop_part.part.microfiche ) %]</td>
|
||
<td></td>
|
||
<script type="text/javascript">
|
||
$(function() {
|
||
kivi.shop_part.update_price_n_price_source([% shop_part.id %],'[% shop_part.active_price_source %]');
|
Auch abrufbar als: Unified diff
Shopmodul: Kundenspezifische Anpassung in Shopartikellisting und locale de raus