Revision 9911cb13
Von Jan Büren vor fast 2 Jahren hinzugefügt
templates/webpages/ap/form_header.html | ||
---|---|---|
138 | 138 |
<input name="exchangerate" size="10" value="[% HTML.escape(LxERP.format_amount(exchangerate)) %]"> |
139 | 139 |
[%- END %] |
140 | 140 |
[% IF record_forex %][% 'record exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %] |
141 |
[% L.hidden_tag("record_forex", record_forex) %] |
|
141 | 142 |
[% END %] |
142 | 143 |
</tr> |
143 | 144 |
|
... | ... | |
340 | 341 |
</td> |
341 | 342 |
|
342 | 343 |
[% temp = "paid_"_ i %] |
343 |
<td align="center">
|
|
344 |
<td align="right">
|
|
344 | 345 |
[% IF( changeable ) %] |
345 | 346 |
<input name="[% temp %]" size="11" data-validate="number" class="numeric" value="[% $temp | html %]" id="[%- 'payment_' _ temp -%]"> |
346 | 347 |
[% ELSE %] |
347 | 348 |
[% $temp | html %] |
348 |
<input type="hidden" name="[% temp %]" value="[% $temp | html %]"> |
|
349 |
<input type="hidden" name="[% temp %]" value="[% $temp | html %]"> [% defaultcurrency %]
|
|
349 | 350 |
[% END %] |
350 | 351 |
</td> |
351 | 352 |
|
... | ... | |
403 | 404 |
<td></td> |
404 | 405 |
<td></td> |
405 | 406 |
<td align="center">[% 'Total' | $T8 %]</td> |
406 |
<td align="center">[% LxERP.format_amount(totalpaid, 2) | html %]</td>
|
|
407 |
<td align="right">[% LxERP.format_amount(totalpaid, 2) | html %] [% defaultcurrency %]</td>
|
|
407 | 408 |
[% IF ( !defaultcurrency || (currency != defaultcurrency) ) %] |
408 | 409 |
<td></td> |
409 | 410 |
<td align="center">[% LxERP.format_amount(fx_totalpaid, 2) | html %] [% currency %]</td> |
410 | 411 |
<input type="hidden" name="fx_totalpaid" value="[% fx_totalpaid %]"> |
412 |
<input type="hidden" name="is_linked_bank_transaction" value="[% is_linked_bank_transaction %]"> |
|
411 | 413 |
[% END %] |
412 | 414 |
|
413 | 415 |
</tr> |
... | ... | |
415 | 417 |
<td></td> |
416 | 418 |
<td></td> |
417 | 419 |
<td align="center">[% 'Missing amount' | $T8 %]</td> |
418 |
<td align="center">[% LxERP.format_amount(paid_missing, 2) | html %]</td>
|
|
420 |
<td align="right">[% LxERP.format_amount(paid_missing, 2) | html %] [% defaultcurrency %]</td>
|
|
419 | 421 |
</tr> |
420 | 422 |
</table> |
421 | 423 |
[% END %] |
templates/webpages/ar/form_header.html | ||
---|---|---|
287 | 287 |
[%- IF row.changeable %] |
288 | 288 |
<input name="paid_[% loop.count %]" size=11 data-validate="number" class="numeric" value="[% row.paid ? LxERP.format_amount(row.paid, 2) : '' | html %]"> |
289 | 289 |
[%- ELSE %] |
290 |
[% row.paid | html %]<input type=hidden name="paid_[% loop.count %]" value="[% row.paid ? LxERP.format_amount(row.paid, 2) : '' | html %]"> |
|
290 |
[% row.paid | html %]<input type=hidden name="paid_[% loop.count %]" value="[% row.paid ? LxERP.format_amount(row.paid, 2) : '' | html %]"> [% defaultcurrency %]
|
|
291 | 291 |
[%- END %] |
292 | 292 |
</td> |
293 | 293 |
<td> |
... | ... | |
298 | 298 |
[%- IF show_exch %] |
299 | 299 |
<td align=center> |
300 | 300 |
[%- IF row.forex || !row.changeable%] |
301 |
<input type=hidden name="exchangerate_[% loop.count %]" value="[%- LxERP.format_amount(row.exchangerate, 5, 1) -%]">[%- LxERP.format_amount(row.exchangerate, 5, 1) -%] |
|
301 |
<input type=hidden name="exchangerate_[% loop.count %]" value="[%- LxERP.format_amount(row.exchangerate, 5, 1) -%]"> |
|
302 |
[%- LxERP.format_amount(row.exchangerate, 5, 0) -%] = [% LxERP.format_amount(row.fx_paid, 2) %] [% currency %]</br> |
|
303 |
[% IF $record_forex %][% 'bank transaction exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %] |
|
302 | 304 |
[%- ELSE %] |
303 | 305 |
<input name="exchangerate_[% loop.count %]" size=10 value="[%- LxERP.format_amount(row.exchangerate, 5, 1) -%]"> |
304 | 306 |
[%- END %] |
... | ... | |
329 | 331 |
<td></td> |
330 | 332 |
<td></td> |
331 | 333 |
<td align="center">[% 'Total' | $T8 %]</td> |
332 |
<td align="center">[% LxERP.format_amount(totalpaid, 2) | html %]</td> |
|
334 |
<td align="center">[% LxERP.format_amount(totalpaid, 2) | html %] [% defaultcurrency %] </td> |
|
335 |
[% IF show_exch %] |
|
336 |
<td></td> |
|
337 |
<td align="center">[% LxERP.format_amount(fx_totalpaid, 2) | html %] [% currency %]</td> |
|
338 |
<input type="hidden" name="fx_totalpaid" value="[% fx_totalpaid %]"> |
|
339 |
<input type="hidden" name="is_linked_bank_transaction" value="[% is_linked_bank_transaction %]"> |
|
340 |
[% END %] |
|
333 | 341 |
</tr> |
334 | 342 |
<tr> |
335 | 343 |
<td></td> |
templates/webpages/ir/_payments.html | ||
---|---|---|
87 | 87 |
<input type="hidden" name="record_forex_[% i %]" value="[% $record_forex %]"> |
88 | 88 |
<input type="hidden" name="forex_[% i %]" value="[% $forex %]"> |
89 | 89 |
<input type="hidden" name="fx_paid_[% i %]" value="[% $fx_paid %]"> |
90 |
[% LxERP.format_amount($forex, 5) %] = [% $fx_paid %] [% currency %] </br>
|
|
90 |
[% LxERP.format_amount($forex, 5) %] = [% LxERP.format_amount($fx_paid, 5) %] [% currency %] </br>
|
|
91 | 91 |
[% IF $record_forex %][% 'bank transaction exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %] |
92 | 92 |
[% ELSE %] |
93 | 93 |
[% IF $changeable %] |
templates/webpages/is/_payments.html | ||
---|---|---|
92 | 92 |
[% SET record_forex = 'record_forex_' _ i %] |
93 | 93 |
[% IF $forex %] |
94 | 94 |
<input type="hidden" name="exchangerate_[% i %]" value="[% LxERP.format_amount($exchangerate, 5) %]"> |
95 |
[% LxERP.format_amount($forex, 5) %] = [% $fx_paid %] [% currency %] </br>
|
|
95 |
[% LxERP.format_amount($forex, 5) %] = [% LxERP.format_amount($fx_paid, 5) %] [% currency %] </br>
|
|
96 | 96 |
[% IF $record_forex %][% 'bank transaction exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %] |
97 | 97 |
[% ELSE %] |
98 | 98 |
[% IF $changeable %] |
Auch abrufbar als: Unified diff
WebTemplates für Wechselkurs in Zahlungen anzeigen (alle Buchungsmasken)