1 [%- USE T8 %][% USE L %][% USE LxERP %]
4 <script type="text/javascript" src="js/jquery-ui.js"></script>
8 [% IF MESSAGE %]<p>[% MESSAGE %]</p>[% END %]
10 <div class="listtop">[% title %]</div>
13 <table width="100%" id="price_factor_list">
15 <tr class="listheading">
16 <th align="center"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></th>
17 <th width="80%">[% 'Description' | $T8 %]</th>
18 <th width="20%">[% 'Factor' | $T8 %]</th>
23 [% FOREACH factor = PRICE_FACTORS %]
24 <tr class="listrow[% loop.count % 2 %]" id="price_factor_id_[% factor.id %]">
25 <td align="center" class="dragdrop"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></td>
26 <td><a href="[% url_base %]&action=edit_price_factor&id=[% HTML.url(factor.id) %]">[% HTML.escape(factor.description) %]</a></td>
27 <td>[% HTML.escape(factor.factor) %]</td>
37 <form method="post" action="am.pl">
38 <input type="hidden" name="type" value="price_factor">
39 <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
41 <input type="submit" class="submit" name="action" value="[% 'Add' | $T8 %]">
45 [% L.sortable_element('#price_factor_list tbody', url => 'controller.pl?action=PriceFactor/reorder', with => 'price_factor_id') %]