This commit is contained in:
AdisakKanthawilang 2024-03-15 09:55:07 +07:00
parent c22dd4ecf2
commit b752f84cdf

View file

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