Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 463f548f

Von Andreas Rudin vor 8 Monaten hinzugefügt

  • ID 463f548f7df9f70d5b66ffa674634f6109a5b973
  • Vorgänger 98731962

Fix #662 und #663 Debitorenbuchung Design40 Fehlbetrag setzen und Zahlung buchen

Unterschiede anzeigen:

templates/design40_webpages/ar/form_header.html
316 316
        [% END %]
317 317
      </td>
318 318
      <td class="numeric">
319
        [% temp = "paid_"_ row %]
319 320
        [% IF row.changeable %]
320
          <input name="paid_[% loop.count %]" value="[% row.paid ? LxERP.format_amount(row.paid, 2) : '' | html %]" size="11" type="text" data-validate="number" class="numeric">
321
          <input name="[% temp %]" value="[% $temp | html %]" id="[%- 'payment_' _ temp -%]" size="11" type="text" data-validate="number" class="numeric">
321 322
        [% ELSE %]
322
          [% row.paid | html %]<input type="hidden" name="paid_[% loop.count %]" value="[% row.paid ? LxERP.format_amount(row.paid, 2) : '' | html %]"> [% defaultcurrency %]
323
          [% $temp | html %] [% defaultcurrency %]
324
	  <input type="hidden" name="[% temp %]" value="[% 'Set to paid missing' | $T8 %]">
323 325
        [% END %]
324 326
      </td>
325 327
      <td>
......
398 400
</div><!-- ./tabwidget -->
399 401

  
400 402
<script type="text/javascript">
401
 $('#ar_set_to_paid_missing').click(function(){ $('input[name^="paid_"]:last').val("[% LxERP.format_amount(paid_missing, 2) %]") });
403
 $('#ar_set_to_paid_missing').click(function(){ $('input[id^="payment_paid_"]:last').val("[% LxERP.format_amount(paid_missing, 2) %]") });
402 404
</script>

Auch abrufbar als: Unified diff