add remarks to each approval role
This commit is contained in:
@ -50,6 +50,9 @@ export class RequestOrder {
|
|||||||
@Column({ type: 'enum', enum: ApprovalStatus, default: ApprovalStatus.PENDING })
|
@Column({ type: 'enum', enum: ApprovalStatus, default: ApprovalStatus.PENDING })
|
||||||
spv_approval_status: ApprovalStatus;
|
spv_approval_status: ApprovalStatus;
|
||||||
|
|
||||||
|
@Column({ type: 'text', nullable: true })
|
||||||
|
spv_approval_remarks: string | null;
|
||||||
|
|
||||||
// General Manager Approval
|
// General Manager Approval
|
||||||
@Column({ type: 'varchar', nullable: true })
|
@Column({ type: 'varchar', nullable: true })
|
||||||
approved_by_gm: string | null;
|
approved_by_gm: string | null;
|
||||||
@ -60,6 +63,9 @@ export class RequestOrder {
|
|||||||
@Column({ type: 'enum', enum: ApprovalStatus, default: ApprovalStatus.PENDING })
|
@Column({ type: 'enum', enum: ApprovalStatus, default: ApprovalStatus.PENDING })
|
||||||
gm_approval_status: ApprovalStatus;
|
gm_approval_status: ApprovalStatus;
|
||||||
|
|
||||||
|
@Column({ type: 'text', nullable: true })
|
||||||
|
gm_approval_remarks: string | null;
|
||||||
|
|
||||||
// General Affairs (GA) Approval
|
// General Affairs (GA) Approval
|
||||||
@Column({ type: 'varchar', nullable: true })
|
@Column({ type: 'varchar', nullable: true })
|
||||||
approved_by_ga: string | null;
|
approved_by_ga: string | null;
|
||||||
@ -70,6 +76,10 @@ export class RequestOrder {
|
|||||||
@Column({ type: 'enum', enum: ApprovalStatus, default: ApprovalStatus.PENDING })
|
@Column({ type: 'enum', enum: ApprovalStatus, default: ApprovalStatus.PENDING })
|
||||||
ga_approval_status: ApprovalStatus;
|
ga_approval_status: ApprovalStatus;
|
||||||
|
|
||||||
|
@Column({ type: 'text', nullable: true })
|
||||||
|
ga_approval_remarks: string | null;
|
||||||
|
|
||||||
|
|
||||||
// Storing goods as a JSON array, Use 'jsonb' for PostgreSQL or 'json' for MySQL
|
// Storing goods as a JSON array, Use 'jsonb' for PostgreSQL or 'json' for MySQL
|
||||||
@Column({ type: 'jsonb', nullable: true })
|
@Column({ type: 'jsonb', nullable: true })
|
||||||
goods: Array<{
|
goods: Array<{
|
||||||
|
|||||||
Reference in New Issue
Block a user