Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a4614c7e

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

  • ID a4614c7eb8645dc3ebf5a97ae67205c1ee98327e
  • Vorgänger 3e4e42fa
  • Nachfolger 78ae788c

design40: 6919a - WebTemplates für Wechselkurs im Zahlungsbereich

Unterschiede anzeigen:

templates/design40_webpages/ap/form_header.html
109 109
        [%- ELSE %]
110 110
          <input name="exchangerate" size="10" value="[% HTML.escape(LxERP.format_amount(exchangerate)) %]">
111 111
        [%- END %]
112
          [% IF record_forex %][% 'record exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %]
112
        [% IF record_forex %][% 'record exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %]
113
        [% L.hidden_tag("record_forex", record_forex) %]
113 114
     </td>
114 115
    </tr>
115 116
    [% END %]
......
271 272
          [% IF( changeable ) %] <input type="text" name="[% temp %]" size="11" value="[% $temp | html %]">
272 273
          [% ELSE %] [% $temp | html %] <input type="hidden" name="[% temp %]" value="[% $temp | html %]"> [% END %]
273 274
        </td>
274
        <td>
275
        <td class="numeric">
275 276
          [% temp = "paid_"_ i %]
276 277
          [% IF( changeable ) %]
277 278
            <input name="[% temp %]" data-validate="number" value="[% $temp | html %]" id="[%- 'payment_' _ temp -%]" size="11" class="numeric">
278 279
          [% ELSE %]
279
            [% $temp | html %]
280
            [% $temp | html %] [% defaultcurrency %]
280 281
            <input type="hidden" name="[% temp %]" value="[% $temp | html %]">
281 282
          [% END %]
282 283
        </td>
......
320 321
      <td></td>
321 322
      <td></td>
322 323
      <th class="right">[% 'Total' | $T8 %]</th>
323
      <td class="numeric">[% LxERP.format_amount(totalpaid, 2) | html %]</td>
324
      <td class="numeric">[% LxERP.format_amount(totalpaid, 2) | html %] [% defaultcurrency %]</td>
324 325
      <td></td>
325 326
      [% IF ( !defaultcurrency || (currency != defaultcurrency) ) %]
326
        <td align="center">[% LxERP.format_amount(fx_totalpaid, 2) | html %] [% currency %]</td>
327
        <td class="numeric">[% LxERP.format_amount(fx_totalpaid, 2) | html %] [% currency %]</td>
327 328
        <input type="hidden" name="fx_totalpaid" value="[% fx_totalpaid %]">
328
      [% ELSE %]
329
        <td></td>
329
        <input type="hidden" name="is_linked_bank_transaction" value="[% is_linked_bank_transaction %]">
330 330
      [% END %]
331 331
      <td></td>
332
      <td></td>
332 333
    </tr>
333 334
    <tr>
334 335
      <td></td>
335 336
      <td></td>
336 337
      <th class="right">[% 'Missing amount' | $T8 %]</th>
337
      <td class="numeric">[% LxERP.format_amount(paid_missing, 2) | html %]</td>
338
      <td class="numeric">[% LxERP.format_amount(paid_missing, 2) | html %] [% defaultcurrency %]</td>
338 339
      <td></td>
339 340
      [% IF ( !defaultcurrency || (currency != defaultcurrency) ) %]
340
        <th></th>
341
        <td></td>
341 342
      [% END %]
342 343
      <td></td>
343 344
      <td></td>
templates/design40_webpages/ar/form_header.html
276 276
        [% IF row.changeable %]
277 277
          <input name="paid_[% loop.count %]" value="[% row.paid ? LxERP.format_amount(row.paid, 2) : '' | html %]" type="text" data-validate="number" class="numeric">
278 278
        [% ELSE %]
279
          [% row.paid | html %]<input type="hidden" name="paid_[% loop.count %]" value="[% row.paid ? LxERP.format_amount(row.paid, 2) : '' | html %]">
279
          [% row.paid | html %]<input type="hidden" name="paid_[% loop.count %]" value="[% row.paid ? LxERP.format_amount(row.paid, 2) : '' | html %]"> [% defaultcurrency %]
280 280
        [% END %]
281 281
      </td>
282 282
      <td>
......
285 285
        [% END %]
286 286
      </td>
287 287
      [% IF show_exch %]
288
        <td>
288
        <td class="numeric">
289 289
          [% IF row.forex || !row.changeable%]
290
            <input type="hidden" name="exchangerate_[% loop.count %]" value="[% LxERP.format_amount(row.exchangerate, 5, 1) %]">[% LxERP.format_amount(row.exchangerate, 5, 1) %]
290
            <input type="hidden" name="exchangerate_[% loop.count %]" value="[% LxERP.format_amount(row.exchangerate, 5, 1) %]">
291
            [%- LxERP.format_amount(row.exchangerate, 5, 0) -%] = [% LxERP.format_amount(row.fx_paid, 2) %] [% currency %]</br>
292
            [% IF $record_forex %][% 'bank transaction exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %]
291 293
          [% ELSE %]
292 294
            <input type="text" name="exchangerate_[% loop.count %]" size="10" value="[% LxERP.format_amount(row.exchangerate, 5, 1) %]">
293 295
          [% END %]
......
319 321
      <td></td>
320 322
      <td></td>
321 323
      <th class="right">[% 'Total' | $T8 %]</th>
322
      <td class="numeric">[% LxERP.format_amount(totalpaid, 2) | html %]</td>
324
      <td class="numeric">[% LxERP.format_amount(totalpaid, 2) | html %] [% defaultcurrency %]</td>
323 325
      <td></td>
324 326
      [% IF show_exch %]
325
        <td></td>
327
        <td class="numeric">[% LxERP.format_amount(fx_totalpaid, 2) | html %] [% currency %]</td>
328
        <input type="hidden" name="fx_totalpaid" value="[% fx_totalpaid %]">
329
        <input type="hidden" name="is_linked_bank_transaction" value="[% is_linked_bank_transaction %]">
326 330
      [% END %]
327 331
      <td></td>
328 332
      <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