|
|
@@ -599,7 +599,7 @@ class DistributionController extends BackendController |
|
|
|
\Yii::$app->response->format = \yii\web\Response::FORMAT_JSON; |
|
|
|
$productDistributionManager = $this->getProductDistributionManager(); |
|
|
|
$productDistribution = $this->getProductDistribution($idProduct, $idDistribution); |
|
|
|
$productDistributionManager->updateProductDistributionQuantityMax($productDistribution, $quantityMax); |
|
|
|
$productDistributionManager->updateProductDistributionQuantityMax($productDistribution, (float) $quantityMax); |
|
|
|
return ['success']; |
|
|
|
} |
|
|
|
|