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">
14 <tr class="listheading">
15 <th align="center"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></th>
16 <th width="80%">[% 'Description' | $T8 %]</th>
17 <th width="20%">[% 'Factor' | $T8 %]</th>
20 [% FOREACH factor = PRICE_FACTORS %]
21 <tr class="listrow[% loop.count % 2 %]" id="price_factor_id_[% factor.id %]">
22 <td align="center" class="dragdrop"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></td>
23 <td><a href="[% url_base %]&action=edit_price_factor&id=[% HTML.url(factor.id) %]">[% HTML.escape(factor.description) %]</a></td>
24 <td>[% HTML.escape(factor.factor) %]</td>
33 <form method="post" action="am.pl">
34 <input type="hidden" name="type" value="price_factor">
35 <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
37 <input type="submit" class="submit" name="action" value="[% 'Add' | $T8 %]">
41 [% L.sortable_element('#price_factor_list tbody', 'url' => 'controller.pl?action=PriceFactor/reorder', 'with' => 'price_factor_id', handle => '.dragdrop') %]