From f5f36425c03ef803400cda290facbcaf118ec4a8 Mon Sep 17 00:00:00 2001 From: maksim Date: Mon, 2 Dec 2024 23:48:58 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BF=D1=80=D0=BE=D1=81=D0=BC=D0=BE=D1=82=D1=80=20=D0=B4=D0=BB?= =?UTF-8?q?=D1=8F=20=D1=81=D0=BE=D1=82=D1=80=D1=83=D0=B4=D0=BD=D0=B8=D0=BA?= =?UTF-8?q?=D0=BE=D0=B2=20=D0=B8=20=D0=BF=D1=80=D0=BE=D1=87=D0=B5=D0=B5.?= =?UTF-8?q?=20=D0=9E=D1=81=D1=82=D0=B0=D0=BB=D1=81=D1=8F=20=D1=84=D1=83?= =?UTF-8?q?=D0=BB=D0=BB=20=D0=B4=D0=B5=D0=B7=D0=B8=D0=B3=D0=BD=20=D0=B8=20?= =?UTF-8?q?=D0=B4=D0=B5=D0=BB=D0=B0=D1=82=D1=8C=206=20=D0=BB=D0=B0=D0=B1?= =?UTF-8?q?=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Employee/Salary/DeleteSalaryWindow.xaml | 1 + .../Salary/DeleteSalaryWindow.xaml.cs | 1 + .../Employee/Salary/ViewSalaryWindow.xaml | 54 ++++++++++++++++--- .../Employee/Salary/ViewSalaryWindow.xaml.cs | 35 ++++++++++++ .../Vacation/DeleteVacationWindow.xaml | 1 + .../Vacation/DeleteVacationWindow.xaml.cs | 3 +- .../Employee/Vacation/EditVacationWindow.xaml | 6 +-- .../Employee/Vacation/ViewVacationWindow.xaml | 51 +++++++++++++++--- .../Vacation/ViewVacationWindow.xaml.cs | 32 +++++++++++ 9 files changed, 166 insertions(+), 18 deletions(-) diff --git a/EmployeeManagmentView/Employee/Salary/DeleteSalaryWindow.xaml b/EmployeeManagmentView/Employee/Salary/DeleteSalaryWindow.xaml index 8f34689..c81e4a5 100644 --- a/EmployeeManagmentView/Employee/Salary/DeleteSalaryWindow.xaml +++ b/EmployeeManagmentView/Employee/Salary/DeleteSalaryWindow.xaml @@ -34,6 +34,7 @@ + diff --git a/EmployeeManagmentView/Employee/Salary/DeleteSalaryWindow.xaml.cs b/EmployeeManagmentView/Employee/Salary/DeleteSalaryWindow.xaml.cs index 95aedfb..e63c1ad 100644 --- a/EmployeeManagmentView/Employee/Salary/DeleteSalaryWindow.xaml.cs +++ b/EmployeeManagmentView/Employee/Salary/DeleteSalaryWindow.xaml.cs @@ -70,6 +70,7 @@ namespace EmployeeManagmentView.Employee.Salary (sal.EmployeeName?.ToLower().Contains(query) ?? false) || sal.CountHours.ToString().Contains(query) || sal.PriceHour.ToString().Contains(query) || + sal.Passed.ToString().ToLower().Contains(query) || (sal.Premium.HasValue && sal.Premium.Value.ToString().Contains(query)) || (sal.Date.HasValue && sal.Date.Value.ToString("dd.MM.yyyy").Contains(query)) ).ToList(); diff --git a/EmployeeManagmentView/Employee/Salary/ViewSalaryWindow.xaml b/EmployeeManagmentView/Employee/Salary/ViewSalaryWindow.xaml index 7b37d0f..c0ced1a 100644 --- a/EmployeeManagmentView/Employee/Salary/ViewSalaryWindow.xaml +++ b/EmployeeManagmentView/Employee/Salary/ViewSalaryWindow.xaml @@ -1,12 +1,52 @@  + Title="Управление зарплатами" + Height="600" Width="800" + ResizeMode="NoResize" + WindowStartupLocation="CenterScreen" + Background="#0D2D4F"> + - + + + + + + + + + + + + + + + + + + + +