AidsHilfeDuisburg/Invoicing/SettlementInvoiceCreation.cs Fehlkontakte
This commit is contained in:
@@ -43,6 +43,16 @@ namespace AidsHilfeDuisburg.Invoicing
|
||||
if (factorInSpanList.Count > 1)
|
||||
return false;
|
||||
|
||||
foreach (var sr in GetBillableServiceRecords(c2s))
|
||||
{
|
||||
if (IsServiceRecordBillable(sr) && sr.DurationMinutes > 0)
|
||||
{
|
||||
if (sr.ServiceDescription.Name.ToLower().Contains("fehlkontakt") || (sr.ServiceDescription.ProzentAbrechnung.HasValue && sr.ServiceDescription.ProzentAbrechnung.Value < 100))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user