Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 87dc0add

Von Hans P. Schlaepfer vor mehr als 3 Jahren hinzugefügt

  • ID 87dc0add9fe01a17e9f15faba9272b1564d66795
  • Vorgänger 0d2a17b2
  • Nachfolger ba045ebd

Neues Design 2019 Standard-Code templates/webpages/buchungsgruppen/list.html

Unterschiede anzeigen:

templates/webpages/buchungsgruppen/list.html
6 6

  
7 7
<h1>[% title %]</h1>
8 8

  
9
<p>
10
 <table width="100%" id="buchungsgruppen_list">
9
<table id="buchungsgruppen_list" class="tbl-list wi-moderate">
11 10
  <thead>
12
   <tr class="listheading">
13
    <th align="center" width="1%"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></th>
14
    <th width="20%">[% 'Description' | $T8 %]</th>
15
    <th width="20%">[% 'Inventory Account' | $T8 %]</th>
16
     [%- FOREACH tz = TAXZONES %]
17
        <th width="20%">[% 'Revenue' | $T8 %] [% HTML.escape(tz.description) %]</th>
18
        <th width="20%">[% 'Expense' | $T8 %] [% HTML.escape(tz.description) %]</th>
19
     [%- END %]
20
   </tr>
11
    <tr>
12
      <th><img src="image/updown.png" alt="[% LxERP.t8('reorder item') %]"></th>
13
      <th>[% 'Description' | $T8 %]</th>
14
      <th>[% 'Inventory Account' | $T8 %]</th>
15
    [% FOREACH tz = TAXZONES %]
16
      <th>[% 'Revenue' | $T8 %] [% HTML.escape(tz.description) %]</th>
17
      <th>[% 'Expense' | $T8 %] [% HTML.escape(tz.description) %]</th>
18
    [% END %]
19
    </tr>
21 20
  </thead>
22

  
23 21
  <tbody>
24
   [%- FOREACH bg = BUCHUNGSGRUPPEN %]
25
    <tr class="listrow" id="bg_id_[% bg.id %]">
26
     <td align="center" class="dragdrop"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></td>
27
     <td><a href="[% SELF.url_for(action='edit', id=bg.id) %]">[% HTML.escape(bg.description) %]</a></td>
28
     <td>[% HTML.escape(CHARTLIST.${bg.id}.inventory_accno) %]</td>
29
     [%- FOREACH tz = TAXZONES %]
30
        <td>[% HTML.escape(CHARTLIST.${bg.id}.${tz.id}.income_accno) %]</td>
31
        <td>[% HTML.escape(CHARTLIST.${bg.id}.${tz.id}.expense_accno) %]</td>
32
     [%- END %]
33
   [%- END %]
22
  [% FOREACH bg = BUCHUNGSGRUPPEN %]
23
    <tr id="bg_id_[% bg.id %]">
24
      <td class="center dragdrop"><img src="image/updown.png" alt="[% LxERP.t8('reorder item') %]"></td>
25
      <td class="nowrap"><a href="[% SELF.url_for(action='edit', id=bg.id) %]">[% HTML.escape(bg.description) %]</a></td>
26
      <td>[% HTML.escape(CHARTLIST.${bg.id}.inventory_accno) %]</td>
27
    [% FOREACH tz = TAXZONES %]
28
      <td>[% HTML.escape(CHARTLIST.${bg.id}.${tz.id}.income_accno) %]</td>
29
      <td>[% HTML.escape(CHARTLIST.${bg.id}.${tz.id}.expense_accno) %]</td>
30
    [% END %]
31
  [% END %]
34 32
  </tbody>
35
 </table>
36
</p>
33
</table>
37 34

  
38 35
[% L.sortable_element('#buchungsgruppen_list tbody', url=SELF.url_for(action='reorder'), with='bg_id') %]

Auch abrufbar als: Unified diff