mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-03 19:16:51 +00:00
Fix bills.
This commit is contained in:
@@ -88,7 +88,8 @@ export default {
|
||||
if (0.0 === this.paidAmount) {
|
||||
return 0;
|
||||
}
|
||||
const pct = (this.paidAmount / this.unpaidAmount) * 100;
|
||||
const total = this.paidAmount + this.unpaidAmount;
|
||||
const pct = (this.paidAmount / total) * 100;
|
||||
if (pct > 100) {
|
||||
return 100;
|
||||
}
|
||||
|
Reference in New Issue
Block a user