แก้แจ้งเตือนปีที่ซ้ำเป็น พศ.
This commit is contained in:
parent
8b81afe00d
commit
772741ed01
1 changed files with 2 additions and 2 deletions
|
|
@ -748,7 +748,7 @@ export class SalaryPeriodController extends Controller {
|
||||||
if (chk_period) {
|
if (chk_period) {
|
||||||
throw new HttpError(
|
throw new HttpError(
|
||||||
HttpStatusCode.NOT_FOUND,
|
HttpStatusCode.NOT_FOUND,
|
||||||
"ประเภทผังปี " + salaryPeriod.effectiveDate.getFullYear() + " ซ้ำ",
|
"ประเภทผังปี " + Extension.ToThaiYear(salaryPeriod.year) + " ซ้ำ",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -796,7 +796,7 @@ export class SalaryPeriodController extends Controller {
|
||||||
if (chk_period) {
|
if (chk_period) {
|
||||||
throw new HttpError(
|
throw new HttpError(
|
||||||
HttpStatusCode.NOT_FOUND,
|
HttpStatusCode.NOT_FOUND,
|
||||||
"ประเภทผังปี " + (requestBody.effectiveDate.getFullYear() + 543) + " ซ้ำ",
|
"ประเภทผังปี " + Extension.ToThaiYear(requestBody.year) + " ซ้ำ",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue