diff --git a/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs b/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs index dc62a64e..efd045fc 100644 --- a/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs +++ b/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs @@ -1589,7 +1589,7 @@ namespace BMA.EHR.Application.Repositories.Commands var resultData = new List(); var baseAPI = _configuration["API"]; - var apiUrl = $"{baseAPI}/org/profile-employee/report"; + var apiUrl = $"{baseAPI}/org/profile-employee/report-temp"; var response = new PassSalaryResponse(); using (var client = new HttpClient()) @@ -1609,8 +1609,8 @@ namespace BMA.EHR.Application.Repositories.Commands Sequence = seq, CitizenId = d.citizenId, Prefix = d.prefix == null ? "" : d.prefix, - FirstName = d.firstName, - LastName = d.lastName, + FirstName = d.firstName == null ? "" : d.firstName, + LastName = d.lastName == null ? "" : d.lastName, RefPlacementProfileId = d.id, RefDisciplineId = d.id, Organization = d.organization, diff --git a/BMA.EHR.Placement.Service/Controllers/PlacementController.cs b/BMA.EHR.Placement.Service/Controllers/PlacementController.cs index b5182d69..52378395 100644 --- a/BMA.EHR.Placement.Service/Controllers/PlacementController.cs +++ b/BMA.EHR.Placement.Service/Controllers/PlacementController.cs @@ -672,7 +672,7 @@ namespace BMA.EHR.Placement.Service.Controllers person.MouthSalaryAmount = null; person.PositionSalaryAmount = null; person.RecruitDate = null; - person.ReportingDate = null + person.ReportingDate = null; person.RejectReason = req.Note; person.PlacementStatus = "DISCLAIM"; person.LastUpdateFullName = FullName ?? "System Administrator";