added wss tools

This commit is contained in:
2026-06-17 21:26:08 +03:30
parent cc5808e755
commit b66a8611cd
5 changed files with 140 additions and 47 deletions
@@ -150,6 +150,8 @@ class ProductController extends SuperController
$product = Product::findOrFail($id);
$oldOffsetPercent = (float) ($product->price_offset_percent ?? 0);
unset($data['trade_by_quantity']);
if (
Product::hasPriceOffsetColumn()
&& $product->reading_method