Keine Zwischensumme bei leerem Fehlkontaktestring

This commit is contained in:
2023-05-11 17:28:52 +02:00
parent 9cc7f68c87
commit ed2e3a8c2e

View File

@@ -33,7 +33,7 @@ namespace BeWo.Report.DefaultReports
rateFactor = (100 + ii.RateFactor.Value) / 100;
}
if (pRO.FehlkontakteString != null && ii.RateFactor == 0)
if (!pRO.FehlkontakteString.IsNullOrEmpty() && ii.RateFactor == 0)
{
Zwischensumme.Visible = true;
if (!ii.ItemDescription.IsNullOrEmpty())