Skip to content

Commit

Permalink
fix rate reports consultant selection date range
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalfox committed Jan 13, 2024
1 parent 680cd61 commit e9fcfaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion staffing/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1591,7 +1591,7 @@ def rates_report(request):
if subsidiary:
consultants = consultants.filter(company=subsidiary)

consultants = consultants.filter(timesheet__working_date__gte=periods[0][0]).distinct()
consultants = consultants.filter(timesheet__working_date__gte=periods[-1][0]).distinct()

for start_date, end_date in periods:
for consultant in consultants:
Expand Down

0 comments on commit e9fcfaf

Please sign in to comment.