Merge branch 'develop' of github.com:Frappet/BMA-EHR-BackEnd into develop
This commit is contained in:
commit
fec4095617
1 changed files with 9 additions and 8 deletions
|
|
@ -16,6 +16,7 @@ using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using static Microsoft.EntityFrameworkCore.DbLoggerCategory;
|
using static Microsoft.EntityFrameworkCore.DbLoggerCategory;
|
||||||
using BMA.EHR.Application.Repositories.Reports;
|
using BMA.EHR.Application.Repositories.Reports;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
namespace BMA.EHR.Placement.Service.Controllers
|
namespace BMA.EHR.Placement.Service.Controllers
|
||||||
{
|
{
|
||||||
|
|
@ -1743,7 +1744,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
||||||
posLevelId = p.posLevelId == null ? string.Empty : p.posLevelId,
|
posLevelId = p.posLevelId == null ? string.Empty : p.posLevelId,
|
||||||
posTypeId = p.posTypeId == null ? string.Empty : p.posTypeId,
|
posTypeId = p.posTypeId == null ? string.Empty : p.posTypeId,
|
||||||
email = p.Email == null ? string.Empty : p.Email,
|
email = p.Email == null ? string.Empty : p.Email,
|
||||||
phone = p.MobilePhone == null ? string.Empty : p.MobilePhone,
|
phone = p.MobilePhone == null ? string.Empty : Regex.Replace(p.MobilePhone, @"\D", ""),
|
||||||
keycloak = string.Empty,
|
keycloak = string.Empty,
|
||||||
isProbation = true,
|
isProbation = true,
|
||||||
isLeave = false,
|
isLeave = false,
|
||||||
|
|
@ -1755,21 +1756,21 @@ namespace BMA.EHR.Placement.Service.Controllers
|
||||||
birthDate = p.DateOfBirth == null ? (DateTime?)null : p.DateOfBirth,
|
birthDate = p.DateOfBirth == null ? (DateTime?)null : p.DateOfBirth,
|
||||||
reasonSameDate = (DateTime?)null,
|
reasonSameDate = (DateTime?)null,
|
||||||
ethnicity = p.Race == null ? string.Empty : p.Race,
|
ethnicity = p.Race == null ? string.Empty : p.Race,
|
||||||
telephoneNumber = p.Telephone == null ? string.Empty : p.Telephone,
|
telephoneNumber = p.Telephone == null ? string.Empty : Regex.Replace(p.Telephone, @"\D", ""),
|
||||||
nationality = p.Nationality == null ? string.Empty : p.Nationality,
|
nationality = p.Nationality == null ? string.Empty : p.Nationality,
|
||||||
gender = p.Gender == null ? string.Empty : p.Gender,
|
gender = p.Gender == null ? string.Empty : p.Gender,
|
||||||
relationship = p.Relationship == null ? string.Empty : p.Relationship,
|
relationship = p.Relationship == null ? string.Empty : p.Relationship,
|
||||||
religion = p.Religion == null ? string.Empty : p.Religion,
|
religion = p.Religion == null ? string.Empty : p.Religion,
|
||||||
bloodGroup = string.Empty,
|
bloodGroup = string.Empty,
|
||||||
registrationAddress = p.RegistAddress == null ? string.Empty : p.RegistAddress,
|
registrationAddress = p.RegistAddress == null ? string.Empty : p.RegistAddress,
|
||||||
registrationProvinceId = (String?)null,
|
registrationProvinceId = p.RegistProvinceId ?? null,
|
||||||
registrationDistrictId = (String?)null,
|
registrationDistrictId = p.RegistDistrictId ?? null,
|
||||||
registrationSubDistrictId = (String?)null,
|
registrationSubDistrictId = p.RegistSubDistrictId ?? null,
|
||||||
registrationZipCode = p.RegistZipCode == null ? string.Empty : p.RegistZipCode,
|
registrationZipCode = p.RegistZipCode == null ? string.Empty : p.RegistZipCode,
|
||||||
currentAddress = p.CurrentAddress == null ? string.Empty : p.CurrentAddress,
|
currentAddress = p.CurrentAddress == null ? string.Empty : p.CurrentAddress,
|
||||||
currentProvinceId = (String?)null,
|
currentProvinceId = p.CurrentProvinceId ?? null,
|
||||||
currentDistrictId = (String?)null,
|
currentDistrictId = p.CurrentDistrictId ?? null,
|
||||||
currentSubDistrictId = (String?)null,
|
currentSubDistrictId = p.CurrentSubDistrictId ?? null,
|
||||||
currentZipCode = p.CurrentZipCode == null ? string.Empty : p.CurrentZipCode,
|
currentZipCode = p.CurrentZipCode == null ? string.Empty : p.CurrentZipCode,
|
||||||
amount = r.amount,
|
amount = r.amount,
|
||||||
amountSpecial = r.amountSpecial,
|
amountSpecial = r.amountSpecial,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue