Revision 523c1e25
Von Jan Büren vor fast 2 Jahren hinzugefügt
templates/design40_webpages/ap/form_header.html | ||
---|---|---|
113 | 113 |
[%- ELSE %] |
114 | 114 |
<input name="exchangerate" size="10" value="[% HTML.escape(LxERP.format_amount(exchangerate)) %]"> |
115 | 115 |
[%- END %] |
116 |
[% IF record_forex %][% 'record exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %] |
|
116 |
[% IF record_forex %][% 'record exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %] |
|
117 |
[% L.hidden_tag("record_forex", record_forex) %] |
|
117 | 118 |
</td> |
118 | 119 |
</tr> |
119 | 120 |
[% END %] |
... | ... | |
275 | 276 |
[% IF( changeable ) %] <input type="text" name="[% temp %]" size="11" value="[% $temp | html %]"> |
276 | 277 |
[% ELSE %] [% $temp | html %] <input type="hidden" name="[% temp %]" value="[% $temp | html %]"> [% END %] |
277 | 278 |
</td> |
278 |
<td> |
|
279 |
<td class="numeric">
|
|
279 | 280 |
[% temp = "paid_"_ i %] |
280 | 281 |
[% IF( changeable ) %] |
281 | 282 |
<input name="[% temp %]" data-validate="number" value="[% $temp | html %]" id="[%- 'payment_' _ temp -%]" size="11" class="numeric"> |
282 | 283 |
[% ELSE %] |
283 |
[% $temp | html %] |
|
284 |
[% $temp | html %] [% defaultcurrency %]
|
|
284 | 285 |
<input type="hidden" name="[% temp %]" value="[% $temp | html %]"> |
285 | 286 |
[% END %] |
286 | 287 |
</td> |
... | ... | |
324 | 325 |
<td></td> |
325 | 326 |
<td></td> |
326 | 327 |
<th class="right">[% 'Total' | $T8 %]</th> |
327 |
<td class="numeric">[% LxERP.format_amount(totalpaid, 2) | html %]</td> |
|
328 |
<td class="numeric">[% LxERP.format_amount(totalpaid, 2) | html %] [% defaultcurrency %]</td>
|
|
328 | 329 |
<td></td> |
329 | 330 |
[% IF ( !defaultcurrency || (currency != defaultcurrency) ) %] |
330 |
<td align="center">[% LxERP.format_amount(fx_totalpaid, 2) | html %] [% currency %]</td>
|
|
331 |
<td class="numeric">[% LxERP.format_amount(fx_totalpaid, 2) | html %] [% currency %]</td>
|
|
331 | 332 |
<input type="hidden" name="fx_totalpaid" value="[% fx_totalpaid %]"> |
332 |
[% ELSE %] |
|
333 |
<td></td> |
|
333 |
<input type="hidden" name="is_linked_bank_transaction" value="[% is_linked_bank_transaction %]"> |
|
334 | 334 |
[% END %] |
335 | 335 |
<td></td> |
336 |
<td></td> |
|
336 | 337 |
</tr> |
337 | 338 |
<tr> |
338 | 339 |
<td></td> |
339 | 340 |
<td></td> |
340 | 341 |
<th class="right">[% 'Missing amount' | $T8 %]</th> |
341 |
<td class="numeric">[% LxERP.format_amount(paid_missing, 2) | html %]</td> |
|
342 |
<td class="numeric">[% LxERP.format_amount(paid_missing, 2) | html %] [% defaultcurrency %]</td>
|
|
342 | 343 |
<td></td> |
343 | 344 |
[% IF ( !defaultcurrency || (currency != defaultcurrency) ) %] |
344 |
<th></th>
|
|
345 |
<td></td>
|
|
345 | 346 |
[% END %] |
346 | 347 |
<td></td> |
347 | 348 |
<td></td> |
templates/design40_webpages/ar/form_header.html | ||
---|---|---|
280 | 280 |
[% IF row.changeable %] |
281 | 281 |
<input name="paid_[% loop.count %]" value="[% row.paid ? LxERP.format_amount(row.paid, 2) : '' | html %]" type="text" data-validate="number" class="numeric"> |
282 | 282 |
[% ELSE %] |
283 |
[% row.paid | html %]<input type="hidden" name="paid_[% loop.count %]" value="[% row.paid ? LxERP.format_amount(row.paid, 2) : '' | html %]"> |
|
283 |
[% row.paid | html %]<input type="hidden" name="paid_[% loop.count %]" value="[% row.paid ? LxERP.format_amount(row.paid, 2) : '' | html %]"> [% defaultcurrency %]
|
|
284 | 284 |
[% END %] |
285 | 285 |
</td> |
286 | 286 |
<td> |
... | ... | |
289 | 289 |
[% END %] |
290 | 290 |
</td> |
291 | 291 |
[% IF show_exch %] |
292 |
<td> |
|
292 |
<td class="numeric">
|
|
293 | 293 |
[% IF row.forex || !row.changeable%] |
294 |
<input type="hidden" name="exchangerate_[% loop.count %]" value="[% LxERP.format_amount(row.exchangerate, 5, 1) %]">[% LxERP.format_amount(row.exchangerate, 5, 1) %] |
|
294 |
<input type="hidden" name="exchangerate_[% loop.count %]" value="[% LxERP.format_amount(row.exchangerate, 5, 1) %]"> |
|
295 |
[%- LxERP.format_amount(row.exchangerate, 5, 0) -%] = [% LxERP.format_amount(row.fx_paid, 2) %] [% currency %]</br> |
|
296 |
[% IF $record_forex %][% 'bank transaction exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %] |
|
295 | 297 |
[% ELSE %] |
296 | 298 |
<input type="text" name="exchangerate_[% loop.count %]" size="10" value="[% LxERP.format_amount(row.exchangerate, 5, 1) %]"> |
297 | 299 |
[% END %] |
... | ... | |
323 | 325 |
<td></td> |
324 | 326 |
<td></td> |
325 | 327 |
<th class="right">[% 'Total' | $T8 %]</th> |
326 |
<td class="numeric">[% LxERP.format_amount(totalpaid, 2) | html %]</td> |
|
328 |
<td class="numeric">[% LxERP.format_amount(totalpaid, 2) | html %] [% defaultcurrency %]</td>
|
|
327 | 329 |
<td></td> |
328 | 330 |
[% IF show_exch %] |
329 |
<td></td> |
|
331 |
<td class="numeric">[% LxERP.format_amount(fx_totalpaid, 2) | html %] [% currency %]</td> |
|
332 |
<input type="hidden" name="fx_totalpaid" value="[% fx_totalpaid %]"> |
|
333 |
<input type="hidden" name="is_linked_bank_transaction" value="[% is_linked_bank_transaction %]"> |
|
330 | 334 |
[% END %] |
331 | 335 |
<td></td> |
332 | 336 |
<td></td> |
templates/design40_webpages/ir/_payments.html | ||
---|---|---|
80 | 80 |
</td> |
81 | 81 |
|
82 | 82 |
[% IF show_exchangerate %] |
83 |
<td> |
|
83 |
<td class="numeric">
|
|
84 | 84 |
[% SET forex = 'forex_' _ i %] |
85 | 85 |
[% SET exchangerate = 'exchangerate_' _ i %] |
86 | 86 |
[% SET fx_paid = 'fx_paid_' _ i %] |
... | ... | |
90 | 90 |
<input type="hidden" name="record_forex_[% i %]" value="[% $record_forex %]"> |
91 | 91 |
<input type="hidden" name="forex_[% i %]" value="[% $forex %]"> |
92 | 92 |
<input type="hidden" name="fx_paid_[% i %]" value="[% $fx_paid %]"> |
93 |
[% LxERP.format_amount($forex, 5) %] = [% $fx_paid %] [% currency %] </br>
|
|
93 |
[% LxERP.format_amount($forex, 5) %] = [% LxERP.format_amount($fx_paid, 5) %] [% currency %] </br>
|
|
94 | 94 |
[% IF $record_forex %][% 'bank transaction exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %] |
95 | 95 |
[% ELSE %] |
96 | 96 |
[% IF $changeable %] |
... | ... | |
124 | 124 |
<td>[% LxERP.format_amount(totalpaid, 2) | html %] [% defaultcurrency %]</td> |
125 | 125 |
<td></td> |
126 | 126 |
[% IF show_exchangerate %] |
127 |
<td>[% LxERP.format_amount(fx_totalpaid, 2) | html %] [% currency %]</td> |
|
127 |
<td class="numeric">[% LxERP.format_amount(fx_totalpaid, 2) | html %] [% currency %]</td>
|
|
128 | 128 |
<input type="hidden" name="fx_totalpaid" value="[% fx_totalpaid %]"> |
129 | 129 |
[% END %] |
130 | 130 |
<td colspan="2"></td> |
templates/design40_webpages/is/_payments.html | ||
---|---|---|
67 | 67 |
<input type="hidden" name="memo_[% i %]" value="[% $memo %]">[% $memo %] |
68 | 68 |
[% END %] |
69 | 69 |
</td> |
70 |
<td> |
|
70 |
<td class="numeric">
|
|
71 | 71 |
[% IF $changeable %] |
72 | 72 |
<input name="paid_[% i %]" size="11" data-validate="number" class="numeric" value="[% LxERP.format_amount($paid, 2, 1) %]"> |
73 | 73 |
[% ELSE %] |
74 | 74 |
<input type="hidden" name="paid_[% i %]" value="[% LxERP.format_amount($paid, 2, 1) %]"> |
75 |
[% LxERP.format_amount($paid, 2, 1) %] |
|
75 |
[% LxERP.format_amount($paid, 2, 1) %] [% defaultcurrency %]
|
|
76 | 76 |
[% END %] |
77 | 77 |
</td> |
78 | 78 |
<td> |
... | ... | |
81 | 81 |
[% END %] |
82 | 82 |
</td> |
83 | 83 |
[% IF show_exchangerate %] |
84 |
<td> |
|
84 |
<td class="numeric">
|
|
85 | 85 |
[% SET forex = 'forex_' _ i %] |
86 | 86 |
[% SET exchangerate = 'exchangerate_' _ i %] |
87 | 87 |
[% SET fx_paid = 'fx_paid_' _ i %] |
88 | 88 |
[% SET record_forex = 'record_forex_' _ i %] |
89 | 89 |
[% IF $forex %] |
90 | 90 |
<input type="hidden" name="exchangerate_[% i %]" value="[% LxERP.format_amount($exchangerate, 5) %]"> |
91 |
[% LxERP.format_amount($forex, 5) %] = [% $fx_paid %] [% currency %] </br>
|
|
91 |
[% LxERP.format_amount($forex, 5) %] = [% LxERP.format_amount($fx_paid, 5) %] [% currency %] </br>
|
|
92 | 92 |
[% IF $record_forex %][% 'bank transaction exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %] |
93 | 93 |
[% ELSE %] |
94 | 94 |
[% IF $changeable %] |
... | ... | |
118 | 118 |
<td class="numeric">[% LxERP.format_amount(totalpaid, 2) | html %] [% defaultcurrency %]</td> |
119 | 119 |
<td></td> |
120 | 120 |
[% IF show_exchangerate %] |
121 |
<td align="center">[% LxERP.format_amount(fx_totalpaid, 2) | html %] [% currency %]</td>
|
|
121 |
<td class="numeric ">[% LxERP.format_amount(fx_totalpaid, 2) | html %] [% currency %]</td>
|
|
122 | 122 |
[% ELSE %] |
123 | 123 |
[% END %] |
124 | 124 |
<td></td> |
Auch abrufbar als: Unified diff
design40: 6919a - WebTemplates für Wechselkurs im Zahlungsbereich