no message

This commit is contained in:
Kittapath 2024-07-09 14:53:56 +07:00
parent 61a0b889f0
commit e6116da2ba

View file

@ -1915,11 +1915,10 @@ export class ReportController extends Controller {
const affiliation = fullNameParts const affiliation = fullNameParts
.filter((part) => part !== undefined && part !== null) .filter((part) => part !== undefined && part !== null)
.join("/"); .join("/");
const position = profile.position;
return { return {
no: Extension.ToThaiNumber((index + 1).toLocaleString()), no: Extension.ToThaiNumber((index + 1).toLocaleString()),
fullname: profile.prefix + profile.firstName + " " + profile.lastName, fullname: profile.prefix + profile.firstName + " " + profile.lastName,
position: position, position: profile.position,
affiliation: affiliation, affiliation: affiliation,
posLevel: profile.posLevel, posLevel: profile.posLevel,
posNumber: posNumber:
@ -2010,11 +2009,10 @@ export class ReportController extends Controller {
const affiliation = fullNameParts const affiliation = fullNameParts
.filter((part) => part !== undefined && part !== null) .filter((part) => part !== undefined && part !== null)
.join("/"); .join("/");
const position = profile.position;
return { return {
no: Extension.ToThaiNumber((index + 1).toLocaleString()), no: Extension.ToThaiNumber((index + 1).toLocaleString()),
fullname: profile.prefix + profile.firstName + " " + profile.lastName, fullname: profile.prefix + profile.firstName + " " + profile.lastName,
position: position, position: profile.position,
affiliation: affiliation, affiliation: affiliation,
posLevel: profile.posLevel, posLevel: profile.posLevel,
posNumber: posNumber: