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) }
// } // } //{ booking.Timestamp.Format("15:04") } { booking.GetBookingType() }