Small Bugfixes
This commit is contained in:
1 parent
83bbd6f7d3
commit
710e27c344
4 files changed
+9
-11
No files matched your search
@@ -89,6 +89,7 @@ class EventResource extends JsonResource{
|
||||
$returnArray['totalParticipantCount'] = $this->event->participants()->count();
|
||||
|
||||
$returnArray['supportPersonIndex'] = $this->event->support_per_person->toString();
|
||||
$returnArray['supportPersonValue'] = $this->event->support_per_person->getAmount();
|
||||
$returnArray['supportPerson'] = $this->calculateSupportPerPerson($returnArray['participants']);
|
||||
|
||||
$returnArray['income'] = $this->calculateIncomes($returnArray['participants'], $returnArray['supportPerson']['amount']);
|
||||
|
||||
Reference in new issue
Block a user