Weitere Tipp- und Copy-Paste-Fehler korrigiert.
[kivitendo-erp.git] / templates / webpages / am / list_price_factors.html
1 [%- USE T8 %][% USE L %][% USE LxERP %]
2 [% USE HTML %]
3
4  [% IF MESSAGE %]<p>[% MESSAGE %]</p>[% END %]
5
6  <div class="listtop">[% title %]</div>
7
8  <p>
9   <table width="100%" id="price_factor_list">
10    <thead>
11    <tr class="listheading">
12     <th align="center"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></th>
13     <th width="80%">[% 'Description' | $T8 %]</th>
14     <th width="20%">[% 'Factor' | $T8 %]</th>
15    </tr>
16    </thead>
17
18    <tbody>
19    [% FOREACH factor = PRICE_FACTORS %]
20    <tr class="listrow[% loop.count % 2 %]" id="price_factor_id_[% factor.id %]">
21     <td align="center" class="dragdrop"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></td>
22     <td><a href="[% url_base %]&action=edit_price_factor&id=[% HTML.url(factor.id) %]">[% HTML.escape(factor.description) %]</a></td>
23     <td>[% HTML.escape(factor.factor) %]</td>
24    </tr>
25    [% END %]
26    </tbody>
27   </table>
28  </p>
29
30  <hr height="3">
31
32  <p>
33   <a href="am.pl?action=add&type=price_factor&callback=[% HTML.url(callback) %]">[%- 'Add' | $T8 %]</a>
34  </p>
35
36  [% L.sortable_element('#price_factor_list tbody', url => 'controller.pl?action=PriceFactor/reorder', with => 'price_factor_id') %]