MemberDataSheet: Fix bug where program crashes when no cultid is set
This commit is contained in:
@ -196,7 +196,7 @@
|
|||||||
<td>@areaCom.Rd?.Name</td>
|
<td>@areaCom.Rd?.Name</td>
|
||||||
<td class="text">@areaCom.GstNr.Replace(",", ", ").Replace("-", "–")</td>
|
<td class="text">@areaCom.GstNr.Replace(",", ", ").Replace("-", "–")</td>
|
||||||
<td class="number">@($"{areaCom.Area:N0}")</td>
|
<td class="number">@($"{areaCom.Area:N0}")</td>
|
||||||
<td class="center">@areaCom.WineCult.Name</td>
|
<td class="center">@areaCom.WineCult?.Name</td>
|
||||||
<td class="center">@(areaCom.YearTo == null ? $"ab {areaCom.YearFrom}" : $"{areaCom.YearFrom}–{areaCom.YearTo}")</td>
|
<td class="center">@(areaCom.YearTo == null ? $"ab {areaCom.YearFrom}" : $"{areaCom.YearFrom}–{areaCom.YearTo}")</td>
|
||||||
</tr>
|
</tr>
|
||||||
lastContract = contractType.AreaComType.DisplayName;
|
lastContract = contractType.AreaComType.DisplayName;
|
||||||
|
Reference in New Issue
Block a user