mirror of
https://github.com/grocy/grocy.git
synced 2025-08-28 17:10:11 +00:00
Recipe edit page fixes
This commit is contained in:
@@ -91,7 +91,6 @@ class StockService extends BaseService
|
||||
// Tare weight handling
|
||||
// The given amount is the new total amount including the container weight (gross)
|
||||
// The amount to be posted needs to be the given amount - stock amount - tare weight
|
||||
|
||||
if ($productDetails->product->enable_tare_weight_handling == 1)
|
||||
{
|
||||
if ($amount <= floatval($productDetails->product->tare_weight) + floatval($productDetails->stock_amount))
|
||||
|
Reference in New Issue
Block a user