1 [%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE T8 -%][%- INCLUDE 'common/flash.html' %]
6 <table width="100%" id="buchungsgruppen_list">
8 <tr class="listheading">
9 <th align="center" width="1%"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></th>
10 <th width="20%">[% 'Description' | $T8 %]</th>
11 <th width="20%">[% 'Inventory Account' | $T8 %]</th>
12 [%- FOREACH tz = TAXZONES %]
13 <th width="20%">[% 'Revenue' | $T8 %] [% HTML.escape(tz.description) %]</th>
14 <th width="20%">[% 'Expense' | $T8 %] [% HTML.escape(tz.description) %]</th>
20 [%- FOREACH bg = BUCHUNGSGRUPPEN %]
21 <tr class="listrow" id="bg_id_[% bg.id %]">
22 <td align="center" class="dragdrop"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></td>
23 <td><a href="[% SELF.url_for(action='edit', id=bg.id) %]">[% HTML.escape(bg.description) %]</a></td>
24 <td>[% HTML.escape(CHARTLIST.${bg.id}.inventory_accno) %]</td>
25 [%- FOREACH tz = TAXZONES %]
26 <td>[% HTML.escape(CHARTLIST.${bg.id}.${tz.id}.income_accno) %]</td>
27 <td>[% HTML.escape(CHARTLIST.${bg.id}.${tz.id}.expense_accno) %]</td>
34 [% L.sortable_element('#buchungsgruppen_list tbody', url=SELF.url_for(action='reorder'), with='bg_id') %]