From 4ac2749c0698facf184969b392d9b55dae2062a5 Mon Sep 17 00:00:00 2001 From: Rene Evertz Date: Tue, 12 Aug 2025 11:13:41 +0200 Subject: [PATCH] =?UTF-8?q?Tooltip=20Text=20Converter=20vollst=C3=A4ndig?= =?UTF-8?q?=20f=C3=BCr=20GkvAbrechnung+InvoiceBase+deren=20light=20veriant?= =?UTF-8?q?en?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BeWo/Converter/TooltipTextConverter.cs | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/BeWo/Converter/TooltipTextConverter.cs b/BeWo/Converter/TooltipTextConverter.cs index d8ff1d8f1..f64042ff0 100644 --- a/BeWo/Converter/TooltipTextConverter.cs +++ b/BeWo/Converter/TooltipTextConverter.cs @@ -30,17 +30,32 @@ namespace BeWo.Converter } } + if (value is GkvAbrechnungVM gkv2) + { + if (parameter is string s) + { + if (s == "Send") + { + return gkv2.SendTooltip; + } + } + } + if (value is InvoiceBaseLightVM invoice) { return invoice.IsGkvValidError; } + if (value is InvoiceBaseVM invoice2) + { + return invoice2.IsGkvValidError; + } + if (value is MandatorVM mandator) { return mandator.CanEditIKLeistungserbringerTooltip; } - return "xxx"; }