update field discrepancy price and quantity
This commit is contained in:
@ -28,11 +28,11 @@ export class AssetRealization {
|
||||
nullable: false,
|
||||
type: 'date',
|
||||
})
|
||||
realization_date: Date;
|
||||
realization_date: Date;
|
||||
|
||||
@ManyToOne(() => Goods, (goods) => goods.id, { nullable: false })
|
||||
@JoinColumn({ name: 'goods_id' })
|
||||
goods: Goods;
|
||||
goods: Goods;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
@ -70,11 +70,35 @@ export class AssetRealization {
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: string;
|
||||
status: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: 'float',
|
||||
})
|
||||
quantity_discrepancy: number;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: 'float',
|
||||
})
|
||||
payment_discrepancy: number;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: 'text',
|
||||
})
|
||||
discrepancy_remarks: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: 'text',
|
||||
})
|
||||
discrepancy_images: string;
|
||||
|
||||
@Column()
|
||||
@CreateDateColumn()
|
||||
created_at: Date;
|
||||
created_at: Date;
|
||||
|
||||
@Column({ nullable: true })
|
||||
@UpdateDateColumn()
|
||||
@ -82,5 +106,5 @@ export class AssetRealization {
|
||||
|
||||
@Column({ nullable: true })
|
||||
@DeleteDateColumn()
|
||||
deleted_at: Date;
|
||||
deleted_at: Date;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user