]> wagnertech.de Git - mfinanz.git/blob - templates/design40_webpages/part/_businessmodels.html
date error in mapping
[mfinanz.git] / templates / design40_webpages / part / _businessmodels.html
1 [%- USE T8 %]
2 [%- USE L %]
3 [%- USE P %]
4 [%- USE HTML %]
5 [%- USE LxERP %]
6
7 <table id="businessmodel_table" class="tbl-list wi-moderate">
8   <caption>[% 'Business Type Model' | $T8 %]</caption>
9   <colgroup>
10     <col class="wi-verytiny">
11     <col>
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   </colgroup>
19   <thead>
20     <tr>
21       <th class="center"><img src="image/close.png" alt="[%- LxERP.t8('delete item') %]"></th>
22       <th class="center">[% 'position' | $T8 %]</th>
23       <th class="center"><img src="image/updown.png" alt="[% LxERP.t8('reorder item') %]"></th>
24       <th></th>
25       <th>[% 'Business'            | $T8 %]</th>
26       <th>[% 'Business Type Model' | $T8 %]</th>
27       <th>[% 'Part Description'    | $T8 %]</th>
28       <th>[% 'Long Description'    | $T8 %]</th>
29     </tr>
30   </thead>
31   <tbody id="businessmodel_rows">
32     [%- FOREACH businessmodel = SELF.part.businessmodels %]
33       [% PROCESS 'part/_businessmodel_row.html' businessmodel=businessmodel %]
34     [%- END %]
35   </tbody>
36   <tfoot>
37     <tr>
38       <td></td>
39       <td></td>
40       <td></td>
41       <th class="right"><span class="label">[% 'Business' | $T8 %]</th>
42       <td>[% P.select_tag('add_businessmodel', SELF.all_businesses, title_key="description", with_empty=1, class="wi-mediumsmall", onchange='kivi.Part.add_businessmodel_row()') %]</td>
43       <td>[% L.button_tag('kivi.Part.add_businessmodel_row()', LxERP.t8('Add')) %]</td>
44       <td></td>
45       <td></td>
46     </tr>
47   </tfoot>
48 </table>
49
50 [% L.sortable_element('#businessmodel_rows') %]