Revision 05b1d471
Von Bernd Bleßmann vor 21 Tagen hinzugefügt
templates/design40_webpages/customer_vendor_turnover/_list_open_items.html | ||
---|---|---|
1 | 1 |
[%- USE T8 %] |
2 | 2 |
[%- USE LxERP %] |
3 |
[%- USE L %]
|
|
3 |
[%- USE P %]
|
|
4 | 4 |
[%- USE HTML %] |
5 | 5 |
|
6 | 6 |
<div id="sales_report" class="wrapper"> |
... | ... | |
25 | 25 |
[% IF FORM.db == 'customer' %] |
26 | 26 |
[% IF row.type == 'invoice' %] |
27 | 27 |
[% SET type = 'Invoice (one letter abbreviation)' %] |
28 |
[% SET link = 'is.pl' %] |
|
29 | 28 |
[% ELSIF row.type == 'credit_note' %] |
30 | 29 |
[% SET type = 'Credit note (one letter abbreviation)' %] |
31 |
[% SET link = 'is.pl' %] |
|
32 | 30 |
[% ELSE %] |
33 | 31 |
[% SET type = 'AR Transaction (abbreviation)' %] |
34 |
[% SET link = 'ar.pl' %] |
|
35 | 32 |
[% END %] |
36 | 33 |
[% ELSE %] |
37 | 34 |
[% IF row.invoice %] |
38 | 35 |
[% SET type = 'Invoice (one letter abbreviation)' %] |
39 |
[% SET link = 'ir.pl' %] |
|
40 | 36 |
[% ELSE %] |
41 | 37 |
[% SET type = 'AP Transaction (abbreviation)' %] |
42 |
[% SET link = 'ap.pl' %] |
|
43 | 38 |
[% END %] |
44 | 39 |
[% END %] |
45 | 40 |
<tr class="listrow[% loop.count % 2 %]"> |
46 | 41 |
<td>[% type | $T8 %]</td> |
47 |
<td><a href="[% link %]?action=edit&id=[% row.id %]">[% row.invnumber | html %]</a></td>
|
|
42 |
<td>[% P.invoice.invoice(row) %]</td>
|
|
48 | 43 |
<td>[% row.transdate.to_kivitendo | html %]</td> |
49 | 44 |
<td class="numeric">[%- LxERP.format_amount(row.amount, 2) %]</td> |
50 | 45 |
<td>[% row.duedate.to_kivitendo | html %]</td> |
Auch abrufbar als: Unified diff
CV: Belege-Tab: html-Templates offene Aufträge/Rechnungen: Presenter für Links