feat(dashboard,core-flows,types,order): change order accepts price updates (#9476)

* chore: change order can accept price updates

* chore: add changes to transformed order

* chore: fix transform

* chore: transform raw unit price
This commit is contained in:
Riqwan Thamir
2024-10-07 10:54:21 +02:00
committed by GitHub
parent 781d0ca624
commit 2d1f4bcabc
15 changed files with 81 additions and 12 deletions

View File

@@ -84,6 +84,12 @@ export default class OrderItem {
})
item: Rel<OrderLineItem>
@MikroOrmBigNumberProperty({ nullable: true })
unit_price: BigNumber | number | null = null
@Property({ columnType: "jsonb", nullable: true })
raw_unit_price: BigNumberRawValue | null = null
@MikroOrmBigNumberProperty()
quantity: BigNumber | number