Revision c3d8955c
Von Bernd Bleßmann vor 10 Monaten hinzugefügt
js/kivi.Part.js | ||
---|---|---|
400 | 400 |
if (this.o.convertible_unit) |
401 | 401 |
data['filter.unit_obj.convertible_to'] = this.o.convertible_unit; |
402 | 402 |
|
403 |
if (this.o.order_locked) |
|
404 |
data['filter.order_locked'] = 1; |
|
405 |
if (this.o.not_order_locked) |
|
406 |
data['filter.order_locked'] = 0; |
|
407 |
|
|
403 | 408 |
var filter_name = 'all'; |
404 | 409 |
if (this.o.with_makemodel) { |
405 | 410 |
filter_name = 'all_with_makemodel'; |
templates/design40_webpages/part/test_page.html | ||
---|---|---|
33 | 33 |
[% P.part.picker('part_id17', undef, status="obsolete") %]<br> |
34 | 34 |
Artikel-Status: Alle<br> |
35 | 35 |
[% P.part.picker('part_id18', undef, status="all") %]<br> |
36 |
Nicht bestellbare Artikel:<br> |
|
37 |
[% P.part.picker('part_id19', undef, order_locked=1) %]<br> |
|
38 |
Bestellbare Artikel:<br> |
|
39 |
[% P.part.picker('part_id19', undef, not_order_locked=1) %]<br> |
|
36 | 40 |
<br> |
37 | 41 |
Pre-filled:<br> |
38 | 42 |
[% P.part.picker('part_id6', pre_filled_part) %]<br> |
... | ... | |
101 | 105 |
</tr> |
102 | 106 |
</table> |
103 | 107 |
|
104 |
</div> |
|
108 |
</div> |
templates/webpages/part/test_page.html | ||
---|---|---|
32 | 32 |
[% P.part.picker('part_id17', undef, status="obsolete") %]<br> |
33 | 33 |
Artikel-Status: Alle<br> |
34 | 34 |
[% P.part.picker('part_id18', undef, status="all") %]<br> |
35 |
Nicht bestellbare Artikel:<br> |
|
36 |
[% P.part.picker('part_id19', undef, order_locked=1) %]<br> |
|
37 |
Bestellbare Artikel:<br> |
|
38 |
[% P.part.picker('part_id19', undef, not_order_locked=1) %]<br> |
|
35 | 39 |
<br> |
36 | 40 |
Pre-filled:<br> |
37 | 41 |
[% P.part.picker('part_id6', pre_filled_part) %]<br> |
Auch abrufbar als: Unified diff
Auslaufende Artikel: Flags für Part-Picker
not_order_locked = 1 => keine nicht bestellbaren Artikel
order_locked = 1 => nur nicht bestellbare Artikel