using IWorkDay interface for team
All checks were successful
Tests / Run Go Tests (push) Successful in 42s
All checks were successful
Tests / Run Go Tests (push) Successful in 42s
This commit is contained in:
@@ -29,7 +29,7 @@ func PDFHandler(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
//TODO: only accepted weeks
|
||||
|
||||
weeks := models.GetWorkDays(user, startDate, endDate)
|
||||
weeks := models.GetDays(user, startDate, endDate, false)
|
||||
|
||||
// log.Printf("Using Dates: %s - %s\n", startDate.String(), endDate.String())
|
||||
templates.PDFReportEmploye(user, weeks, startDate, endDate).Render(r.Context(), w)
|
||||
|
||||
Reference in New Issue
Block a user