Revision 0eef3707
Von Andreas Rudin vor fast 3 Jahren hinzugefügt
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
'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.