Revision 7ee884d9
Von Jan Büren vor fast 2 Jahren hinzugefügt
templates/webpages/ap/form_header.html | ||
---|---|---|
359 | 359 |
<td align="center"> |
360 | 360 |
[% temp = "exchangerate_"_ i %] |
361 | 361 |
[% temp_forex = "forex_"_ i %] |
362 |
[% SET fx_paid = 'fx_paid_' _ i %] |
|
363 |
[% SET record_forex = 'record_forex_' _ i %] |
|
364 |
|
|
362 | 365 |
|
363 | 366 |
[% IF( $temp_forex || !changeable ) %] |
364 |
[% $temp | html %] |
|
367 |
[% $temp | html %] = [% LxERP.format_amount($fx_paid,2) %] [% currency %] </br> |
|
368 |
[% IF $record_forex %][% 'bank transaction exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %] |
|
369 |
|
|
365 | 370 |
<input type="hidden" name="[% temp %]" value="[% $temp | html %]"> |
366 | 371 |
[% ELSE %] |
367 | 372 |
<input name="[% temp %]" size="11" value="[% $temp | html %]"> |
368 | 373 |
[% END %] |
369 |
|
|
370 | 374 |
<input type=hidden name="[% temp_forex %]" value="[% $temp_forex | html %]"> |
371 | 375 |
</td> |
372 | 376 |
[% END %] |
... | ... | |
400 | 404 |
<td></td> |
401 | 405 |
<td align="center">[% 'Total' | $T8 %]</td> |
402 | 406 |
<td align="center">[% LxERP.format_amount(totalpaid, 2) | html %]</td> |
407 |
[% IF ( !defaultcurrency || (currency != defaultcurrency) ) %] |
|
408 |
<td></td> |
|
409 |
<td align="center">[% LxERP.format_amount(fx_totalpaid, 2) | html %] [% currency %]</td> |
|
410 |
<input type="hidden" name="fx_totalpaid" value="[% fx_totalpaid %]"> |
|
411 |
[% END %] |
|
412 |
|
|
403 | 413 |
</tr> |
404 | 414 |
<tr> |
405 | 415 |
<td></td> |
templates/webpages/ir/_payments.html | ||
---|---|---|
80 | 80 |
<td align="center"> |
81 | 81 |
[% SET forex = 'forex_' _ i %] |
82 | 82 |
[% SET exchangerate = 'exchangerate_' _ i %] |
83 |
[% SET fx_paid = 'fx_paid_' _ i %] |
|
84 |
[% SET record_forex = 'record_forex_' _ i %] |
|
83 | 85 |
[% IF $forex %] |
84 | 86 |
<input type="hidden" name="exchangerate_[% i %]" value="[% LxERP.format_amount($exchangerate, 5) %]"> |
85 |
[% LxERP.format_amount($forex, 5) %] |
|
87 |
<input type="hidden" name="record_forex_[% i %]" value="[% $record_forex %]"> |
|
88 |
<input type="hidden" name="forex_[% i %]" value="[% $forex %]"> |
|
89 |
<input type="hidden" name="fx_paid_[% i %]" value="[% $fx_paid %]"> |
|
90 |
[% LxERP.format_amount($forex, 5) %] = [% $fx_paid %] [% currency %] </br> |
|
91 |
[% IF $record_forex %][% 'bank transaction exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %] |
|
86 | 92 |
[% ELSE %] |
87 | 93 |
[% IF $changeable %] |
88 | 94 |
<input name="exchangerate_[% i %]" size="10" value="[% LxERP.format_amount($exchangerate, 5, 1) %]"> |
... | ... | |
110 | 116 |
<tr> |
111 | 117 |
<td></td> |
112 | 118 |
<td></td> |
113 |
<td align="center">[% 'Total' | $T8 %]</td> |
|
114 |
<td align="center">[% LxERP.format_amount(totalpaid, 2) | html %]</td> |
|
119 |
<td align="center">[%- 'Total' | $T8 %]</td> |
|
120 |
<td align="center">[% LxERP.format_amount(totalpaid, 2) | html %] [% defaultcurrency %]</td> |
|
121 |
<td></td> |
|
122 |
[% IF show_exchangerate %] |
|
123 |
<td align="center">[% LxERP.format_amount(fx_totalpaid, 2) | html %] [% currency %]</td> |
|
124 |
<input type="hidden" name="fx_totalpaid" value="[% fx_totalpaid %]"> |
|
125 |
[% END %] |
|
115 | 126 |
</tr> |
127 |
[% UNLESS show_exchangerate %] |
|
116 | 128 |
<tr> |
117 | 129 |
<td></td> |
118 | 130 |
<td></td> |
119 |
<td align="center">[% 'Missing amount' | $T8 %]</td> |
|
131 |
<td align="center">[%- 'Missing amount' | $T8 %]</td>
|
|
120 | 132 |
<td align="center">[% LxERP.format_amount(paid_missing, 2) | html %]</td> |
121 | 133 |
</tr> |
134 |
[% END %] |
|
122 | 135 |
|
123 | 136 |
<input type="hidden" name="paidaccounts" value="[% paidaccounts %]"> |
124 | 137 |
<input type="hidden" name="selectAP_paid" value="[% selectAP_paid %]"> |
templates/webpages/is/_payments.html | ||
---|---|---|
88 | 88 |
<td align="center"> |
89 | 89 |
[% SET forex = 'forex_' _ i %] |
90 | 90 |
[% SET exchangerate = 'exchangerate_' _ i %] |
91 |
[% SET fx_paid = 'fx_paid_' _ i %] |
|
92 |
[% SET record_forex = 'record_forex_' _ i %] |
|
91 | 93 |
[% IF $forex %] |
92 | 94 |
<input type="hidden" name="exchangerate_[% i %]" value="[% LxERP.format_amount($exchangerate, 5) %]"> |
93 |
[% LxERP.format_amount($forex, 5) %] |
|
95 |
[% LxERP.format_amount($forex, 5) %] = [% $fx_paid %] [% currency %] </br> |
|
96 |
[% IF $record_forex %][% 'bank transaction exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %] |
|
94 | 97 |
[% ELSE %] |
95 | 98 |
[% IF $changeable %] |
96 | 99 |
<input name="exchangerate_[% i %]" size="10" value="[% LxERP.format_amount($exchangerate, 5, 1) %]"> |
... | ... | |
118 | 121 |
<td></td> |
119 | 122 |
<td></td> |
120 | 123 |
<td align="center">[%- 'Total' | $T8 %]</td> |
121 |
<td align="center">[% LxERP.format_amount(totalpaid, 2) | html %]</td> |
|
124 |
<td align="center">[% LxERP.format_amount(totalpaid, 2) | html %] [% defaultcurrency %]</td> |
|
125 |
<td></td> |
|
126 |
[% IF show_exchangerate %] |
|
127 |
<td align="center">[% LxERP.format_amount(fx_totalpaid, 2) | html %] [% currency %]</td> |
|
128 |
[% END %] |
|
122 | 129 |
</tr> |
130 |
[% UNLESS show_exchangerate %] |
|
123 | 131 |
<tr> |
124 | 132 |
<td></td> |
125 | 133 |
<td></td> |
126 | 134 |
<td align="center">[%- 'Missing amount' | $T8 %]</td> |
127 | 135 |
<td align="center">[% LxERP.format_amount(paid_missing, 2) | html %]</td> |
128 | 136 |
</tr> |
137 |
[% END %] |
|
129 | 138 |
<tr style='display:none'> |
130 | 139 |
<td> |
131 | 140 |
<input type="hidden" name="paidaccounts" value="[% paidaccounts %]"> |
Auch abrufbar als: Unified diff
Zahlungsbewegungen in Fremdwährungen, summieren und Quelle des Kurses anzeigen