Revision 7ee884d9
Von Jan Büren vor etwa 2 Jahren hinzugefügt
templates/webpages/ap/form_header.html | ||
---|---|---|
<td align="center">
|
||
[% temp = "exchangerate_"_ i %]
|
||
[% temp_forex = "forex_"_ i %]
|
||
[% SET fx_paid = 'fx_paid_' _ i %]
|
||
[% SET record_forex = 'record_forex_' _ i %]
|
||
|
||
|
||
[% IF( $temp_forex || !changeable ) %]
|
||
[% $temp | html %]
|
||
[% $temp | html %] = [% LxERP.format_amount($fx_paid,2) %] [% currency %] </br>
|
||
[% IF $record_forex %][% 'bank transaction exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %]
|
||
|
||
<input type="hidden" name="[% temp %]" value="[% $temp | html %]">
|
||
[% ELSE %]
|
||
<input name="[% temp %]" size="11" value="[% $temp | html %]">
|
||
[% END %]
|
||
|
||
<input type=hidden name="[% temp_forex %]" value="[% $temp_forex | html %]">
|
||
</td>
|
||
[% END %]
|
||
... | ... | |
<td></td>
|
||
<td align="center">[% 'Total' | $T8 %]</td>
|
||
<td align="center">[% LxERP.format_amount(totalpaid, 2) | html %]</td>
|
||
[% IF ( !defaultcurrency || (currency != defaultcurrency) ) %]
|
||
<td></td>
|
||
<td align="center">[% LxERP.format_amount(fx_totalpaid, 2) | html %] [% currency %]</td>
|
||
<input type="hidden" name="fx_totalpaid" value="[% fx_totalpaid %]">
|
||
[% END %]
|
||
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
templates/webpages/ir/_payments.html | ||
---|---|---|
<td align="center">
|
||
[% SET forex = 'forex_' _ i %]
|
||
[% SET exchangerate = 'exchangerate_' _ i %]
|
||
[% SET fx_paid = 'fx_paid_' _ i %]
|
||
[% SET record_forex = 'record_forex_' _ i %]
|
||
[% IF $forex %]
|
||
<input type="hidden" name="exchangerate_[% i %]" value="[% LxERP.format_amount($exchangerate, 5) %]">
|
||
[% LxERP.format_amount($forex, 5) %]
|
||
<input type="hidden" name="record_forex_[% i %]" value="[% $record_forex %]">
|
||
<input type="hidden" name="forex_[% i %]" value="[% $forex %]">
|
||
<input type="hidden" name="fx_paid_[% i %]" value="[% $fx_paid %]">
|
||
[% LxERP.format_amount($forex, 5) %] = [% $fx_paid %] [% currency %] </br>
|
||
[% IF $record_forex %][% 'bank transaction exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %]
|
||
[% ELSE %]
|
||
[% IF $changeable %]
|
||
<input name="exchangerate_[% i %]" size="10" value="[% LxERP.format_amount($exchangerate, 5, 1) %]">
|
||
... | ... | |
<tr>
|
||
<td></td>
|
||
<td></td>
|
||
<td align="center">[% 'Total' | $T8 %]</td>
|
||
<td align="center">[% LxERP.format_amount(totalpaid, 2) | html %]</td>
|
||
<td align="center">[%- 'Total' | $T8 %]</td>
|
||
<td align="center">[% LxERP.format_amount(totalpaid, 2) | html %] [% defaultcurrency %]</td>
|
||
<td></td>
|
||
[% IF show_exchangerate %]
|
||
<td align="center">[% LxERP.format_amount(fx_totalpaid, 2) | html %] [% currency %]</td>
|
||
<input type="hidden" name="fx_totalpaid" value="[% fx_totalpaid %]">
|
||
[% END %]
|
||
</tr>
|
||
[% UNLESS show_exchangerate %]
|
||
<tr>
|
||
<td></td>
|
||
<td></td>
|
||
<td align="center">[% 'Missing amount' | $T8 %]</td>
|
||
<td align="center">[%- 'Missing amount' | $T8 %]</td>
|
||
<td align="center">[% LxERP.format_amount(paid_missing, 2) | html %]</td>
|
||
</tr>
|
||
[% END %]
|
||
|
||
<input type="hidden" name="paidaccounts" value="[% paidaccounts %]">
|
||
<input type="hidden" name="selectAP_paid" value="[% selectAP_paid %]">
|
templates/webpages/is/_payments.html | ||
---|---|---|
<td align="center">
|
||
[% SET forex = 'forex_' _ i %]
|
||
[% SET exchangerate = 'exchangerate_' _ i %]
|
||
[% SET fx_paid = 'fx_paid_' _ i %]
|
||
[% SET record_forex = 'record_forex_' _ i %]
|
||
[% IF $forex %]
|
||
<input type="hidden" name="exchangerate_[% i %]" value="[% LxERP.format_amount($exchangerate, 5) %]">
|
||
[% LxERP.format_amount($forex, 5) %]
|
||
[% LxERP.format_amount($forex, 5) %] = [% $fx_paid %] [% currency %] </br>
|
||
[% IF $record_forex %][% 'bank transaction exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %]
|
||
[% ELSE %]
|
||
[% IF $changeable %]
|
||
<input name="exchangerate_[% i %]" size="10" value="[% LxERP.format_amount($exchangerate, 5, 1) %]">
|
||
... | ... | |
<td></td>
|
||
<td></td>
|
||
<td align="center">[%- 'Total' | $T8 %]</td>
|
||
<td align="center">[% LxERP.format_amount(totalpaid, 2) | html %]</td>
|
||
<td align="center">[% LxERP.format_amount(totalpaid, 2) | html %] [% defaultcurrency %]</td>
|
||
<td></td>
|
||
[% IF show_exchangerate %]
|
||
<td align="center">[% LxERP.format_amount(fx_totalpaid, 2) | html %] [% currency %]</td>
|
||
[% END %]
|
||
</tr>
|
||
[% UNLESS show_exchangerate %]
|
||
<tr>
|
||
<td></td>
|
||
<td></td>
|
||
<td align="center">[%- 'Missing amount' | $T8 %]</td>
|
||
<td align="center">[% LxERP.format_amount(paid_missing, 2) | html %]</td>
|
||
</tr>
|
||
[% END %]
|
||
<tr style='display:none'>
|
||
<td>
|
||
<input type="hidden" name="paidaccounts" value="[% paidaccounts %]">
|
Auch abrufbar als: Unified diff
Zahlungsbewegungen in Fremdwährungen, summieren und Quelle des Kurses anzeigen