version 2.0.0 rc #68
@@ -13,4 +13,5 @@ live/templ:
|
|||||||
templ generate --watch --proxy="http://localhost:8080" --cmd="go run ." --open-browser=false
|
templ generate --watch --proxy="http://localhost:8080" --cmd="go run ." --open-browser=false
|
||||||
|
|
||||||
live/tailwindcss:
|
live/tailwindcss:
|
||||||
npx --yes tailwindcss -i ./src/main.css -o ./static/css/styles.css --minify --watch
|
npx --yes tailwindcss -i ./src/main.css -o ./static/css/styles.css --watch
|
||||||
|
#--minify
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ func PDFCreateController(w http.ResponseWriter, r *http.Request) {
|
|||||||
employes, err := models.GetUserByPersonalNrMulti(personalNumbers)
|
employes, err := models.GetUserByPersonalNrMulti(personalNumbers)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
slog.Warn("Error getting employes!", slog.Any("Error", err))
|
slog.Warn("Error getting employes!", slog.Any("Error", err))
|
||||||
// return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
n := 0
|
n := 0
|
||||||
@@ -102,9 +102,6 @@ func PDFCreateController(w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
employes = employes[:n]
|
employes = employes[:n]
|
||||||
if helper.GetEnv("GO_ENV", "production") == "debug" {
|
|
||||||
employes = append(employes, user)
|
|
||||||
}
|
|
||||||
|
|
||||||
reportData := createReports(employes, startDate)
|
reportData := createReports(employes, startDate)
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user