GkvAbrechnungDetailControl Controls von IsReadOnly true zu IsEnable false
BestFitColumns bei VMList.ListChanged Mehr Fehler Handling
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
Grid.Row="0"
|
||||
Grid.Column="2"
|
||||
Margin="3"
|
||||
IsReadOnly="True"
|
||||
IsEnabled="False"
|
||||
Text="{Binding GkvAbrechnungOid}" />
|
||||
<Label
|
||||
Grid.Row="5"
|
||||
@@ -69,7 +69,7 @@
|
||||
Grid.Row="5"
|
||||
Grid.Column="2"
|
||||
Margin="3"
|
||||
IsReadOnly="True"
|
||||
IsEnabled="False"
|
||||
Text="{Binding AbrechnungsZeitraumStart}" />
|
||||
<Label
|
||||
Grid.Row="6"
|
||||
@@ -80,7 +80,7 @@
|
||||
Grid.Row="6"
|
||||
Grid.Column="2"
|
||||
Margin="3"
|
||||
IsReadOnly="True"
|
||||
IsEnabled="False"
|
||||
Text="{Binding AbrechnungsZeitraumEnde}" />
|
||||
<Label
|
||||
Grid.Row="9"
|
||||
@@ -91,7 +91,7 @@
|
||||
Grid.Row="9"
|
||||
Grid.Column="2"
|
||||
Margin="3"
|
||||
IsReadOnly="True"
|
||||
IsEnabled="False"
|
||||
Text="{Binding ErstelltAm}" />
|
||||
<Label
|
||||
Grid.Row="10"
|
||||
@@ -103,6 +103,7 @@
|
||||
Grid.Row="10"
|
||||
Grid.Column="2"
|
||||
Margin="3"
|
||||
IsEnabled="False"
|
||||
Orientation="Horizontal">
|
||||
<RadioButton
|
||||
Margin="3"
|
||||
@@ -157,7 +158,7 @@
|
||||
Grid.Row="15"
|
||||
Grid.Column="2"
|
||||
Margin="3"
|
||||
IsReadOnly="True"
|
||||
IsEnabled="False"
|
||||
Text="{Binding Betrag, StringFormat={}{0:0.00 €}}" />
|
||||
<!--<TextBox Grid.Row="15" Grid.Column="2" Margin="3" IsReadOnly="True" Text="{Binding Bezahlt}"/>-->
|
||||
<Label
|
||||
|
||||
@@ -43,6 +43,7 @@ namespace BeWo.View.Detail.Accounting
|
||||
DownloadLinkEngine = new DownloadLinkEngine();
|
||||
|
||||
_Viewmodel = new GkvAbrechnungListVM();
|
||||
_Viewmodel.VMList.ListChanged += (s, e) => gridView.BestFitColumns();
|
||||
|
||||
DataContext = _Viewmodel;
|
||||
|
||||
@@ -111,8 +112,6 @@ namespace BeWo.View.Detail.Accounting
|
||||
CriteriaOperator.FromLambda<GkvAbrechnungDC>(gkv => gkv.AbrechnungsZeitraumStart <= filter_start && filter_ende <= gkv.AbrechnungsZeitraumEnde));
|
||||
}
|
||||
}
|
||||
|
||||
gridView.BestFitColumns();
|
||||
}
|
||||
|
||||
private void NewGkvAbrechnungPopUpViewCancelButtonClicked(object sender, EventArgs e)
|
||||
|
||||
@@ -1176,7 +1176,10 @@ namespace BeWo.Service.ServiceImplementations
|
||||
}
|
||||
|
||||
if (!response_app8.Success)
|
||||
throw new GkvException(response_app8.Message);
|
||||
throw new GkvException("Success false - " + response_app8.Message);
|
||||
|
||||
if (response_app8.Results is null)
|
||||
throw new GkvException("Result null - " + response_app8.Message);
|
||||
|
||||
var results = response_app8.Results.Where(x => x is object);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user