diff --git a/src/y4f/Shared/Chefin/Bestelluebersicht-Chefin.razor b/src/y4f/Shared/Chefin/Bestelluebersicht-Chefin.razor index db1ffc4..30b50cd 100644 --- a/src/y4f/Shared/Chefin/Bestelluebersicht-Chefin.razor +++ b/src/y4f/Shared/Chefin/Bestelluebersicht-Chefin.razor @@ -42,9 +42,20 @@ month = bestellungsposition.Datum.Month; year = bestellungsposition.Datum.Year; - @*print kunde.code, hour and minute from last bestellungsposition*@ - @*print only if date is higher than now datum *@ - if (bestellungsposition.Datum > DateTime.Now) + @*print only if date is higher than now datum, all expired hh:mm unvisible *@ + @*if (bestellungsposition.Datum > DateTime.Now) + { + + +

+ #@kunde.Code   + @hour:@minute +

+ + + }*@ + @*print only if date is in current day month year *@ + if (bestellungsposition.Datum.Day == DateTime.Now.Day && bestellungsposition.Datum.Month == DateTime.Now.Month && bestellungsposition.Datum.Year == DateTime.Now.Year) { @@ -55,7 +66,6 @@ } - @*}*@ firstTime = false; } }