fixing approval

This commit is contained in:
2025-11-18 18:46:24 +07:00
parent 817e6bf0af
commit 8ec6123cc8
2 changed files with 7 additions and 2 deletions

View File

@ -32,6 +32,9 @@ export class EarchiveApproval {
@Column({ type: 'int', nullable: true , default : 0}) @Column({ type: 'int', nullable: true , default : 0})
isapproved: Number; isapproved: Number;
@Column({ name: 'remarks', nullable: true })
remarks: string;
@Column() @Column()
@CreateDateColumn() @CreateDateColumn()
created_at: Date; created_at: Date;

View File

@ -1,9 +1,11 @@
export enum StatusDocument { export enum StatusDocument {
"rejected" = -3, "rejected" = -3,
"returned" = -2,
"draft" = -1, "draft" = -1,
"submitted" = 0, "submitted" = 0,
"approval" = 1, "checker" = 1,
"disposition" = 2, "approval" = 2,
"disposition" = 3,
}; };
export enum TypeDocument { export enum TypeDocument {