Revision 1a49205b
Von Jan Büren vor mehr als 1 Jahr hinzugefügt
templates/design40_webpages/ap/form_header.html | ||
---|---|---|
90 | 90 |
[% END %] |
91 | 91 |
<tr> |
92 | 92 |
<th>[% 'Currency' | $T8 %]</th> |
93 |
<th> |
|
94 |
[% L.select_tag("currency", currencies, default=currency, value_key="name", title_key="name", class="wi-small") %] |
|
95 |
[% IF ( defaultcurrency && (currency != defaultcurrency) ) %] |
|
96 |
[% 'Exchangerate' | $T8 %] |
|
97 |
[% IF ( forex ) %] |
|
98 |
<input type="hidden" name="exchangerate" value="[% exchangerate | html %]"> |
|
99 |
[% exchangerate | html %] |
|
100 |
[% ELSE %] |
|
101 |
<input type="text" name="exchangerate" size="10" value="[% exchangerate | html %]"> |
|
102 |
[% END %] |
|
103 |
[% END %] |
|
104 |
</th> |
|
93 |
<td> |
|
94 |
[%- IF readonly %] |
|
95 |
[% HTML.escape(currency) %] |
|
96 |
[% L.hidden_tag("currency", currency) %] |
|
97 |
[%- ELSE %] |
|
98 |
[% L.select_tag("currency", currencies, default=currency, value_key="name", title_key="name", class="wi-small") %] |
|
99 |
[%- END %] |
|
100 |
</td> |
|
105 | 101 |
</tr> |
102 |
[% IF ( defaultcurrency && (currency != defaultcurrency) ) %] |
|
103 |
<tr> |
|
104 |
<th>[% 'Exchangerate' | $T8 %]</th> |
|
105 |
<td> |
|
106 |
[%- IF readonly %] |
|
107 |
[% LxERP.format_amount(exchangerate, 5) %] |
|
108 |
[% L.hidden_tag("exchangerate", LxERP.format_amount(exchangerate, 5)) %] |
|
109 |
[%- ELSE %] |
|
110 |
<input name="exchangerate" size="10" value="[% HTML.escape(LxERP.format_amount(exchangerate)) %]"> |
|
111 |
[%- END %] |
|
112 |
[% IF record_forex %][% 'record exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %] |
|
113 |
</td> |
|
114 |
</tr> |
|
115 |
[% END %] |
|
106 | 116 |
[% IF ALL_DEPARTMENTS %] |
107 | 117 |
<tr> |
108 | 118 |
<th>[% 'Department' | $T8 %]</th> |
Auch abrufbar als: Unified diff
design40: a2c920be72 - Wechselkurs in form_header anzeigen