diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index f4c643b8..ed5db95c 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -3575,6 +3575,7 @@ export class CommandController extends Controller { lastUpdateFullName: req.user.name, createdAt: new Date(), lastUpdatedAt: new Date(), + status: "DONE" }; Object.assign(dataAssis, metaAssis); diff --git a/src/entities/ProfileAssistance.ts b/src/entities/ProfileAssistance.ts index 1c92d3f8..568552c0 100644 --- a/src/entities/ProfileAssistance.ts +++ b/src/entities/ProfileAssistance.ts @@ -131,6 +131,7 @@ export class CreateProfileAssistance { refCommandDate?: string | null; commandId?: string | null; isUpload?: boolean | null; + commandName?: string | null; } export class CreateProfileAssistanceEmployee { @@ -143,6 +144,7 @@ export class CreateProfileAssistanceEmployee { refCommandDate?: string | null; commandId?: string | null; isUpload?: boolean | null; + commandName?: string | null; } export type UpdateProfileAssistance = { @@ -154,4 +156,5 @@ export type UpdateProfileAssistance = { isUpload?: boolean | null; refCommandDate?: string | null; commandId?: string | null; + commandName?: string | null; };