From a678f950753cf60d1c095342bf7b798608e15d85 Mon Sep 17 00:00:00 2001 From: Adisak Date: Wed, 27 May 2026 14:58:00 +0700 Subject: [PATCH] revert #2533 --- src/controllers/CommandController.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index 5dc501ba..eec261f2 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -7010,7 +7010,7 @@ export class CommandController extends Controller { profile.currentSubDistrictId = currentSubDistrictId ? currentSubDistrictId.id : _null; profile.currentZipCode = item.bodyProfile.currentZipCode; profile.email = item.bodyProfile.email; - profile.dateStart = item.bodySalarys?.commandDateAffect ?? item.bodyProfile.dateStart; + profile.dateStart = item.bodyProfile.dateStart; profile.amount = item.bodyProfile.amount ?? null; profile.amountSpecial = item.bodyProfile.amountSpecial ?? null; profile.isProbation = item.bodyProfile.isProbation; @@ -7080,7 +7080,7 @@ export class CommandController extends Controller { profile.currentSubDistrictId = currentSubDistrictId ? currentSubDistrictId.id : _null; profile.currentZipCode = item.bodyProfile.currentZipCode; profile.email = item.bodyProfile.email; - profile.dateStart = item.bodySalarys?.commandDateAffect ?? item.bodyProfile.dateStart; + profile.dateStart = item.bodyProfile.dateStart; profile.amount = item.bodyProfile.amount ?? null; profile.amountSpecial = item.bodyProfile.amountSpecial ?? null; profile.isProbation = item.bodyProfile.isProbation; @@ -7132,7 +7132,7 @@ export class CommandController extends Controller { profile.email = item.bodyProfile.email; profile.telephoneNumber = item.bodyProfile.telephoneNumber; profile.phone = item.bodyProfile.phone; - profile.dateStart = item.bodySalarys?.commandDateAffect ?? item.bodyProfile.dateStart; + profile.dateStart = item.bodyProfile.dateStart; profile.amount = item.bodyProfile.amount ?? null; profile.amountSpecial = item.bodyProfile.amountSpecial ?? null; profile.leaveCommandId = _null;