Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m2s

This commit is contained in:
adisak 2026-04-07 18:12:52 +07:00
commit 31c16befa7
2 changed files with 10 additions and 10 deletions

View file

@ -470,7 +470,7 @@ export class SalaryPeriodController extends Controller {
const Level = await this.posLevelRepository.findOne({
where: {
posTypeId: Type.id,
posLevelName: salaryProfile.posLevel,
posLevelName: salaryProfile.posLevel?.split("/")[0],
},
});
if (!Level) {
@ -935,7 +935,7 @@ export class SalaryPeriodController extends Controller {
const Level = await this.posLevelRepository.findOne({
where: {
posTypeId: Type.id,
posLevelName: salaryProfile.posLevel,
posLevelName: salaryProfile.posLevel?.split("/")[0],
},
});
if (!Level) {
@ -1272,7 +1272,7 @@ export class SalaryPeriodController extends Controller {
const Level = await this.posLevelRepository.findOne({
where: {
posTypeId: Type.id,
posLevelName: salaryProfile.posLevel,
posLevelName: salaryProfile.posLevel?.split("/")[0],
},
});
if (!Level) {
@ -1981,7 +1981,7 @@ export class SalaryPeriodController extends Controller {
Level = await this.posLevelRepository.findOne({
where: {
posTypeId: Type.id,
posLevelName: salaryProfile.posLevel,
posLevelName: salaryProfile.posLevel?.split("/")[0],
},
});
if (!Level) {
@ -2474,7 +2474,7 @@ export class SalaryPeriodController extends Controller {
const posLevel = await this.posLevelRepository.findOne({
where: {
posTypeId: posType.id,
posLevelName: salaryProfile.posLevel,
posLevelName: salaryProfile.posLevel?.split("/")[0],
},
});
if (!posLevel) {

View file

@ -430,7 +430,7 @@ export class SalaryPeriodEmployeeController extends Controller {
const Level = await this.posLevelRepository.findOne({
where: {
posTypeId: Type.id,
posLevelName: salaryProfile.posLevel,
posLevelName: salaryProfile.posLevel?.split("/")[0],
},
});
if (!Level) {
@ -750,7 +750,7 @@ export class SalaryPeriodEmployeeController extends Controller {
const Level = await this.posLevelRepository.findOne({
where: {
posTypeId: Type.id,
posLevelName: salaryProfile.posLevel,
posLevelName: salaryProfile.posLevel?.split("/")[0],
},
});
if (!Level) {
@ -941,7 +941,7 @@ export class SalaryPeriodEmployeeController extends Controller {
const Level = await this.posLevelRepository.findOne({
where: {
posTypeId: Type.id,
posLevelName: salaryProfile.posLevel,
posLevelName: salaryProfile.posLevel?.split("/")[0],
},
});
if (!Level) {
@ -1132,7 +1132,7 @@ export class SalaryPeriodEmployeeController extends Controller {
const Level = await this.posLevelRepository.findOne({
where: {
posTypeId: Type.id,
posLevelName: salaryProfile.posLevel,
posLevelName: salaryProfile.posLevel?.split("/")[0],
},
});
if (!Level) {
@ -1597,7 +1597,7 @@ export class SalaryPeriodEmployeeController extends Controller {
const posLevel = await this.posLevelRepository.findOne({
where: {
posTypeId: posType.id,
posLevelName: salaryProfile.posLevel,
posLevelName: salaryProfile.posLevel?.split("/")[0],
},
});
if (!posLevel) {