mirror of
https://github.com/grocy/grocy.git
synced 2025-08-21 04:43:32 +00:00
Typo...
This commit is contained in:
@@ -592,7 +592,7 @@ class StockService extends BaseService
|
|||||||
$logOldRowForStockUpdate->save();
|
$logOldRowForStockUpdate->save();
|
||||||
|
|
||||||
$openedDate = $stockRow->opened_date;
|
$openedDate = $stockRow->opened_date;
|
||||||
if ($open && $openDate == null)
|
if ($open && $openedDate == null)
|
||||||
{
|
{
|
||||||
$openedDate = date('Y-m-d');
|
$openedDate = date('Y-m-d');
|
||||||
}
|
}
|
||||||
@@ -1082,9 +1082,10 @@ class StockService extends BaseService
|
|||||||
throw new \Exception('Booking does not exist or was already undone');
|
throw new \Exception('Booking does not exist or was already undone');
|
||||||
}
|
}
|
||||||
|
|
||||||
$openDate = $logRow->opened_date;
|
$openedDate = $logRow->opened_date;
|
||||||
$open = true;
|
$open = true;
|
||||||
if ($openDate == null) {
|
if ($openedDate == null)
|
||||||
|
{
|
||||||
$open = false;
|
$open = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user