"Erfassen" als normale Links anstelle von Buttons darstellen
[kivitendo-erp.git] / templates / webpages / am / list_price_factors.html
1 [%- USE T8 %][% USE L %][% USE LxERP %]
2 [% USE HTML %]
3
4 <script type="text/javascript" src="js/jquery-ui.js"></script>
5
6
7  [% IF MESSAGE %]<p>[% MESSAGE %]</p>[% END %]
8
9  <div class="listtop">[% title %]</div>
10
11  <p>
12   <table width="100%" id="price_factor_list">
13    <thead>
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>
18    </tr>
19    </thead>
20
21    <tbody>
22    [% FOREACH factor = PRICE_FACTORS %]
23    <tr class="listrow[% loop.count % 2 %]" id="price_factor_id_[% factor.id %]">
24     <td align="center" class="dragdrop"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></td>
25     <td><a href="[% url_base %]&action=edit_price_factor&id=[% HTML.url(factor.id) %]">[% HTML.escape(factor.description) %]</a></td>
26     <td>[% HTML.escape(factor.factor) %]</td>
27    </tr>
28    [% END %]
29    </tbody>
30   </table>
31  </p>
32
33  <hr height="3">
34
35  <p>
36   <a href="am.pl?action=add&type=price_factor&callback=[% HTML.url(callback) %]">[%- 'Add' | $T8 %]</a>
37  </p>
38
39  [% L.sortable_element('#price_factor_list tbody', url => 'controller.pl?action=PriceFactor/reorder', with => 'price_factor_id') %]