Skip to content

Commit

Permalink
Merge pull request #1525 from 18F/cah/1512-csv-include-weekly-alloc-h…
Browse files Browse the repository at this point in the history
…ours

Add weekly allocation hours to csv exports
  • Loading branch information
carjug authored Jan 18, 2023
2 parents e1164c9 + 3bbf08f commit 8155667
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tock/hours/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ def to_csv_row(self):
self.timecard.user.username,
self.project,
self.hours_spent,
self.timecard.total_allocation_hours,
self.timecard.user.user_data.organization_name,
self.project.organization_name
]
Expand Down
1 change: 1 addition & 0 deletions tock/hours/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,7 @@ def ReportingPeriodCSVView(request, reporting_period):
'User',
'Project',
'Number of Hours',
'Weekly Allocation Hours',
'Employee Organization',
'Project Organization',
])
Expand Down

0 comments on commit 8155667

Please sign in to comment.