]> wagnertech.de Git - mfinanz.git/blob - templates/design40_webpages/part/_customerprices.html
date error in mapping
[mfinanz.git] / templates / design40_webpages / part / _customerprices.html
1 [% USE T8 %]
2 [% USE L %]
3 [% USE P %]
4 [% USE LxERP %]
5
6 <table id="customerprice_table" class="tbl-list wi-moderate">
7   <caption>[% 'Customer specific Price' | $T8 %]</caption>
8   <colgroup>
9     <col class="wi-verytiny">
10     <col>
11     <col class="wi-verytiny">
12     <col class="wi-mediumsmall">
13     <col class="wi-mediumsmall">
14     <col class="wi-mediumsmall">
15     <col class="wi-mediumsmall">
16     <col class="wi-mediumsmall">
17     <col class="wi-small">
18     <col class="wi-small">
19   </colgroup>
20   <thead>
21     <tr>
22       <th class="center"><img src="image/close.png" alt="[% LxERP.t8('delete item') %]"></th>
23       <th class="center">[% 'position' | $T8 %]</th>
24       <th class="center"><img src="image/updown.png" alt="[% LxERP.t8('reorder item') %]"></th>
25       <th>[% 'Customer Number'      | $T8 %]</th>
26       <th>[% 'Customer'             | $T8 %]</th>
27       <th>[% 'Customer Part Number' | $T8 %]</th>
28       <th>[% 'Part Description'     | $T8 %]</th>
29       <th>[% 'Long Description'     | $T8 %]</th>
30       <th>[% 'Customer Price'       | $T8 %]</th>
31       <th>[% 'Updated'              | $T8 %]</th>
32     </tr>
33   </thead>
34   <tbody id="customerprice_rows">
35   [% SET listrow = 0 %]
36   [% FOREACH customerprice = SELF.part.customerprices_sorted %]
37     [% listrow = listrow + 1 %]
38     [% PROCESS 'part/_customerprice_row.html' customerprice=customerprice listrow=listrow %]
39   [% END %]
40  </tbody>
41  <tfoot>
42   <tr>
43    <td></td>
44    <td></td>
45    <td></td>
46    <th class="right"><span class="label">[% 'Search & Add Customer' | $T8 %]</span></th>
47    <td>[% P.customer_vendor.customer_picker('add_customerprice', '', class="add_customerprice_input tooltipstered tooltipster-html wi-mediumsmall", action={commit_one='kivi.Part.add_customerprice_row'}, title=LxERP.t8("Search customer by name and add by selecting")) %]</td>
48    <td>[% L.button_tag('kivi.Part.add_customerprice_row()', LxERP.t8('Add')) %]</td>
49    <td colspan="4"></td>
50   </tr>
51  </tfoot>
52 </table>
53
54 [% L.sortable_element('#customerprice_rows') %]