package templates import ( "arbeitszeitmessung/models" "fmt" "strconv" "time" ) templ lineComponent() {
{ workDay.Day.Format("02.01.2006") }
// if (workDay.RequiresAction()) { //Bitte anpassen
// } else { // if work > 0 { //Arbeitszeit:
//{ helper.FormatDuration(work) }
// } // if pause > 0 { // } //{ helper.FormatDuration(pause) }
// if overtime > 0 { //{ helper.FormatDuration(overtime) }
// } // } //{ a.AbwesenheitTyp.Name } if a.IsMultiDay() { bis { a.DateTo.Format("02.01.2006") } }
if isKurzarbeit { }{ booking.Timestamp.Format("15:04") } { booking.GetBookingType() }