|
|
|
@ -190,8 +190,10 @@ class BankrollReport(var setup: BankrollReportSetup) : RowRepresentable { |
|
|
|
|
|
|
|
|
|
|
|
this.evolutionItems.sortBy { it.date } |
|
|
|
this.evolutionItems.sortBy { it.date } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var total = 0.0 |
|
|
|
this.evolutionItems.forEach { |
|
|
|
this.evolutionItems.forEach { |
|
|
|
val point = BRGraphPoint(it.amount, it.date, it) |
|
|
|
total += it.amount |
|
|
|
|
|
|
|
val point = BRGraphPoint(total, it.date, it) |
|
|
|
this.evolutionPoints.add(point) |
|
|
|
this.evolutionPoints.add(point) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|