mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-30 21:21:09 -04:00 
			
		
		
		
	Merge branch fix-amount issue on payment
This commit is contained in:
		| @ -296,7 +296,7 @@ export default { | ||||
|       }, | ||||
|       set: function (newValue) { | ||||
|         if (parseFloat(newValue) > 0) { | ||||
|           this.item.price = newValue * 100 | ||||
|           this.item.price = (newValue * 100).toFixed(2) | ||||
|           this.maxDiscount = this.item.price | ||||
|         } else { | ||||
|           this.item.price = newValue | ||||
|  | ||||
| @ -296,7 +296,7 @@ export default { | ||||
|       }, | ||||
|       set: function (newValue) { | ||||
|         if (parseFloat(newValue) > 0) { | ||||
|           this.item.price = newValue * 100 | ||||
|           this.item.price = (newValue * 100).toFixed(2) | ||||
|           this.maxDiscount = this.item.price | ||||
|         } else { | ||||
|           this.item.price = newValue | ||||
|  | ||||
| @ -288,7 +288,7 @@ export default { | ||||
|         return this.formData.amount / 100 | ||||
|       }, | ||||
|       set: function (newValue) { | ||||
|         this.formData.amount = newValue * 100 | ||||
|         this.formData.amount = (newValue * 100).toFixed(2) | ||||
|       }, | ||||
|     }, | ||||
|     pageTitle() { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user