Skip to content

Commit

Permalink
Merge pull request #598 from wri/release/tacky-teak-hotfix-2024-12-03
Browse files Browse the repository at this point in the history
[RELEASE] Tacky Teak Hotfix 2024 12 03
  • Loading branch information
roguenet authored Dec 4, 2024
2 parents 7e29a10 + fa239e4 commit 0346e4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ public function toArray($request)
'people_knowledge_skills_increased' => $this->people_knowledge_skills_increased,
'indirect_beneficiaries' => $this->indirect_beneficiaries,
'indirect_beneficiaries_description' => $this->indirect_beneficiaries_description,
'workdays_direct_total' => $this->workdays_direct,
'workdays_convergence_total' => $this->workdays_convergence,
'workdays_direct_total' => $this->workdays_direct_total,
'workdays_convergence_total' => $this->workdays_convergence_total,
'non_tree_total' => $this->non_tree_total,
'total_community_partners' => $this->total_community_partners,
];
Expand Down
4 changes: 2 additions & 2 deletions app/Models/Traits/HasWorkdays.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ public function getWorkdaysVolunteerAttribute(): int
return $this->sumTotalWorkdaysAmounts(self::WORKDAY_COLLECTIONS['volunteer']);
}

public function getWorkdaysDirectAttribute(): int
public function getWorkdaysDirectTotalAttribute(): int
{
return $this->sumTotalWorkdaysAmounts(self::WORKDAY_COLLECTIONS['direct']);
}

public function getWorkdaysConvergenceAttribute(): int
public function getWorkdaysConvergenceTotalAttribute(): int
{
return $this->sumTotalWorkdaysAmounts(self::WORKDAY_COLLECTIONS['convergence']);
}
Expand Down

0 comments on commit 0346e4d

Please sign in to comment.