Merge branch 'master' of ssh://float.beyondsoft.de/git/beyondSoft/BeWo

This commit is contained in:
Christian
2021-06-22 20:56:05 +02:00
2 changed files with 4 additions and 2 deletions

View File

@@ -817,7 +817,6 @@
</Compile>
<Compile Include="SchulbegleitenderDienst\WochenansichtVM.cs" />
<Compile Include="SchulbegleitenderDienst\WochenVertretung.cs" />
<Compile Include="Security\EncryptionUtils.cs" />
<Compile Include="UploadDialog.xaml.cs">
<DependentUpon>UploadDialog.xaml</DependentUpon>
</Compile>

View File

@@ -42,11 +42,12 @@ namespace BeWo.View.Detail
public UrlaubstagSchenkenView(List<EmployeeDC> _EmployeeList)
public UrlaubstagSchenkenView(List<EmployeeDC> EmployeeList)
{
InitializeComponent();
//_EmployeeList = ServiceFacade.DoEmployeeServiceSync(s => s.GetAllActiveEmployees());
_EmployeeList = EmployeeList;
EmployeeSelectionGrid.ItemsSource = _EmployeeList;
}
@@ -96,6 +97,8 @@ namespace BeWo.View.Detail
}
else
{
//var allEmployee = (List<EmployeeDC>)EmployeeSelectionGrid.ItemsSource;
//foreach (var item in allEmployee)
foreach (var item in _EmployeeList)
{
var oid = item.EmployeeOid;