]> wagnertech.de Git - kivitendo-erp.git/commitdiff
'Fehlbetrag setzen' mit Schweizer Zahlenformat kompatibel machen
authorAndreas Rudin <andreas.rudin@revamp-it.ch>
Mon, 28 Feb 2022 00:07:13 +0000 (01:07 +0100)
committerAndreas Rudin <andreas.rudin@revamp-it.ch>
Mon, 28 Feb 2022 00:07:13 +0000 (01:07 +0100)
Im Javascript Code " statt ' verwenden, damit Betraege ueber 1000
im Schweizer Zahlenformat mit ' als Tausender-Trennzeichen
verarbeitet werden koennen.

templates/webpages/ap/form_header.html
templates/webpages/ar/form_header.html
templates/webpages/ir/_payments.html
templates/webpages/is/_payments.html

index f3aa55e5d50c27e3999d36c472f9377eab742b3d..05b7a7a670bf211d427fdd7b4fe90317e6de0cb6 100644 (file)
 <hr size="3" noshade>
 
 <script type='text/javascript'>
- $('#ap_set_to_paid_missing').click(function(){ $('input[id^="payment_paid_"]:last').val('[% LxERP.format_amount(paid_missing, 2) %]') });
+ $('#ap_set_to_paid_missing').click(function(){ $('input[id^="payment_paid_"]:last').val("[% LxERP.format_amount(paid_missing, 2) %]") });
 </script>
index 755d564c0dce134c738192f48b2fb2e816c618b2..1b691ab07e537b1b31206e5116e8446ee8dfce73 100644 (file)
 </div>
 
 <script type='text/javascript'>
- $('#ar_set_to_paid_missing').click(function(){ $('input[name^="paid_"]:last').val('[% LxERP.format_amount(paid_missing, 2) %]') });
+ $('#ar_set_to_paid_missing').click(function(){ $('input[name^="paid_"]:last').val("[% LxERP.format_amount(paid_missing, 2) %]") });
 </script>
index 6726c8b1dce915df6b982e788febf9f24b7338cb..111083954f2d1e0517302827bac13b44de1c97c4 100644 (file)
     </td>
   </tr>
     <script type='text/javascript'>
-     $('#is_set_to_paid_missing').click(function(){ $('input[name^="paid_"]:last').val('[% LxERP.format_amount(paid_missing, 2) %]') });
+     $('#is_set_to_paid_missing').click(function(){ $('input[name^="paid_"]:last').val("[% LxERP.format_amount(paid_missing, 2) %]") });
     </script>
index 93a0fb879775c36ac23aa81d4b23fe320f2d8e93..8072df314fcd4222278f0334f2165f601da76ffe 100644 (file)
     </td>
   </tr>
     <script type='text/javascript'>
-     $('#is_set_to_paid_missing').click(function(){ $('input[name^="paid_"]:last').val('[% LxERP.format_amount(paid_missing, 2) %]') });
+     $('#is_set_to_paid_missing').click(function(){ $('input[name^="paid_"]:last').val("[% LxERP.format_amount(paid_missing, 2) %]") });
     </script>