Revision fa4f2067
Von Martin Helmling martin.helmling@octosoft.eu vor etwa 8 Jahren hinzugefügt
templates/webpages/bank_transactions/filter_drafts.html | ||
---|---|---|
13 | 13 |
[% FOREACH draft = DRAFTS %] |
14 | 14 |
<tr class="listrow[% loop.count % 2 %]"> |
15 | 15 |
<td>[% HTML.escape(draft.itime_as_date) %]</td> |
16 |
<td><a href="controller.pl?action=Draft/load&id=[% HTML.url(draft.id) %]&form.amount_1=[% SELF.transaction.amount_as_number %]&form.datepaid_1=[% HTML.url(SELF.transaction.transdate_as_date) %]&form.paid_1=[% SELF.transaction.amount_as_number %]&form.callback=[% HTML.url(callback) %]">[% HTML.escape(draft.description) %]</a></td>
|
|
16 |
<td><a href="controller.pl?action=Draft/load&id=[% HTML.url(draft.id) %]&form.amount_1=[% LxERP.format_amount(-1 * SELF.transaction.amount, 2) %]&form.datepaid_1=[% HTML.url(SELF.transaction.transdate_as_date) %]&form.paid_1=[% LxERP.format_amount(-1 * SELF.transaction.amount, 2) %]&form.callback=[% HTML.url(callback) %]">[% HTML.escape(draft.description) %]</a></td>
|
|
17 | 17 |
<td>[% HTML.escape(draft.employee.name) %]</td> |
18 | 18 |
<td>[% HTML.escape(draft.vendor) %]</td> |
19 | 19 |
</tr> |
Auch abrufbar als: Unified diff
Negativer Amount auch bei filter_drafts
In einer Rechnung wird beim Erzeugen aus der Vorlage der gezahlte Wert nun
richtig ausgefüllt.
Wie in create_invoice.html negative Werte frisch formatieren (commit 15b2640059)