fix ฝ่าย/สังกัด

This commit is contained in:
Bright 2024-11-06 09:50:58 +07:00
parent 0816d6b0e3
commit ba063f8fea

View file

@ -3173,14 +3173,14 @@ export class CommandController extends Controller {
no: Extension.ToThaiNumber((i + 1).toString()), no: Extension.ToThaiNumber((i + 1).toString()),
fullName: `${item.Prefix ?? ""}${item.FirstName ?? ""} ${item.LastName ?? ""}`, fullName: `${item.Prefix ?? ""}${item.FirstName ?? ""} ${item.LastName ?? ""}`,
oc: oc:
(posMasterAct.posMasterChild?.current_holder?.position ?? "-") + /*(posMasterAct.posMasterChild?.current_holder?.position ?? "-") +
"/" + "/" +*/
(_organization ?? "-"), (_organization ?? "-"),
postype: posMasterAct.posMasterChild?.current_holder?.posType?.posTypeName ?? "-", postype: posMasterAct.posMasterChild?.current_holder?.posType?.posTypeName ?? "-",
poslevel: posMasterAct.posMasterChild?.current_holder?.posLevel?.posLevelName ?? "-", poslevel: posMasterAct.posMasterChild?.current_holder?.posLevel?.posLevelName ?? "-",
organizationNew: organizationNew:
(posMasterAct.posMaster?.current_holder?.position ?? "-") + /*(posMasterAct.posMaster?.current_holder?.position ?? "-") +
"/" + "/" +*/
(_organizationNew ?? "-"), (_organizationNew ?? "-"),
// date: Extension.ToThaiShortDate_noPrefix(new Date()), // date: Extension.ToThaiShortDate_noPrefix(new Date()),
dateStart: "-", dateStart: "-",