Revision 7102e9e3
Von Hans P. Schlaepfer vor mehr als 4 Jahren hinzugefügt
templates/webpages/part/_customerprices.html | ||
---|---|---|
[% USE HTML %]
|
||
[% USE LxERP %]
|
||
|
||
<table id="customerprice_table" class="tbl-list wi-moderate">
|
||
<caption>[% 'Customer prices' | $T8 %]</caption>
|
||
<thead>
|
||
<tr>
|
||
<th class="center"><img src="image/close.png" alt="[% LxERP.t8('delete item') %]"></th>
|
||
<th class="center">[% 'position' | $T8 %]</th>
|
||
<th class="center"><img src="image/updown.png" alt="[% LxERP.t8('reorder item') %]"></th>
|
||
<th>[% 'Customer Number' | $T8 %]</th>
|
||
<th>[% 'Customer' | $T8 %]</th>
|
||
<th>[% 'Customer Part Number' | $T8 %]</th>
|
||
<th>[% 'Customer Price' | $T8 %]</th>
|
||
<th>[% 'Updated' | $T8 %]</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody id="customerprice_rows">
|
||
[% SET listrow = 0 %]
|
||
[% FOREACH customerprice = SELF.part.customerprices_sorted %]
|
||
[% listrow = listrow + 1 %]
|
||
[% PROCESS 'part/_customerprice_row.html' customerprice=customerprice listrow=listrow %]
|
||
[% END %]
|
||
</tbody>
|
||
<tfoot>
|
||
<tr>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<th>[% 'Search & Add Customer' | $T8 %]</th>
|
||
<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>
|
||
<td>[% L.button_tag('kivi.Part.add_customerprice_row()', LxERP.t8('Add')) %]</td>
|
||
<td colspan="2"></td>
|
||
</tr>
|
||
<tr>
|
||
<td>
|
||
<table id="customerprice_table">
|
||
<thead>
|
||
<tr>
|
||
<th class="listheading" style='text-align:center' nowrap width="1"><img src="image/close.png" alt="[%- LxERP.t8('delete item') %]"></th>
|
||
<th class="listheading">[% 'position' | $T8 %]</th>
|
||
<th class="listheading" style='text-align:center' nowrap width="1"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></th>
|
||
<th class="listheading" style='width:12em'>[% 'Customer Number' | $T8 %]</th>
|
||
<th class="listheading">[% 'Customer' | $T8 %]</th>
|
||
<th class="listheading">[% 'Customer Part Number' | $T8 %]</th>
|
||
<th class="listheading">[% 'Customer Price' | $T8 %]</th>
|
||
<th class="listheading">[% 'Updated' | $T8 %]</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody id="customerprice_rows">
|
||
[% SET listrow = 0 %]
|
||
[%- FOREACH customerprice = SELF.part.customerprices_sorted %]
|
||
[% listrow = listrow + 1 %]
|
||
[% PROCESS 'part/_customerprice_row.html' customerprice=customerprice listrow=listrow %]
|
||
[%- END %]
|
||
</tbody>
|
||
<tbody>
|
||
<tr>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td align="right">[% 'Customer' | $T8 %]</td>
|
||
<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>
|
||
<td rowspan="2" align="right">[% L.button_tag('kivi.Part.add_customerprice_row()', LxERP.t8('Add')) %]</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
[% L.sortable_element('#customerprice_rows') %]
|
||
</tfoot>
|
||
</table>
|
||
|
||
[% L.sortable_element('#customerprice_rows') %]
|
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/part/_customerprices.html