7 <table id="makemodel_table" class="tbl-list wi-moderate">
8 <caption>[% 'Makemodel Price' | $T8 %]</caption>
10 <col class="wi-verytiny">
12 <col class="wi-verytiny">
13 <col class="wi-mediumsmall">
14 <col class="wi-mediumsmall">
15 <col class="wi-mediumsmall">
16 <col class="wi-mediumsmall">
17 <col class="wi-mediumsmall">
18 <col class="wi-small">
19 <col class="wi-small">
23 <th class="center"><img src="image/close.png" alt="[% LxERP.t8('delete item') %]"></th>
24 <th class="center">[% 'position' | $T8 %]</th>
25 <th class="center"><img src="image/updown.png" alt="[% LxERP.t8('reorder item') %]"></th>
26 <th>[% 'Vendor Number' | $T8 %]</th>
27 <th>[% 'Vendor' | $T8 %]</th>
28 <th>[% 'Model' | $T8 %]</th>
29 <th>[% 'Part Description' | $T8 %]</th>
30 <th>[% 'Long Description' | $T8 %]</th>
31 <th>[% 'Last Cost' | $T8 %]</th>
32 <th>[% 'Updated' | $T8 %]</th>
35 <tbody id="makemodel_rows">
37 [% FOREACH makemodel = SELF.part.makemodels %]
38 [% listrow = listrow + 1 %]
39 [% PROCESS 'part/_makemodel_row.html' makemodel=makemodel listrow=listrow %]
42 <!-- PENDENT: koennte besser und schoener geloest werden! -->
48 <th class="right"><span class="label">[% 'Search & Add Vendor' | $T8 %]</span></th>
50 [% SET titleaddmodel=LxERP.t8('Search & Add Vendor by Name') %]
51 [% P.customer_vendor.picker('add_makemodel', '', type='vendor', class='add_makemodel_input tooltipstered tooltipster-html wi-mediumsmall', title=titleaddmodel, action={commit_one='kivi.Part.add_makemodel_row'}, size=10) %]
53 <td>[% L.button_tag('kivi.Part.add_makemodel_row()', LxERP.t8('Add')) %]</td>
58 [% L.sortable_element('#makemodel_rows') %]
60 <script type="text/javascript">
63 $('#makemodel_rows').on('sortstop', function(event, ui) {
64 kivi.Part.makemodel_renumber_positions();
68 </script><!-- PENDENT: Ueberpruefen -->