Merge branch 'develop' into working
This commit is contained in:
commit
d7b257f0ce
2 changed files with 2 additions and 1 deletions
|
|
@ -699,6 +699,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
Organization = req.Organization,
|
||||
Reason = req.Reason,
|
||||
Status = "APPROVE",
|
||||
Date = req.Date,
|
||||
CreatedFullName = FullName ?? "System Administrator",
|
||||
CreatedUserId = UserId ?? "",
|
||||
CreatedAt = DateTime.Now,
|
||||
|
|
|
|||
|
|
@ -290,7 +290,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
var getWorkflow = await _permission.GetPermissionAPIWorkflowAsync(id.ToString(), _system);
|
||||
if (getWorkflow == false)
|
||||
{
|
||||
var getPermission = await _permission.GetPermissionAPIAsync("GET", "SYS_DISMISS");
|
||||
var getPermission = await _permission.GetPermissionAPIAsync("GET", _system);
|
||||
var jsonData = JsonConvert.DeserializeObject<JObject>(getPermission);
|
||||
if (jsonData["status"]?.ToString() != "200")
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue