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 authored and GitHub committed 2024-10-07 10:54:21 +02:00
1 parent 781d0ca624
commit 2d1f4bcabc
15 files changed
+81 -12

No files matched your search

@@ -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