reworked pdf exporter to use typst
Some checks failed
Tests / Run Go Tests (push) Failing after 1m44s
Some checks failed
Tests / Run Go Tests (push) Failing after 1m44s
This commit is contained in:
@@ -45,7 +45,12 @@ templ PDFReportEmploye(e models.User, overtime, worktime time.Duration, workDays
|
||||
<p>{ workDay.Bookings[bookingI].BookingType.Name } </p>
|
||||
}
|
||||
if workDay.IsKurzArbeit() {
|
||||
<p class="col-span-full">Kurzarbeit</p>
|
||||
{{
|
||||
timeFrom, timeTo := workDay.GenerateKurzArbeitBookings(e)
|
||||
}}
|
||||
<p>{ timeFrom.Format("15:04") }</p>
|
||||
<p>{ timeTo.Format("15:04") }</p>
|
||||
<p>Kurzarbeit</p>
|
||||
}
|
||||
} else {
|
||||
{{
|
||||
|
||||
Reference in New Issue
Block a user