fix(pricing): auto-recalculate all products on financial settings save and support per-product custom rounding override
This commit is contained in:
1 parent
ac15ece619
commit
c4e4a336d8
17 files changed
+15685
-13745
No files matched your search
@@ -203,6 +203,8 @@ model Product {
|
||||
buyPrice Decimal @default(0) @map("buy_price") @db.Decimal(15, 2)
|
||||
marginRetailPercent Decimal? @map("margin_retail_percent") @db.Decimal(6, 2)
|
||||
marginWholesalePercent Decimal? @map("margin_wholesale_percent") @db.Decimal(6, 2)
|
||||
roundingStep Int? @map("rounding_step")
|
||||
roundingMode String? @map("rounding_mode") @db.VarChar(10)
|
||||
priceDisplay String @map("price_display") @db.VarChar(50)
|
||||
unit String @db.VarChar(50)
|
||||
packageSize Decimal @map("package_size") @db.Decimal(10, 2)
|
||||
|
||||
Reference in new issue
Block a user