Browse Source

[backend] quantityMax : float

dev
Guillaume 4 years ago
parent
commit
f99ec30199
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      backend/controllers/DistributionController.php

+ 1
- 1
backend/controllers/DistributionController.php View File

@@ -785,7 +785,7 @@ class DistributionController extends BackendController
'id_product' => $idProduct,
]);

$productDistribution->quantity_max = (!$quantityMax) ? null : (int)$quantityMax;
$productDistribution->quantity_max = (!$quantityMax) ? null : (float) $quantityMax;

$productDistribution->save();


Loading…
Cancel
Save