revert
This commit is contained in:
parent
536734088f
commit
dbb43f5969
1 changed files with 1 additions and 4 deletions
|
|
@ -375,15 +375,12 @@ export class ReportController extends Controller {
|
||||||
const affiliation = fullNameParts
|
const affiliation = fullNameParts
|
||||||
.filter((part) => part !== undefined && part !== null)
|
.filter((part) => part !== undefined && part !== null)
|
||||||
.join("\n");
|
.join("\n");
|
||||||
|
|
||||||
const _org = affiliation.replace(/\n/g, String.fromCharCode(10)); // → ใช้ CHAR(10)
|
|
||||||
|
|
||||||
const fullName = `${profile.prefix}${profile.firstName} ${profile.lastName}`;
|
const fullName = `${profile.prefix}${profile.firstName} ${profile.lastName}`;
|
||||||
return {
|
return {
|
||||||
no: Extension.ToThaiNumber((index + 1).toLocaleString()),
|
no: Extension.ToThaiNumber((index + 1).toLocaleString()),
|
||||||
fullName: fullName,
|
fullName: fullName,
|
||||||
affiliation: affiliation,
|
affiliation: affiliation,
|
||||||
org: _org,
|
|
||||||
posLevel: profile.posLevel,
|
posLevel: profile.posLevel,
|
||||||
posNumber:
|
posNumber:
|
||||||
Extension.ToThaiNumber(profile.orgShortName) +
|
Extension.ToThaiNumber(profile.orgShortName) +
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue