fix: change all code for fix profile salary
This commit is contained in:
parent
c85bece782
commit
f9a3c8c318
1 changed files with 1 additions and 1 deletions
|
|
@ -1416,7 +1416,7 @@ namespace BMA.EHR.Leave.Service.Controllers
|
|||
var userCalendar = await _userCalendarRepository.GetExist(profile.Id);
|
||||
var category = userCalendar == null ? "NORMAL" : userCalendar.Calendar;
|
||||
|
||||
var lastSalary = profile.Salaries.OrderByDescending(x => x.Order).FirstOrDefault();
|
||||
var lastSalary = profile.ProfileSalary;
|
||||
var lastSalaryAmount = lastSalary == null ? 0 : lastSalary.Amount ?? 0;
|
||||
|
||||
var lastLeaveRequest =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue