MH: Liste mit Krankenkassen für Blömeling und Teckhaus, die Hauspauschalen zahlen
This commit is contained in:
@@ -15,16 +15,22 @@ namespace BloemelingUndTeckhaus.Invoicing
|
||||
public override IList<InvoiceItem> CreateSummaryInvoiceItems(IList<InvoiceItem> itemList, DateTimeSpan invoicePeriod, SupportConceptApprovalPeriod scap,
|
||||
Calculations calc)
|
||||
{
|
||||
var kostenträgerMitHausbesuchspauschale = new List<string>{ "Barmer", "DAK Fachzentrum ambulante Leistungen in Saarbrücken",
|
||||
"KK - Kaufmännische Krankenkasse", "Techniker Krankenkasse" };
|
||||
bool enthaeltHausbesuche = false;
|
||||
foreach (var item in itemList)
|
||||
if (kostenträgerMitHausbesuchspauschale.Contains(scap.CostBearer2SupportConcept.CostBearer.Organisation.Name))
|
||||
{
|
||||
if (item.ItemDescription.ToLower().Contains("hausbesuch"))
|
||||
foreach (var item in itemList)
|
||||
{
|
||||
item.GrossAmountTotal += _FAHRTKOSTENPAUSCHALE;
|
||||
if (!enthaeltHausbesuche)
|
||||
enthaeltHausbesuche = true;
|
||||
if (item.ItemDescription.ToLower().Contains("hausbesuch"))
|
||||
{
|
||||
item.GrossAmountTotal += _FAHRTKOSTENPAUSCHALE;
|
||||
if (!enthaeltHausbesuche)
|
||||
enthaeltHausbesuche = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (enthaeltHausbesuche)
|
||||
itemList.Add(new InvoiceItem() { AmountPerUnit = _FAHRTKOSTENPAUSCHALE, ItemPeriodStart = new System.DateTime(), ItemPeriodEnd = new System.DateTime() });
|
||||
|
||||
Reference in New Issue
Block a user