From c05d31975aa9ebcf223a43818fcf187ae8f8397d Mon Sep 17 00:00:00 2001 From: MET18937 <79221078+MET18937@users.noreply.github.com> Date: Mon, 26 Jun 2023 11:40:53 +0200 Subject: [PATCH] Fix chefin bestellungseinsicht --- .../Chefin/Bestelluebersicht-Chefin.razor | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) 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) + { +
BDetail(@kunde.Idkunde))" class="mb-0 pb-0"> + #@kunde.Code + @hour:@minute +
+