Sende Button mehr logik - orga

This commit is contained in:
2024-10-18 16:09:17 +02:00
parent 37a215ac13
commit 915ebfbc6e
9 changed files with 120 additions and 41 deletions

View File

@@ -12,11 +12,6 @@ namespace BeWo.Converter
if (value is null)
return null;
if (value is InvoiceBaseVM invoice)
{
return invoice.IsGkvValidError;
}
return "Test";
}

View File

@@ -13,6 +13,17 @@ namespace BeWo.Converter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if(value is GkvAbrechnungVM gkv)
{
if (parameter is string s)
{
if (s == "Send")
{
return gkv.SendTooltip;
}
}
}
if (value is InvoiceBaseVM invoice)
{
return invoice.IsGkvValidError;