]> wagnertech.de Git - mfinanz.git/blob - templates/webpages/part/_makemodel.html
date error in mapping
[mfinanz.git] / templates / webpages / part / _makemodel.html
1 [%- USE T8 %]
2 [%- USE L %]
3 [%- USE P %]
4 [%- USE HTML %]
5 [%- USE LxERP %]
6   <tr>
7   </tr>
8   <tr>
9     <td>
10       <table id="makemodel_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'>[% 'Vendor Number' | $T8 %]</th>
17           <th class="listheading">[% 'Vendor'           | $T8 %]</th>
18           <th class="listheading">[% 'Model'            | $T8 %]</th>
19           <th class="listheading">[% 'Part Description' | $T8 %]</th>
20           <th class="listheading">[% 'Long Description' | $T8 %]</th>
21           <th class="listheading">[% 'Last Cost'        | $T8 %]</th>
22           <th class="listheading">[% 'Updated'          | $T8 %]</th>
23          </tr>
24         </thead>
25         <tbody id="makemodel_rows">
26         [% SET listrow = 0 %]
27         [%- FOREACH makemodel = SELF.part.makemodels %]
28         [% listrow = listrow + 1 %]
29         [% PROCESS 'part/_makemodel_row.html' makemodel=makemodel listrow=listrow %]
30         [%- END %]
31        </tbody>
32        <tbody>
33         <tr>
34          <td></td>
35          <td></td>
36          <td></td>
37          <td align="right">[% 'Vendor' | $T8 %]</td>
38          <td rowspan="2">[% P.customer_vendor.picker('add_makemodel', '', type='vendor', style='width: 300px', class="add_makemodel_input", action={commit_one='kivi.Part.add_makemodel_row'}) %]</td>
39          <td rowspan="2" align="right">[% L.button_tag('kivi.Part.add_makemodel_row()', LxERP.t8('Add')) %]</td>
40         </tr>
41        </tbody>
42       </table>
43     </td>
44   </tr>
45   [% L.sortable_element('#makemodel_rows') %]