]> wagnertech.de Git - mfinanz.git/blob - templates/webpages/part/_businessmodels.html
date error in mapping
[mfinanz.git] / templates / webpages / part / _businessmodels.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="businessmodel_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"></th>
17           <th class="listheading">[% 'Business'            | $T8 %]</th>
18           <th class="listheading">[% 'Business Type Model' | $T8 %]</th>
19           <th class="listheading">[% 'Part Description'    | $T8 %]</th>
20           <th class="listheading">[% 'Long Description'    | $T8 %]</th>
21          </tr>
22         </thead>
23         <tbody id="businessmodel_rows">
24         [%- FOREACH businessmodel = SELF.part.businessmodels_sorted %]
25           [% PROCESS 'part/_businessmodel_row.html' businessmodel=businessmodel %]
26         [%- END %]
27        </tbody>
28        <tbody>
29         <tr>
30          <td></td>
31          <td></td>
32          <td></td>
33          <td align="right">[% 'Business' | $T8 %]</td>
34          <td>[% P.select_tag('add_businessmodel', SELF.all_businesses, title_key="description", with_empty=1, style='width: 300px', onchange='kivi.Part.add_businessmodel_row()') %]</td>
35          <td align="right">[% L.button_tag('kivi.Part.add_businessmodel_row()', LxERP.t8('Add')) %]</td>
36          <td></td>
37         </tr>
38        </tbody>
39       </table>
40     </td>
41   </tr>
42   [% L.sortable_element('#businessmodel_rows') %]