Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 724e6329

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

  • ID 724e6329410c49ce27e211aa31240ca6ac3bcffb
  • Vorgänger 3349703b
  • Nachfolger e7f6589a

Neues Design 2019 Standard-Code templates/webpages/oe/

Unterschiede anzeigen:

templates/webpages/oe/report_for_todo_list.html
1
<h1>[% 'Overdue sales quotations and requests for quotations' | $T8 %]</h1>
2 1
[% USE T8 %]
3 2
[% USE HTML %]
4 3
[% USE LxERP %]
5 4

  
6
 <table width="100%">
7
  <tr>
8
   <td class="listheading">[% 'Date' | $T8 %]</td>
9
   <td class="listheading">[% 'Valid until' | $T8 %]</td>
10
   <td class="listheading">[% 'Sales quotation' | $T8 %] / [% 'Request quotation' | $T8 %]</td>
11
   <td class="listheading">[% 'Customer' | $T8 %] / [% 'Vendor' | $T8 %]</td>
12
   <td class="listheading">[% 'Transaction description' | $T8 %]</td>
13
   <td class="listheading">[% 'Amount' | $T8 %]</td>
14
   <td class="listheading">[% 'Employee' | $T8 %]</td>
15
  </tr>
5
<div class="wrapper center">
16 6

  
17
  [%- FOREACH row = QUOTATIONS %]
18
  <tr class="listrow[% loop.count % 2 %]">
19
   <td>[% HTML.escape(row.transdate) %]</td>
20
   <td>[% HTML.escape(row.reqdate) %]</td>
21
   <td>
22
    <a href="[% edit_url | html %]&amp;vc=[% row.vc | html %]&amp;type=[% IF row.vc == 'customer' %]sales_quotation[% ELSE %]request_quotation[% END %]&amp;id=[% row.id | html %]">
23
     [% IF row.vc == 'customer' %]
24
     [% 'Sales quotation' | $T8 %]
25
     [% ELSE %]
26
     [% 'Request quotation' | $T8 %]
27
     [% END %]
28
     [% HTML.escape(row.quonumber) %]
29
    </a>
30
   </td>
31
   <td>
32
    [% IF row.vc == 'customer' %]
33
    [% HTML.escape(row.customer) %]
34
    [% ELSE %]
35
    [% HTML.escape(row.vendor) %]
7
<table class="tbl-list wi-moderate">
8
  <caption>[% 'Overdue sales quotations and requests for quotations' | $T8 %]</caption>
9
  <thead>
10
    <tr>
11
     <th>[% 'Date' | $T8 %]</th>
12
     <th>[% 'Valid until' | $T8 %]</th>
13
     <th>[% 'Sales quotation' | $T8 %] / [% 'Request quotation' | $T8 %]</th>
14
     <th>[% 'Customer' | $T8 %] / [% 'Vendor' | $T8 %]</th>
15
     <th>[% 'Transaction description' | $T8 %]</th>
16
     <th>[% 'Amount' | $T8 %]</th>
17
     <th>[% 'Employee' | $T8 %]</th>
18
    </tr>
19
  </thead>
20
  <tbody>
21
    [% FOREACH row = QUOTATIONS %]
22
    <tr>
23
     <td>[% HTML.escape(row.transdate) %]</td>
24
     <td>[% HTML.escape(row.reqdate) %]</td>
25
     <td>
26
      <a href="[% edit_url | html %]&amp;vc=[% row.vc | html %]&amp;type=[% IF row.vc == 'customer' %]sales_quotation[% ELSE %]request_quotation[% END %]&amp;id=[% row.id | html %]">
27
       [% IF row.vc == 'customer' %]
28
         [% 'Sales quotation' | $T8 %]
29
       [% ELSE %]
30
         [% 'Request quotation' | $T8 %]
31
       [% END %]
32
       [% HTML.escape(row.quonumber) %]
33
      </a>
34
     </td>
35
     <td>
36
      [% IF row.vc == 'customer' %]
37
        [% HTML.escape(row.customer) %]
38
      [% ELSE %]
39
        [% HTML.escape(row.vendor) %]
40
      [% END %]
41
     </td>
42
     <td>[% HTML.escape(row.transaction_description) %]</td>
43
     <td>[% HTML.escape(LxERP.format_amount(row.amount, 2)) %]</td>
44
     <td>[% HTML.escape(row.employee) %]</td>
45
    </tr>
36 46
    [% END %]
37
   </td>
38
   <td>[% HTML.escape(row.transaction_description) %]</td>
39
   <td>[% HTML.escape(LxERP.format_amount(row.amount, 2)) %]</td>
40
   <td>[% HTML.escape(row.employee) %]</td>
41
  </tr>
42
  [%- END %]
43
 </table>
47
  </tbody>
48
</table>
49

  
50
</div><!-- /.wrapper -->

Auch abrufbar als: Unified diff