@if (WeekRows == null || WeekRows.Count == 0) { } else { @for (int i = 0; i < 7; i++) { } @if (SingleWeek) { @foreach (var giorno in SingleWeekRow) { } } else { @foreach (var settim in WeekRows) { @foreach (var giorno in settim) { } } } @if (!SingleWeek) { }
@($"{DateList[i]:ddd}".Substring(0, 1).ToUpper())
@($"{giorno:dd}")
@($"{giorno:dd}") @if (!(giorno.DayOfWeek == DayOfWeek.Saturday || giorno.DayOfWeek == DayOfWeek.Sunday)) {
@if (hasDot(giorno, "MAL")) {
 
} @if (hasDot(giorno, "FER")) {
 
} @if (hasDot(giorno, "PERM")) {
 
} @if (hasDot(giorno, "104")) {
 
}
}
@($"{DtRif: MMM yyyy}")
}