Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision ded22725

Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt

  • ID ded22725c56b2809ee5f1057835be03c604c0e8e
  • Vorgänger 6ef0afc8
  • Nachfolger 8945a6cd

Neues kivitendo Design Aenderungen in templates/webpages/inventory/..

Unterschiede anzeigen:

templates/webpages/inventory/_journal.html
2 2
[% USE HTML %]
3 3
[% USE LxERP %]
4 4
[% USE T8 %]
5

  
5 6
<h3>[% 'Journal of Last 10 Transfers' | $T8 %]</h3>
6 7

  
7
[%- IF journal.size %]
8
<table>
9
 <tr class='listheading'>
10
  <th>[% 'Date' | $T8 %]</th>
11
  <th>[% 'Trans Type' | $T8 %]</th>
12
  <th>[% 'Part' | $T8 %]</th>
13
  <th>[% 'Warehouse From' | $T8 %]</th>
14
  <th>[% 'Qty' | $T8 %]</th>
15
  <th>[% 'Unit' | $T8 %]</th>
16
  <th>[% 'Warehouse To' | $T8 %]</th>
17
  <th>[% 'Charge Number' | $T8 %]</th>
18
  <th>[% 'Comment' | $T8 %]</th>
19
 </tr>
20
[% FOREACH row = journal %]
21
 <tr class='listrow'>
22
  <td>[% row.base.itime_as_date  %]</td>
23
  <td>[% row.base.trans_type.description | $T8 %]</td>
24
  <td>[% row.base.part.displayable_name | html %]</td>
25
  <td>[% row.out ? row.out.bin.full_description : '-' | html %]</td>
26
  <td class='numeric'>[% row.in ? row.in.qty_as_number : LxERP.format_amount(-1 * row.out.qty, 2) %]</td>
27
  <td>[% row.base.part.unit | html %]</td>
28
  <td>[% row.in ? row.in.bin.full_description : '-' | html %]</td>
29
  <td>[% row.base.chargenumber | html %]</td>
30
  <td>[% row.base.comment | html %]</td>
31
 </tr>
8
[% IF journal.size %]
9

  
10
  <table class="tbl-list wi-moderate">
11
    <thead>
12
     <tr>
13
      <th>[% 'Date' | $T8 %]</th>
14
      <th>[% 'Trans Type' | $T8 %]</th>
15
      <th>[% 'Part' | $T8 %]</th>
16
      <th>[% 'Warehouse From' | $T8 %]</th>
17
      <th class="right">[% 'Qty' | $T8 %]</th>
18
      <th>[% 'Unit' | $T8 %]</th>
19
      <th>[% 'Warehouse To' | $T8 %]</th>
20
      <th class="right">[% 'Charge Number' | $T8 %]</th>
21
      <th>[% 'Comment' | $T8 %]</th>
22
     </tr>
23
    </thead>
24
    <tbody>
25
      [% FOREACH row = journal %]
26
       <tr>
27
        <td>[% row.base.itime_as_date  %]</td>
28
        <td>[% row.base.trans_type.description | $T8 %]</td>
29
        <td>[% row.base.part.displayable_name | html %]</td>
30
        <td>[% row.out ? row.out.bin.full_description : '-' | html %]</td>
31
        <td class='numeric'>[% row.in ? row.in.qty_as_number : LxERP.format_amount(-1 * row.out.qty, 2) %]</td>
32
        <td>[% row.base.part.unit | html %]</td>
33
        <td>[% row.in ? row.in.bin.full_description : '-' | html %]</td>
34
        <td class="right">[% row.base.chargenumber | html %]</td>
35
        <td>[% row.base.comment | html %]</td>
36
       </tr>
37
      [% END %]
38
    </tbody>
39
  </table>
40

  
41
[% ELSE %]
42
  <p>[% 'No transactions yet.' | $T8 %]</p>
32 43
[% END %]
33
</table>
34
[%- ELSE %]
35
<p>[% 'No transactions yet.' | $T8 %]</p>
36
[%- END %]

Auch abrufbar als: Unified diff