|
@@ -137,8 +137,7 @@ |
|
|
block discarded – undo |
|
137
|
137
|
// Show the profits only if they were saved on this session. |
|
138
|
138
|
$profitSessionId = $session->round->properties['profit']['session'] ?? 0; |
|
139
|
139
|
$profitAmount = $session->round->properties['profit']['amount'] ?? 0; |
|
140
|
|
- $html = $profitSessionId !== $session->id ? '' : |
|
141
|
|
- $this->view()->render('tontine.pages.report.session.session.profits', [ |
|
|
140
|
+ $html = $profitSessionId !== $session->id ? '' : $this->view()->render('tontine.pages.report.session.session.profits', [ |
|
142
|
141
|
'fundings' => $this->profitService->getDistributions($session, $profitAmount), |
|
143
|
142
|
'profitAmount' => $profitAmount, |
|
144
|
143
|
]); |
Please login to merge, or discard this patch.