Revision 4cf21c23
Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt
templates/webpages/part/_customerprices.html | ||
---|---|---|
3 | 3 |
[% USE HTML %] |
4 | 4 |
[% USE LxERP %] |
5 | 5 |
|
6 |
<table id="customerprice_table" class="tbl-list wi-moderate"> |
|
7 |
<caption>[% 'Customer prices' | $T8 %]</caption> |
|
8 |
<thead> |
|
9 |
<tr> |
|
10 |
<th class="center"><img src="image/close.png" alt="[% LxERP.t8('delete item') %]"></th> |
|
11 |
<th class="center">[% 'position' | $T8 %]</th> |
|
12 |
<th class="center"><img src="image/updown.png" alt="[% LxERP.t8('reorder item') %]"></th> |
|
13 |
<th>[% 'Customer Number' | $T8 %]</th> |
|
14 |
<th>[% 'Customer' | $T8 %]</th> |
|
15 |
<th>[% 'Customer Part Number' | $T8 %]</th> |
|
16 |
<th>[% 'Customer Price' | $T8 %]</th> |
|
17 |
<th>[% 'Updated' | $T8 %]</th> |
|
18 |
</tr> |
|
19 |
</thead> |
|
20 |
<tbody id="customerprice_rows"> |
|
21 |
[% SET listrow = 0 %] |
|
22 |
[% FOREACH customerprice = SELF.part.customerprices_sorted %] |
|
23 |
[% listrow = listrow + 1 %] |
|
24 |
[% PROCESS 'part/_customerprice_row.html' customerprice=customerprice listrow=listrow %] |
|
25 |
[% END %] |
|
26 |
</tbody> |
|
27 |
<tfoot> |
|
6 | 28 |
<tr> |
29 |
<td></td> |
|
30 |
<td></td> |
|
31 |
<td></td> |
|
32 |
<th>[% 'Search & Add Customer' | $T8 %]</th> |
|
33 |
<td>[% P.customer_vendor.customer_picker('add_customerprice', '', class="add_customerprice_input wi-small tooltipstered tooltipster-html", action={commit_one='kivi.Part.add_customerprice_row'}, title=LxERP.t8("Search Customer by name and add by selecting")) %]</td> |
|
34 |
<td>[% L.button_tag('kivi.Part.add_customerprice_row()', LxERP.t8('Add')) %]</td> |
|
35 |
<td colspan="2"></td> |
|
7 | 36 |
</tr> |
8 |
<tr> |
|
9 |
<td> |
|
10 |
<table id="customerprice_table"> |
|
11 |
<thead> |
|
12 |
<tr> |
|
13 |
<th class="listheading" style='text-align:center' nowrap width="1"><img src="image/close.png" alt="[%- LxERP.t8('delete item') %]"></th> |
|
14 |
<th class="listheading">[% 'position' | $T8 %]</th> |
|
15 |
<th class="listheading" style='text-align:center' nowrap width="1"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></th> |
|
16 |
<th class="listheading" style='width:12em'>[% 'Customer Number' | $T8 %]</th> |
|
17 |
<th class="listheading">[% 'Customer' | $T8 %]</th> |
|
18 |
<th class="listheading">[% 'Customer Part Number' | $T8 %]</th> |
|
19 |
<th class="listheading">[% 'Customer Price' | $T8 %]</th> |
|
20 |
<th class="listheading">[% 'Updated' | $T8 %]</th> |
|
21 |
</tr> |
|
22 |
</thead> |
|
23 |
<tbody id="customerprice_rows"> |
|
24 |
[% SET listrow = 0 %] |
|
25 |
[%- FOREACH customerprice = SELF.part.customerprices_sorted %] |
|
26 |
[% listrow = listrow + 1 %] |
|
27 |
[% PROCESS 'part/_customerprice_row.html' customerprice=customerprice listrow=listrow %] |
|
28 |
[%- END %] |
|
29 |
</tbody> |
|
30 |
<tbody> |
|
31 |
<tr> |
|
32 |
<td></td> |
|
33 |
<td></td> |
|
34 |
<td></td> |
|
35 |
<td align="right">[% 'Customer' | $T8 %]</td> |
|
36 |
<td rowspan="2">[% P.customer_vendor.customer_picker('add_customerprice', '', style='width: 300px', class="add_customerprice_input", action={commit_one='kivi.Part.add_customerprice_row'}) %]</td> |
|
37 |
<td rowspan="2" align="right">[% L.button_tag('kivi.Part.add_customerprice_row()', LxERP.t8('Add')) %]</td> |
|
38 |
</tr> |
|
39 |
</tbody> |
|
40 |
</table> |
|
41 |
</td> |
|
42 |
</tr> |
|
43 |
[% L.sortable_element('#customerprice_rows') %] |
|
37 |
</tfoot> |
|
38 |
</table> |
|
39 |
|
|
40 |
[% L.sortable_element('#customerprice_rows') %] |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/part/_customerprices.html