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