Skip to content

Commit

Permalink
Add weekly allocation hours to csv exports
Browse files Browse the repository at this point in the history
  • Loading branch information
carjug committed Jan 18, 2023
1 parent e1164c9 commit 3bbf08f
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 3bbf08f

Please sign in to comment.