fix year alert

This commit is contained in:
AdisakKanthawilang 2024-03-14 12:02:51 +07:00
parent 0cf3d3dc85
commit b025c848bc

View file

@ -1177,7 +1177,7 @@ export class SalaryPeriodController extends Controller {
if (chk_period) {
throw new HttpError(
HttpStatusCode.NOT_FOUND,
"ประเภทผังปี " + salaryPeriod.effectiveDate.getFullYear() + " ซ้ำ",
"ประเภทผังปี " + Extension.ToThaiYear(salaryPeriod.effectiveDate.getFullYear()) + " ซ้ำ",
);
}