mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor fixes for logging
This commit is contained in:
parent
fde27e8e0b
commit
d2c2000f3d
@ -115,9 +115,6 @@ class AdjustProductInventory implements ShouldQueue
|
|||||||
$p->in_stock_quantity -= $i->quantity;
|
$p->in_stock_quantity -= $i->quantity;
|
||||||
|
|
||||||
$p->saveQuietly();
|
$p->saveQuietly();
|
||||||
nlog("threshold ".$p->stock_notification_threshold);
|
|
||||||
nlog("stock q".$p->in_stock_quantity);
|
|
||||||
nlog("p stock not".$p->stock_notification_threshold);
|
|
||||||
|
|
||||||
if ($this->company->stock_notification && $p->stock_notification && $p->stock_notification_threshold && $p->in_stock_quantity <= $p->stock_notification_threshold) {
|
if ($this->company->stock_notification && $p->stock_notification && $p->stock_notification_threshold && $p->in_stock_quantity <= $p->stock_notification_threshold) {
|
||||||
$this->notifyStockLevels($p, 'product');
|
$this->notifyStockLevels($p, 'product');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user