diff --git a/BeWo/View/Master/ReportView.xaml.cs b/BeWo/View/Master/ReportView.xaml.cs index 0c10edf6b..939cff110 100644 --- a/BeWo/View/Master/ReportView.xaml.cs +++ b/BeWo/View/Master/ReportView.xaml.cs @@ -83,7 +83,13 @@ namespace BeWo.View.Master // tabitem_annualReport.Visibility = Visibility.Visible; // } - if (BeWoApp.Tenant == "3010479871" || (!BeWoApp.LoggedOnUser.HasRight(UserRightType.Mitarbeiterstundenkonto_ViewAll) && !BeWoApp.LoggedOnUser.HasRight(UserRightType.Mitarbeiterstundenkonto_ViewSelf) && !BeWoApp.LoggedOnUser.HasRight(UserRightType.Mitarbeiterstundenkonto_ViewTeams))) + if (BeWoApp.Tenant == "3010479871" || + ( + !BeWoApp.LoggedOnUser.HasRight(UserRightType.Mitarbeiterstundenkonto_ViewAll) && + !BeWoApp.LoggedOnUser.HasRight(UserRightType.Mitarbeiterstundenkonto_ViewSelf) && + !BeWoApp.LoggedOnUser.HasRight(UserRightType.Mitarbeiterstundenkonto_ViewTeams) + ) + ) { //Aachener Verein tabitem_makonto.Visibility = Visibility.Collapsed; diff --git a/BeWo/View/Report/Employee/EmployeeHourReportView.xaml b/BeWo/View/Report/Employee/EmployeeHourReportView.xaml index 6ccd14ec6..90fc8e03c 100644 --- a/BeWo/View/Report/Employee/EmployeeHourReportView.xaml +++ b/BeWo/View/Report/Employee/EmployeeHourReportView.xaml @@ -5,121 +5,115 @@ xmlns:localSearchView="clr-namespace:BeWo.View.Search" xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls" xmlns:dxp="http://schemas.devexpress.com/winfx/2008/xaml/printing" - xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars" xmlns:dxpbars="http://schemas.devexpress.com/winfx/2008/xaml/printing/bars" xmlns:markup="clr-namespace:BeWo.MultiLanguage.Markup" Height="Auto" Width="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Focusable="True"> + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + - - + - - - - + - + - - + + - + - + -