ออกคำสั่งลูกจ้าง
This commit is contained in:
parent
6ad83ecc53
commit
b260e4067f
2 changed files with 1 additions and 2 deletions
|
|
@ -1493,7 +1493,6 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
||||||
if (updated == null)
|
if (updated == null)
|
||||||
return Error(GlobalMessages.RetirementResignNotFound, 404);
|
return Error(GlobalMessages.RetirementResignNotFound, 404);
|
||||||
|
|
||||||
// updated.Status = "APPROVE";
|
|
||||||
updated.CommanderReject = false;
|
updated.CommanderReject = false;
|
||||||
updated.CommanderApproveReason = req.Reason;
|
updated.CommanderApproveReason = req.Reason;
|
||||||
updated.LastUpdateFullName = FullName ?? "System Administrator";
|
updated.LastUpdateFullName = FullName ?? "System Administrator";
|
||||||
|
|
|
||||||
|
|
@ -1987,7 +1987,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
var baseAPIOrg = _configuration["API"];
|
var baseAPIOrg = _configuration["API"];
|
||||||
var apiUrlOrg = $"{baseAPIOrg}/org/command/excexute/salary-leave";
|
var apiUrlOrg = $"{baseAPIOrg}/org/command/excexute/salary-employee-leave";
|
||||||
using (var client = new HttpClient())
|
using (var client = new HttpClient())
|
||||||
{
|
{
|
||||||
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.Replace("Bearer ", ""));
|
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.Replace("Bearer ", ""));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue