|
|
|
@ -123,7 +123,7 @@ class BankrollDetailsFragment : RealmFragment(), StaticRowRepresentableDataSourc |
|
|
|
|
|
|
|
|
|
|
|
rows.add(CustomizableRowRepresentable(RowViewType.HEADER_TITLE, resId = R.string.global)) |
|
|
|
rows.add(CustomizableRowRepresentable(RowViewType.HEADER_TITLE, resId = R.string.global)) |
|
|
|
|
|
|
|
|
|
|
|
val currency = this.bankroll.utilCurrency |
|
|
|
val currency = if (this.bankrollId != null) { this.bankroll.utilCurrency } else { null } |
|
|
|
val totalComputedStat = ComputedStat(Stat.NET_RESULT, bankrollReport.total, currency = currency) |
|
|
|
val totalComputedStat = ComputedStat(Stat.NET_RESULT, bankrollReport.total, currency = currency) |
|
|
|
val netComputedStat = ComputedStat(Stat.NET_RESULT, bankrollReport.netResult, currency = currency) |
|
|
|
val netComputedStat = ComputedStat(Stat.NET_RESULT, bankrollReport.netResult, currency = currency) |
|
|
|
val netBankedComputedStat = ComputedStat(Stat.NET_RESULT, bankrollReport.netBanked, currency = currency) |
|
|
|
val netBankedComputedStat = ComputedStat(Stat.NET_RESULT, bankrollReport.netBanked, currency = currency) |
|
|
|
|