Revision 840edb05
Von Bernd Bleßmann vor etwa 1 Monat hinzugefügt
templates/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"> |
... | ... | |
24 | 24 |
[% IF FORM.db == 'customer' %] |
25 | 25 |
[% IF row.type == 'invoice' %] |
26 | 26 |
[% SET type = 'Invoice (one letter abbreviation)' %] |
27 |
[% SET link = 'is.pl' %] |
|
28 | 27 |
[% ELSIF row.type == 'credit_note' %] |
29 | 28 |
[% SET type = 'Credit note (one letter abbreviation)' %] |
30 |
[% SET link = 'is.pl' %] |
|
31 | 29 |
[% ELSE %] |
32 | 30 |
[% SET type = 'AR Transaction (abbreviation)' %] |
33 |
[% SET link = 'ar.pl' %] |
|
34 | 31 |
[% END %] |
35 | 32 |
[% ELSE %] |
36 | 33 |
[% IF row.invoice %] |
37 | 34 |
[% SET type = 'Invoice (one letter abbreviation)' %] |
38 |
[% SET link = 'ir.pl' %] |
|
39 | 35 |
[% ELSE %] |
40 | 36 |
[% SET type = 'AP Transaction (abbreviation)' %] |
41 |
[% SET link = 'ap.pl' %] |
|
42 | 37 |
[% END %] |
43 | 38 |
[% END %] |
44 | 39 |
<tr class="listrow[% loop.count % 2 %]"> |
45 | 40 |
<td>[% type | $T8 %]</td> |
46 |
<td><a href="[% link %]?action=edit&id=[% row.id %]">[% row.invnumber | html %]</a></td>
|
|
41 |
<td>[% P.invoice.invoice(row) %]</td>
|
|
47 | 42 |
<td>[% row.transdate.to_kivitendo | html %]</td> |
48 | 43 |
<td class="numeric">[%- LxERP.format_amount(row.amount, 2) %]</td> |
49 | 44 |
<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