diff --git a/.gitignore b/.gitignore index 0a3ebf8f..56f48cbe 100644 --- a/.gitignore +++ b/.gitignore @@ -116,15 +116,4 @@ frontend/yarn.lock # Uncomment if you're using PDM # pdm.lock # .pdm.toml -ts_2024/abr_2024.timesheet -ts_2024/ago_2024.timesheet -ts_2024/dez_2024.timesheet -ts_2024/fev_2024.timesheet -ts_2024/jan_2024.timesheet -ts_2024/jul_2024.timesheet -ts_2024/jun_2024.timesheet -ts_2024/mai_2024.timesheet -ts_2024/mar_2024.timesheet -ts_2024/nov_2024.timesheet -ts_2024/out_2024.timesheet -ts_2024/set_2024.timesheet +*.timesheet \ No newline at end of file diff --git a/backend/models/src/omni_models/analytics/forecast.py b/backend/models/src/omni_models/analytics/forecast.py index 96442e04..3b09e43b 100644 --- a/backend/models/src/omni_models/analytics/forecast.py +++ b/backend/models/src/omni_models/analytics/forecast.py @@ -286,7 +286,7 @@ def filter_items(items): wah = case_.weekly_approved_hours project_ = None for ti in case_.tracker_info: - if ti.kind == 'consulting': + if ti.kind == 'consulting' and ti.status == "open": project_ = ti break