From 474b7c81967dab342a7d5e05a44a6ce22bca6260 Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 1 Dec 2025 18:33:11 +0100 Subject: [PATCH] Darstellung der bewilligten FLS/Woche im Leistungsnachweis angepasst --- ReportImp/AkggMid/LeistungsnachweisHelper.cs | 5 +++++ ReportImp/AkggMid/LeistungsnachweisSozialamt.cs | 5 +++-- .../AkggMid/LeistungsnachweisSozialamtMitBlutzucker.cs | 6 ++++-- .../AkggMid/LeistungsnachweisSozialamtMitBlutzuckerPumpe.cs | 6 ++++-- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/ReportImp/AkggMid/LeistungsnachweisHelper.cs b/ReportImp/AkggMid/LeistungsnachweisHelper.cs index c686f93ac..9a25ada8b 100644 --- a/ReportImp/AkggMid/LeistungsnachweisHelper.cs +++ b/ReportImp/AkggMid/LeistungsnachweisHelper.cs @@ -50,6 +50,11 @@ namespace AkggMid KorrigiereFLSProWoche(ro); + } + + internal void BerechneBewilligteStunden(ServicesOverviewRO pRO) + { + } internal DateTimeSpan BerechneSchuljahr(ServicesOverviewRO ro) diff --git a/ReportImp/AkggMid/LeistungsnachweisSozialamt.cs b/ReportImp/AkggMid/LeistungsnachweisSozialamt.cs index 8f9a5f7d7..294fe1683 100644 --- a/ReportImp/AkggMid/LeistungsnachweisSozialamt.cs +++ b/ReportImp/AkggMid/LeistungsnachweisSozialamt.cs @@ -37,9 +37,10 @@ namespace AkggMid ServicesOverviewRO.CreateSignatureString(record); } + helper.BerechneBewilligteStunden(pRO); //LeistungsnachweisHelper.PruefeWochenBudget(pRO); - lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche", pRO.ApprovedFLSPerWeek); + lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche", pRO.ApprovedFLSPerWeekTotal); if (pRO.CustomerOid > 0) { var c = DAOFactory.GenericDAO.LoadByID(pRO.CustomerOid); @@ -58,7 +59,7 @@ namespace AkggMid } if (betreuungsartSb.ToString().Contains("Wegbegleitung")) { - lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche (incl.Wegbegleitung)", pRO.ApprovedFLSPerWeek); + lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche (incl.Wegbegleitung)", pRO.ApprovedFLSPerWeekTotal); } } diff --git a/ReportImp/AkggMid/LeistungsnachweisSozialamtMitBlutzucker.cs b/ReportImp/AkggMid/LeistungsnachweisSozialamtMitBlutzucker.cs index ca828510d..4aad9dc5e 100644 --- a/ReportImp/AkggMid/LeistungsnachweisSozialamtMitBlutzucker.cs +++ b/ReportImp/AkggMid/LeistungsnachweisSozialamtMitBlutzucker.cs @@ -38,7 +38,9 @@ namespace AkggMid //helper.PruefeWochenBudget(pRO); - lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche", pRO.ApprovedFLSPerWeek); + helper.BerechneBewilligteStunden(pRO); + + lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche", pRO.ApprovedFLSPerWeekTotal); if (pRO.CustomerOid > 0) { var c = DAOFactory.GenericDAO.LoadByID(pRO.CustomerOid); @@ -56,7 +58,7 @@ namespace AkggMid } } if (betreuungsartSb.ToString().Contains("Wegbegleitung")) - lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche (incl.Wegbegleitung)", pRO.ApprovedFLSPerWeek); + lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche (incl.Wegbegleitung)", pRO.ApprovedFLSPerWeekTotal); } this.bindingSource1.DataSource = pRO; diff --git a/ReportImp/AkggMid/LeistungsnachweisSozialamtMitBlutzuckerPumpe.cs b/ReportImp/AkggMid/LeistungsnachweisSozialamtMitBlutzuckerPumpe.cs index d50f3ddd7..5768220ea 100644 --- a/ReportImp/AkggMid/LeistungsnachweisSozialamtMitBlutzuckerPumpe.cs +++ b/ReportImp/AkggMid/LeistungsnachweisSozialamtMitBlutzuckerPumpe.cs @@ -46,9 +46,11 @@ namespace AkggMid } } + helper.BerechneBewilligteStunden(pRO); + //helper.PruefeWochenBudget(pRO); - lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche", pRO.ApprovedFLSPerWeek); + lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche", pRO.ApprovedFLSPerWeekTotal); if (pRO.CustomerOid > 0) { var c = DAOFactory.GenericDAO.LoadByID(pRO.CustomerOid); @@ -66,7 +68,7 @@ namespace AkggMid } } if (betreuungsartSb.ToString().Contains("Wegbegleitung")) - lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche (incl.Wegbegleitung)", pRO.ApprovedFLSPerWeek); + lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche (incl.Wegbegleitung)", pRO.ApprovedFLSPerWeekTotal); } this.bindingSource1.DataSource = pRO; }