Revision 476b9620
Von Jan Büren vor fast 2 Jahren hinzugefügt
templates/design40_webpages/bank_transactions/tabs/automatic.html | ||
---|---|---|
20 | 20 |
<th>[% 'Amount' | $T8 %]</th> |
21 | 21 |
<th>[% 'Skonto' | $T8 %]</th> |
22 | 22 |
<th>[% 'Purpose/Reference' | $T8 %]</th> |
23 |
[% IF INSTANCE_CONF.get_create_qrbill_invoices == 1 %] |
|
24 |
<th>[% 'QR reference' | $T8 %]</th> |
|
25 |
[% END %] |
|
23 | 26 |
<th>[% 'Customer/Vendor/Remote name' | $T8 %]</th> |
24 | 27 |
<th>[% LxERP.t8("Source") %]</th> |
25 | 28 |
<th>[% LxERP.t8("Memo") %]</th> |
... | ... | |
54 | 57 |
purpose ; |
55 | 58 |
END |
56 | 59 |
%]</td> |
60 |
[% IF INSTANCE_CONF.get_create_qrbill_invoices == 1 %] |
|
61 |
<td> |
|
62 |
[% SET qr_reference = HTML.escape(proposal.qr_reference) |
|
63 |
qr_reference_found = ''; |
|
64 |
FOREACH proposed_invoice = proposal.proposals; |
|
65 |
IF qr_reference.match(proposed_invoice.qr_reference); |
|
66 |
SET qr_reference_found = proposed_invoice.qr_reference; |
|
67 |
END; |
|
68 |
END; |
|
69 |
|
|
70 |
IF qr_reference_found; |
|
71 |
qr_reference.replace(qr_reference_found, '<span class="qr_reference_highlight">' _ qr_reference_found _ '</span>'); |
|
72 |
ELSE; |
|
73 |
purpose; |
|
74 |
END %] |
|
75 |
</td> |
|
76 |
[% END %] |
|
57 | 77 |
<td>[% HTML.escape(proposal.remote_name) %]</td> |
58 | 78 |
<td></td> |
59 | 79 |
<td></td> |
... | ... | |
70 | 90 |
<td>[% proposed_invoice.skonto_type | $T8 %] |
71 | 91 |
[% L.hidden_tag("invoice_skontos." _ proposal.id _ "[]", proposed_invoice.skonto_type) %]</td> |
72 | 92 |
<td[% IF proposed_invoice.invnumber == invnumber_found %] class="invoice_number_highlight"[% END %]>[% proposed_invoice.link %]</td> |
93 |
[% IF INSTANCE_CONF.get_create_qrbill_invoices == 1 %] |
|
94 |
<td> |
|
95 |
[% IF proposed_invoice.qr_reference == proposal.qr_reference %] |
|
96 |
<span class="qr_reference_highlight">[% HTML.escape(proposed_invoice.qr_reference) %]</span> |
|
97 |
[% ELSE %] |
|
98 |
[% HTML.escape(proposed_invoice.qr_reference) %] |
|
99 |
[% END %] |
|
100 |
</td> |
|
101 |
[% END %] |
|
73 | 102 |
<td>[% HTML.escape(proposed_invoice.customer.name) %][% HTML.escape(proposed_invoice.vendor.name) %]</td> |
74 | 103 |
<td>[% L.input_tag("sources." _ proposal.id _ "[]", "", size=20) %]</td> |
75 | 104 |
<td>[% L.input_tag("memos." _ proposal.id _ "[]", "", size=20) %]</td> |
Auch abrufbar als: Unified diff
design40: 99a944010b08 Swiss QR-Bill
Swiss QR-Bill: Beim Filter für Bankbuchungen bzw. Kontenabgleich QR-Referenz berücksichtigen