Update #2233
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m1s

This commit is contained in:
harid 2026-01-26 17:07:00 +07:00
parent 1ade81a048
commit 64a7010d0a

View file

@ -6866,7 +6866,7 @@ export class OrganizationDotnetController extends Controller {
}
let _positions: any[] = [];
let _educations: any[] = [];
if (body.report && ["LEAVE16"].includes(body.report.trim().toUpperCase())) {
if (body.report && ["LEAVE16", "LEAVE18"].includes(body.report.trim().toUpperCase())) {
const CURRENT_DATE = await AppDataSource.query("SELECT CURRENT_DATE() as today");
let _currentDate = CURRENT_DATE[0].today;
@ -6901,6 +6901,7 @@ export class OrganizationDotnetController extends Controller {
}
const mapProfile = {
profileType: "EMPLOYEE",
prefix: profile.prefix,
firstName: profile.firstName,
lastName: profile.lastName,
@ -7005,7 +7006,7 @@ export class OrganizationDotnetController extends Controller {
let _positions: any[] = [];
let _educations: any[] = [];
if (body.report && ["LEAVE16"].includes(body.report.trim().toUpperCase())) {
if (body.report && ["LEAVE16", "LEAVE18"].includes(body.report.trim().toUpperCase())) {
const CURRENT_DATE = await AppDataSource.query("SELECT CURRENT_DATE() as today");
let _currentDate = CURRENT_DATE[0].today;
@ -7040,6 +7041,7 @@ export class OrganizationDotnetController extends Controller {
}
const mapProfile = {
profileType: "OFFICER",
prefix: profile.prefix,
firstName: profile.firstName,
lastName: profile.lastName,