fix(core-flows,order): return damaged items (#8818)

This commit is contained in:
Carlos R. L. Rodrigues
2024-08-27 11:21:10 -03:00
committed by GitHub
parent 0c4f4c8a11
commit ff6fcfb139
5 changed files with 56 additions and 0 deletions

View File

@@ -77,6 +77,12 @@ export default class ReturnItem {
@Property({ columnType: "jsonb" })
raw_received_quantity: BigNumberRawValue
@MikroOrmBigNumberProperty()
damaged_quantity: Number | number = 0
@Property({ columnType: "jsonb" })
raw_damaged_quantity: BigNumberRawValue
@ManyToOne(() => Return, {
columnType: "text",
fieldName: "return_id",