KlinikumWerraMeissner/Invoicing/CollectiveInvoiceCreation - Rundung Fahrtkosten

This commit is contained in:
2024-08-29 08:30:52 +02:00
parent 6467a3d4c0
commit 237385ef52

View File

@@ -133,7 +133,7 @@ namespace KlinikumWerraMeissner.Invoicing
};
if (supportConceptApprovalPeriod.ServiceCategory.Name.Contains("Fahrtkostenwert"))
{
ii.AmountPerUnit = supportConceptApprovalPeriod.ApprovedBEPerInterval * AMOUNT_PER_KMQA;
ii.AmountPerUnit = Math.Round(supportConceptApprovalPeriod.ApprovedBEPerInterval.Value * AMOUNT_PER_KMQA, 2, MidpointRounding.AwayFromZero);
ii.ItemDescription = "Fahrzeiten QA";
}
else if (supportConceptApprovalPeriod.ServiceCategory.Name.ToLower().Contains("besonders vorgehaltene flächen"))