diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index 4fe95e78..42e9bb2d 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -4293,6 +4293,7 @@ export class CommandController extends Controller { profile.amount = item.amount ?? _null; profile.amountSpecial = item.amountSpecial ?? _null; profile.isActive = true; + profile.isDelete = false; } await this.profileRepository.save(profile); @@ -6646,6 +6647,7 @@ export class CommandController extends Controller { profile.isLeave = item.bodyProfile.isLeave; profile.isRetirement = false; profile.isActive = true; + profile.isDelete = false; profile.dateLeave = _null; profile.dateRetire = _dateRetire; profile.dateRetireLaw = _dateRetireLaw;