From 40d657b387439305c0f370b339ab232acd46ad06 Mon Sep 17 00:00:00 2001 From: Kaio Magalhaes Date: Tue, 16 Jul 2024 10:17:44 -0300 Subject: [PATCH] fix retainer contract model expected hours --- app/models/retainer_contract_model.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/models/retainer_contract_model.rb b/app/models/retainer_contract_model.rb index 1a0acbd..7d7601e 100644 --- a/app/models/retainer_contract_model.rb +++ b/app/models/retainer_contract_model.rb @@ -37,9 +37,4 @@ def assignment_executed_income(_assignment, _start_date, _end_date) def assignment_expected_income(_assignment, _start_date, _end_date) 0 end - - def expected_hours(assignment, start_date, end_date, _include_paid_time_off = false) - statement_of_work_total_hours = assignment.requirement.statement_of_work.contract_model.expected_hours_per_period - statement_of_work_total_hours * assignment.coverage * months_in_period(start_date, end_date) - end end