Merge branch 'master' of vc.linet-services.de:public/lx-office-erp
[kivitendo-erp.git] / templates / webpages / ic / makemodel.html
1 [%- USE T8 %]
2 [%- USE HTML %]
3 [%- USE LxERP %]
4   <tr>
5     <td>
6       <table>
7         <tr>
8           <th class="listheading">[% 'Make' | $T8 %]</th>
9           <th class="listheading">[% 'Model' | $T8 %]</th>
10           <th class="listheading">[% 'Last Cost' | $T8 %]</th>
11           <th class="listheading">[% 'Updated' | $T8 %]</th>
12           <th class="listheading">[% 'order' | $T8 %]</th>
13         </tr>
14       [%- FOREACH row = MM_DATA %]
15         <tr>
16           <td>
17             [%- INCLUDE generic/multibox.html
18                   name       = "make_$loop.count",
19                   default    = row.make,
20                   DATA       = ALL_VENDORS,
21                   show_empty = 1,
22                   label_key  = 'name',
23                   id_key     = 'id',
24             -%]
25           </td>
26           <td><input name="model_[% loop.count %]" size="30" value="[% HTML.escape(row.model) %]"></td>
27           <td><input type="hidden" name="old_lastcost_[% loop.count %]" value="[% LxERP.format_amount(row.lastcost, 2) %]">
28               <input name="lastcost_[% loop.count %]" size="10" value="[% LxERP.format_amount(row.lastcost, 2) %]"></td>
29           <td><input name="lastupdate_[% loop.count %]" size="10" value="[% HTML.escape(row.lastupdate) %]"></td>
30           <td><input name="sortorder_[% loop.count %]" size="3" value="[% HTML.escape(row.sortorder) %]"></td>
31         </tr>
32       [%- END %]
33       </table>
34     </td>
35   </tr>
36   <input type="hidden" name="makemodel_rows" value="[% mm_rows %]">