mirror of
https://github.com/grocy/grocy.git
synced 2026-04-03 03:19:26 +02:00
Typo...
This commit is contained in:
parent
ec2551d263
commit
6300a8fd09
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user