Merge branch 'develop' into adiDev

This commit is contained in:
AdisakKanthawilang 2024-03-01 11:04:12 +07:00
commit 134fb53fce

View file

@ -591,7 +591,7 @@ export class SalaryPeriodController extends Controller {
if (salaryProfileAll != null) {
throw new HttpError(
HttpStatusCode.INTERNAL_SERVER_ERROR,
"ไม่สามารถเพิ่มรายชื่อนี้ได้ เนื่องจากมีการยื่นขอเลื่อนเงินเดือนแล้ว",
"ไม่สามารถเพิ่มรายชื่อนี้ได้ เนื่องจากมีการยื่นขอเลื่อนเงินเดือนแล้ว",
);
}
@ -749,7 +749,7 @@ export class SalaryPeriodController extends Controller {
if (chk_period) {
throw new HttpError(
HttpStatusCode.NOT_FOUND,
"ประเภทผังปี " + salaryPeriod.effectiveDate.getFullYear() + " ซ้ำ",
"ประเภทผังปี " + Extension.ToThaiYear(salaryPeriod.year) + " ซ้ำ",
);
}
@ -797,7 +797,7 @@ export class SalaryPeriodController extends Controller {
if (chk_period) {
throw new HttpError(
HttpStatusCode.NOT_FOUND,
"ประเภทผังปี " + (requestBody.effectiveDate.getFullYear() + 543) + " ซ้ำ",
"ประเภทผังปี " + Extension.ToThaiYear(requestBody.year) + " ซ้ำ",
);
}