[#4555] Include the spent FixedBudget in Hourly and Retainers total_spent
This commit is contained in:
1 parent
0a80a54be3
commit
ed9f73e8a0
5 files changed
+19
-11
No files matched your search
@@ -37,7 +37,8 @@ class HourlyDeliverable < Deliverable
|
||||
total
|
||||
}
|
||||
|
||||
return hours * contract.billable_rate
|
||||
fixed_budget_amount = fixed_budget_total_spent(date) + fixed_markup_budget_total_spent(date)
|
||||
return (hours * contract.billable_rate) + fixed_budget_amount
|
||||
end
|
||||
|
||||
# Block setting the total on HourlyDeliverables
|
||||
|
||||
Reference in new issue
Block a user