เพิ่ม id คำสั่งลงประวัติตำแหน่ง #665

This commit is contained in:
AdisakKanthawilang 2024-10-21 14:30:22 +07:00
parent 2e2dc56f87
commit cb04b7a4b9

View file

@ -1050,6 +1050,7 @@ export class ReportController extends Controller {
refId: string
commandAffectDate: Date | null
commandNo: string | null
commandId: string | null
commandYear: number
templateDoc: string | null
amount: Double | null
@ -1062,6 +1063,7 @@ export class ReportController extends Controller {
.PostData(request, "/org/command/excexute/salary-probation", {
data: body.refIds.map(v => ({
profileId: v.refId,
commandId: v.commandId,
date: v.commandAffectDate,
refCommandNo: `${v.commandNo}/${Extension.ToThaiYear(v.commandYear)}`,
salaryRef: v.templateDoc,
@ -1131,6 +1133,7 @@ export class ReportController extends Controller {
refId: string
commandAffectDate: Date | null
commandNo: string | null
commandId: string | null
commandYear: number
templateDoc: string | null
amount: Double | null
@ -1143,6 +1146,7 @@ export class ReportController extends Controller {
.PostData(request, "/org/command/excexute/salary-probation-leave", {
data: body.refIds.map(v => ({
profileId: v.refId,
commandId: v.commandId,
date: v.commandAffectDate,
refCommandNo: `${v.commandNo}/${Extension.ToThaiYear(v.commandYear)}`,
salaryRef: v.templateDoc,