1 [%- USE T8 %][% USE L %][% USE LxERP %]
4 [% IF MESSAGE %]<p>[% MESSAGE %]</p>[% END %]
6 <div class="listtop">[% title %]</div>
9 <table width="100%" id="price_factor_list">
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>
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>
33 <a href="am.pl?action=add&type=price_factor&callback=[% HTML.url(callback) %]">[%- 'Add' | $T8 %]</a>
36 [% L.sortable_element('#price_factor_list tbody', url => 'controller.pl?action=PriceFactor/reorder', with => 'price_factor_id') %]