9 <table id="makemodel_table">
11 <th class="listheading" style='text-align:center' nowrap width="1"><img src="image/close.png" alt="[%- LxERP.t8('delete item') %]"></th>
12 <th class="listheading">[% 'position' | $T8 %]</th>
13 <th class="listheading" style='text-align:center' nowrap width="1"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></th>
14 <th class="listheading">[% 'Vendor Number' | $T8 %]</th>
15 <th class="listheading">[% 'Vendor' | $T8 %]</th>
16 <th class="listheading">[% 'Model' | $T8 %]</th>
17 <th class="listheading">[% 'Last Cost' | $T8 %]</th>
18 <th class="listheading">[% 'Updated' | $T8 %]</th>
20 <tbody id="makemodel_rows">
22 [%- FOREACH makemodel = SELF.part.makemodels %]
23 [% listrow = listrow + 1 %]
24 [% PROCESS 'part/_makemodel_row.html' makemodel=makemodel listrow=listrow %]
32 <td align="right">[% 'Vendor' | $T8 %]</td>
33 <td rowspan="2">[% L.customer_vendor_picker('add_makemodel', '', type='vendor', style='width: 300px', class="add_makemodel_input") %]</td>
34 <td rowspan="2" align="right">[% L.button_tag('kivi.Part.add_makemodel_row()', LxERP.t8('Add')) %]</td>
40 [% L.sortable_element('#makemodel_rows') %]
42 <script type="text/javascript">
45 $('#makemodel_rows').on('sortstop', function(event, ui) {
46 kivi.Part.makemodel_renumber_positions();