SoziotherapieInvoiceCreation: Für Gruppentermine Einheit von 60 auf 90 Minuten umgestellt, Namen der Gruppen-Preise korrigiert
This commit is contained in:
@@ -79,9 +79,16 @@ namespace BeWo.Service.Invoicing
|
||||
var sozioLeistung = ii.ItemDescription.ToLower();
|
||||
|
||||
if (sozioLeistung.Contains("gruppe"))
|
||||
{
|
||||
AktualisierePreis(ii, GetGruppenPreis(scap.CostBearer2SupportConcept, serviceRecord.Start.Value));
|
||||
|
||||
// 90 min-Einheiten bei Gruppen (statt 60 min)
|
||||
ii.UnitCount = ii.UnitCount * 2 / 3;
|
||||
}
|
||||
else
|
||||
{
|
||||
AktualisierePreis(ii, GetEinzelPreis(scap.CostBearer2SupportConcept, serviceRecord.Start.Value));
|
||||
}
|
||||
|
||||
ii.UnitDescription = ErmittleGPosNummer(serviceRecord, sozioLeistung);
|
||||
|
||||
@@ -240,13 +247,13 @@ namespace BeWo.Service.Invoicing
|
||||
|
||||
protected decimal GetGruppenPreis(CostBearer2SupportConcept c2s, DateTime dt)
|
||||
{
|
||||
String preisName = "Gruppentherapie Primärkasse";
|
||||
String preisName = "Gruppenstunde Primärkasse";
|
||||
|
||||
if (c2s.CostBearer.Organisation.Function != null)
|
||||
{
|
||||
if (c2s.CostBearer.Organisation.Function.Value.Contains("Ersatzkasse"))
|
||||
{
|
||||
preisName = "Gruppentherapie Ersatzkasse";
|
||||
preisName = "Gruppenstunde Ersatzkasse";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user