Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 6919adb8

Von Jan Büren vor fast 2 Jahren hinzugefügt

  • ID 6919adb8ab718203ff80f88f437cc02e3ce34e0d
  • Vorgänger a8d3454c
  • Nachfolger c9fdd205

WebTemplates für Wechselkurs in Zahlungen anzeigen (alle Buchungsmasken)

Unterschiede anzeigen:

templates/webpages/ap/form_header.html
134 134
                       <input name="exchangerate" size="10" value="[% HTML.escape(LxERP.format_amount(exchangerate)) %]">
135 135
                     [%- END %]
136 136
                     [% IF record_forex %][% 'record exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %]
137
                     [% L.hidden_tag("record_forex", record_forex) %]
137 138
                [% END %]
138 139
              </tr>
139 140

  
......
336 337
            </td>
337 338

  
338 339
            [% temp = "paid_"_ i %]
339
            <td align="center">
340
            <td align="right">
340 341
              [% IF( changeable ) %]
341 342
                <input name="[% temp %]" size="11" data-validate="number" class="numeric" value="[% $temp | html %]" id="[%- 'payment_' _ temp -%]">
342 343
              [% ELSE %]
343 344
                [% $temp | html %]
344
                <input type="hidden" name="[% temp %]" value="[% $temp | html %]">
345
                <input type="hidden" name="[% temp %]" value="[% $temp | html %]"> [% defaultcurrency %]
345 346
              [% END %]
346 347
            </td>
347 348

  
......
399 400
          <td></td>
400 401
          <td></td>
401 402
          <td align="center">[% 'Total' | $T8 %]</td>
402
          <td align="center">[% LxERP.format_amount(totalpaid, 2) | html %]</td>
403
          <td align="right">[% LxERP.format_amount(totalpaid, 2) | html %] [% defaultcurrency %]</td>
403 404
        [% IF ( !defaultcurrency || (currency != defaultcurrency) ) %]
404 405
            <td></td>
405 406
            <td align="center">[% LxERP.format_amount(fx_totalpaid, 2) | html %] [% currency %]</td>
406 407
            <input type="hidden" name="fx_totalpaid" value="[% fx_totalpaid %]">
408
            <input type="hidden" name="is_linked_bank_transaction" value="[% is_linked_bank_transaction %]">
407 409
        [% END %]
408 410

  
409 411
        </tr>
......
411 413
          <td></td>
412 414
          <td></td>
413 415
          <td align="center">[% 'Missing amount' | $T8 %]</td>
414
          <td align="center">[% LxERP.format_amount(paid_missing, 2) | html %]</td>
416
          <td align="right">[% LxERP.format_amount(paid_missing, 2) | html %] [% defaultcurrency %]</td>
415 417
        </tr>
416 418
      </table>
417 419
      [% END %]
templates/webpages/ar/form_header.html
283 283
  [%- IF row.changeable %]
284 284
          <input name="paid_[% loop.count %]" size=11 data-validate="number" class="numeric" value="[% row.paid ? LxERP.format_amount(row.paid, 2) : '' | html %]">
285 285
  [%- ELSE %]
286
         [% row.paid | html %]<input type=hidden name="paid_[% loop.count %]" value="[% row.paid ? LxERP.format_amount(row.paid, 2) : '' | html %]">
286
         [% row.paid | html %]<input type=hidden name="paid_[% loop.count %]" value="[% row.paid ? LxERP.format_amount(row.paid, 2) : '' | html %]"> [% defaultcurrency %]
287 287
  [%- END %]
288 288
         </td>
289 289
         <td>
......
294 294
[%- IF show_exch %]
295 295
         <td align=center>
296 296
    [%- IF row.forex || !row.changeable%]
297
          <input type=hidden name="exchangerate_[% loop.count %]" value="[%- LxERP.format_amount(row.exchangerate, 5, 1) -%]">[%- LxERP.format_amount(row.exchangerate, 5, 1) -%]
297
          <input type=hidden name="exchangerate_[% loop.count %]" value="[%- LxERP.format_amount(row.exchangerate, 5, 1) -%]">
298
      [%- LxERP.format_amount(row.exchangerate, 5, 0) -%] = [% LxERP.format_amount(row.fx_paid, 2) %] [% currency %]</br>
299
      [% IF $record_forex %][% 'bank transaction exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %]
298 300
    [%- ELSE %]
299 301
          <input name="exchangerate_[% loop.count %]" size=10 value="[%- LxERP.format_amount(row.exchangerate, 5, 1) -%]">
300 302
    [%- END %]
......
325 327
          <td></td>
326 328
          <td></td>
327 329
          <td align="center">[% 'Total' | $T8 %]</td>
328
          <td align="center">[% LxERP.format_amount(totalpaid, 2) | html %]</td>
330
          <td align="center">[% LxERP.format_amount(totalpaid, 2) | html %]  [% defaultcurrency %] </td>
331
        [% IF show_exch %]
332
            <td></td>
333
            <td align="center">[% LxERP.format_amount(fx_totalpaid, 2) | html %] [% currency %]</td>
334
            <input type="hidden" name="fx_totalpaid" value="[% fx_totalpaid %]">
335
            <input type="hidden" name="is_linked_bank_transaction" value="[% is_linked_bank_transaction %]">
336
        [% END %]
329 337
        </tr>
330 338
        <tr>
331 339
          <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