Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 0eef3707

Von Andreas Rudin vor fast 3 Jahren hinzugefügt

  • ID 0eef37071148419c02b43e8344fc3b550b83aef0
  • Vorgänger 95690f98
  • Nachfolger 126c4391

'Fehlbetrag setzen' mit Schweizer Zahlenformat kompatibel machen

Im Javascript Code " statt ' verwenden, damit Betraege ueber 1000
im Schweizer Zahlenformat mit ' als Tausender-Trennzeichen
verarbeitet werden koennen.

Unterschiede anzeigen:

templates/webpages/ap/form_header.html
401 401
<hr size="3" noshade>
402 402

  
403 403
<script type='text/javascript'>
404
 $('#ap_set_to_paid_missing').click(function(){ $('input[id^="payment_paid_"]:last').val('[% LxERP.format_amount(paid_missing, 2) %]') });
404
 $('#ap_set_to_paid_missing').click(function(){ $('input[id^="payment_paid_"]:last').val("[% LxERP.format_amount(paid_missing, 2) %]") });
405 405
</script>
templates/webpages/ar/form_header.html
324 324
</div>
325 325

  
326 326
<script type='text/javascript'>
327
 $('#ar_set_to_paid_missing').click(function(){ $('input[name^="paid_"]:last').val('[% LxERP.format_amount(paid_missing, 2) %]') });
327
 $('#ar_set_to_paid_missing').click(function(){ $('input[name^="paid_"]:last').val("[% LxERP.format_amount(paid_missing, 2) %]") });
328 328
</script>
templates/webpages/ir/_payments.html
130 130
    </td>
131 131
  </tr>
132 132
    <script type='text/javascript'>
133
     $('#is_set_to_paid_missing').click(function(){ $('input[name^="paid_"]:last').val('[% LxERP.format_amount(paid_missing, 2) %]') });
133
     $('#is_set_to_paid_missing').click(function(){ $('input[name^="paid_"]:last').val("[% LxERP.format_amount(paid_missing, 2) %]") });
134 134
    </script>
templates/webpages/is/_payments.html
140 140
    </td>
141 141
  </tr>
142 142
    <script type='text/javascript'>
143
     $('#is_set_to_paid_missing').click(function(){ $('input[name^="paid_"]:last').val('[% LxERP.format_amount(paid_missing, 2) %]') });
143
     $('#is_set_to_paid_missing').click(function(){ $('input[name^="paid_"]:last').val("[% LxERP.format_amount(paid_missing, 2) %]") });
144 144
    </script>

Auch abrufbar als: Unified diff