BeWoFuerDich: SoziotherapieInvoiceCreation korrigiert (hat keine GPos-Nr. für aufsuchende Einheiten geliefert)

This commit is contained in:
2025-05-14 18:56:44 +02:00
parent 70da6da92e
commit 52cc5f1885

View File

@@ -1,7 +1,5 @@
using BeWo.Data.Entities;
using BeWo.Service.Invoicing;
using BeWo.Service.Invoicing;
using BS.Shared.DataContracts;
using BS.Shared.Services;
namespace BeWoFuerDich.Invoicing
{
@@ -24,7 +22,7 @@ namespace BeWoFuerDich.Invoicing
}
else
{
if (sozioLeistung.Contains("probatorik"))
if (sozioLeistung.Contains("probe"))
unitDescription = "GPos: 2001607";
else if (sozioLeistung.Contains("video"))
{
@@ -33,14 +31,14 @@ namespace BeWoFuerDich.Invoicing
else if (duration > 30)
unitDescription = "GPos: 2001615";
}
else if (sozioLeistung.Contains("telefonat"))
else if (sozioLeistung.Contains("telefon"))
{
if (duration <= 30)
unitDescription = "GPos: 2001618";
else if (duration > 30)
unitDescription = "GPos: 2001617";
}
else if (sozioLeistung.Contains("einheit")) // Aufsuchende oder Büro-Einheit
else if (sozioLeistung.Contains("aufsuchend") || sozioLeistung.Contains("einrichtung")) // Aufsuchende oder Büro-Einheit
{
if (duration <= 10)
unitDescription = "GPos: 2001613";