Revision dfdaa70d
Von Tamino Steinert vor 3 Monaten hinzugefügt
templates/design40_webpages/part/_parent_variant.html | ||
---|---|---|
24 | 24 |
[% 'Partnumber' | $T8 %] |
25 | 25 |
</a> |
26 | 26 |
</th> |
27 |
<th id="variant_ean_header_id"> |
|
28 |
<a href='#' onClick='javascript:kivi.Part.reorder_variants("ean")'> |
|
29 |
[% "EAN" | $T8 %] |
|
30 |
</a> |
|
31 |
</th> |
|
27 | 32 |
<th id="variant_description_header_id"> |
28 | 33 |
<a href='#' onClick='javascript:kivi.Part.reorder_variants("description")'> |
29 | 34 |
[% "Description" | $T8 %] |
... | ... | |
41 | 46 |
</a> |
42 | 47 |
</th> |
43 | 48 |
[% END %] |
44 |
<th>[% 'List Price' | $T8 %]</th> |
|
45 |
<th>[% 'Sell Price' | $T8 %]</th> |
|
46 |
<th>[% 'Last Cost' | $T8 %]</th> |
|
47 |
<th>[% 'ROP' | $T8 %]</th> |
|
49 |
<th id="variant_listprice_header_id"> |
|
50 |
<a href='#' onClick='javascript:kivi.Part.reorder_variants("listprice")'> |
|
51 |
[% "List Price" | $T8 %] |
|
52 |
</a> |
|
53 |
</th> |
|
54 |
<th id="variant_sellprice_header_id"> |
|
55 |
<a href='#' onClick='javascript:kivi.Part.reorder_variants("sellprice")'> |
|
56 |
[% "Sell Price" | $T8 %] |
|
57 |
</a> |
|
58 |
</th> |
|
59 |
<th id="variant_lastcost_header_id"> |
|
60 |
<a href='#' onClick='javascript:kivi.Part.reorder_variants("lastcost")'> |
|
61 |
[% "Last Cost" | $T8 %] |
|
62 |
</a> |
|
63 |
</th> |
|
64 |
<th id="variant_onhand_header_id"> |
|
65 |
<a href='#' onClick='javascript:kivi.Part.reorder_variants("onhand")'> |
|
66 |
[% "On Hand" | $T8 %] |
|
67 |
</a> |
|
68 |
</th> |
|
69 |
<th id="variant_rop_header_id"> |
|
70 |
<a href='#' onClick='javascript:kivi.Part.reorder_variants("rop")'> |
|
71 |
[% "ROP" | $T8 %] |
|
72 |
</a> |
|
73 |
</th> |
|
48 | 74 |
<th> |
49 | 75 |
[% L.select_tag("add_variant_property", AVAILABLE_VARIANT_PROPERIES |
50 | 76 |
title_key='displayable_name', value_key='id', |
... | ... | |
54 | 80 |
</th> |
55 | 81 |
</tr> |
56 | 82 |
<tr> |
57 |
<th class="center">
|
|
83 |
<th> |
|
58 | 84 |
[%- L.button_tag('kivi.Part.variant_rows_toggle_selected();', "🔄", |
59 | 85 |
title=LxERP.t8("Toggle selection"), |
60 | 86 |
alt=LxERP.t8("Toggle selection"), |
61 | 87 |
) %] |
62 | 88 |
</th> |
63 |
<th></th> |
|
89 |
<th><!-- partnumber --></th> |
|
90 |
<th><!-- ean --></th> |
|
64 | 91 |
<th> |
65 | 92 |
[% L.input_tag("description_for_selected_variants", SELF.part.description, |
66 | 93 |
class="wi-medium", |
... | ... | |
72 | 99 |
title=LxERP.t8('Apply to selected rows'), |
73 | 100 |
) %] |
74 | 101 |
</th> |
75 |
<th colspan="[% SELF.part.variant_properties.size + 1 %]"></th> |
|
102 |
<th><!-- variant_values --></th> |
|
103 |
[% FOREACH property = SELF.part.variant_properties %] |
|
104 |
<th></th> |
|
105 |
[% END %] |
|
76 | 106 |
<th> |
77 | 107 |
[% L.input_tag( |
78 | 108 |
"listprice_as_number_for_selected_variants", |
... | ... | |
112 | 142 |
title=LxERP.t8('Apply to selected rows'), |
113 | 143 |
) %] |
114 | 144 |
</th> |
145 |
<th><!-- onhand --></th> |
|
115 | 146 |
<th> |
116 | 147 |
[% L.input_tag( |
117 | 148 |
"rop_as_number_for_selected_variants", |
... | ... | |
148 | 179 |
[% L.checkbox_tag('variant_multi_id_' _ loop.count, value=variant.id, checked=0) %] |
149 | 180 |
</td> |
150 | 181 |
<td>[% variant.presenter.part %]</td> |
182 |
<td> |
|
183 |
[% L.input_tag("variants[].ean", variant.ean, class="wi-medium") %] |
|
184 |
</td> |
|
151 | 185 |
<td> |
152 | 186 |
[% L.input_tag("variants[].description", variant.description, class="wi-medium") %] |
153 | 187 |
</td> |
154 | 188 |
<td>[% variant.variant_values | html %]</td> |
155 | 189 |
[% FOREACH variant_property = SELF.part.variant_properties %] |
156 |
<td> [% variant.variant_value(variant_property) %] </td> |
|
190 |
<td> [% variant.variant_value(variant_property).displayable_name %] </td>
|
|
157 | 191 |
[% END %] |
158 | 192 |
<td> |
159 | 193 |
[% L.input_tag( |
... | ... | |
176 | 210 |
class='reformat_number numeric wi-small', |
177 | 211 |
) %] |
178 | 212 |
</td> |
213 |
<td> |
|
214 |
<span class="data wi-small numeric"> |
|
215 |
[% LxERP.format_amount(variant.onhand) %] [% variant.unit | html %] |
|
216 |
</span> |
|
217 |
</td> |
|
179 | 218 |
<td> |
180 | 219 |
[% L.input_tag( |
181 | 220 |
"variants[].rop_as_number", |
Auch abrufbar als: Unified diff
Varianten: Schnellbearbeitung von Varianten (EAN, Auf Lager)