fix(pricing): auto-recalculate all products on financial settings save and support per-product custom rounding override
Deploy Canina / deploy (push) Successful in 47s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 6s

This commit is contained in:
parsa aghaei committed 2026-09-02 10:28:29 +03:30
1 parent ac15ece619
commit c4e4a336d8
17 files changed
+15685 -13745

No files matched your search

+2
View File
@@ -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)