Sende Button mehr logik - orga
This commit is contained in:
@@ -12,11 +12,6 @@ namespace BeWo.Converter
|
||||
if (value is null)
|
||||
return null;
|
||||
|
||||
if (value is InvoiceBaseVM invoice)
|
||||
{
|
||||
return invoice.IsGkvValidError;
|
||||
}
|
||||
|
||||
return "Test";
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user