fix(donation/payment): Funny javascript number to float conversion where integers were needed
This commit is contained in:
		@@ -33,7 +33,7 @@
 | 
			
		||||
      toast.loading($_("updating-donation"));
 | 
			
		||||
      const editable = Object.assign({}, original_data);
 | 
			
		||||
      editable.donor = editable.donor.id;
 | 
			
		||||
      editable.paidAmount = paid_amount_input * 100;
 | 
			
		||||
      editable.paidAmount = Math.round(paid_amount_input * 100);
 | 
			
		||||
      if (editable.responseType == "DISTANCEDONATION" || editable.runner) {
 | 
			
		||||
        editable.runner = editable.runner.id;
 | 
			
		||||
        DonationService.donationControllerPutDistance(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user