mirror of
https://github.com/yummy4friends/y4f.git
synced 2024-12-28 16:08:20 +01:00
Fix chefin bestellungseinsicht
This commit is contained in:
parent
9e8942ef43
commit
c05d31975a
@ -42,9 +42,20 @@
|
|||||||
month = bestellungsposition.Datum.Month;
|
month = bestellungsposition.Datum.Month;
|
||||||
year = bestellungsposition.Datum.Year;
|
year = bestellungsposition.Datum.Year;
|
||||||
|
|
||||||
@*print kunde.code, hour and minute from last bestellungsposition*@
|
@*print only if date is higher than now datum, all expired hh:mm unvisible *@
|
||||||
@*print only if date is higher than now datum *@
|
@*if (bestellungsposition.Datum > DateTime.Now)
|
||||||
if (bestellungsposition.Datum > DateTime.Now)
|
{
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p @onclick="@(()=>BDetail(@kunde.Idkunde))" class="mb-0 pb-0">
|
||||||
|
#@kunde.Code
|
||||||
|
@hour:@minute
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
}*@
|
||||||
|
@*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)
|
||||||
{
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@ -55,7 +66,6 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
@*}*@
|
|
||||||
firstTime = false;
|
firstTime = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user