Skip to content

Commit

Permalink
feat: show hour totals past 50
Browse files Browse the repository at this point in the history
  • Loading branch information
rutmanz committed Oct 10, 2024
1 parent af4004d commit dd0fedd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/spreadsheet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,19 @@ export async function updateSheet() {
row[columns.LoggedIn] = loggedInMap.has(m.email)
row[columns.Meetings] = meetings[m.email] ?? 0
row[columns.MeetingsMissed] = meetingsMissed[m.email] ?? 0
row[columns.LabHours] = max50Hours(hours.lab)
row[columns.LabHours] = hours.lab
row[columns.ExternalHours] = hours.external
row[columns.EventHours] = hours.event
row[columns.SummerHours] = hours.summer
row[columns.QualifyingHours] = max50Hours(hours.qualifying)
row[columns.TotalHours] = max50Hours(hours.total)
row[columns.QualifyingHours] = hours.qualifying
row[columns.TotalHours] = hours.total
row[columns.WeeklyHours] = weeklyHours[m.email] ?? 0
row[columns.Photo] = getMemberPhoto(m, true) ?? ''
row[columns.Certifications] = certMap[m.email]?.join(', ') ?? ''
row[columns.IsPrimaryTeam] = m.is_primary_team
rows.push(row)

if (hours.qualifying >= 50) {
if (hours.qualifying >= (m.is_primary_team ? 50 : 30)) {
hourReqMet++
}
}
Expand Down

0 comments on commit dd0fedd

Please sign in to comment.