1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Minor fixes for logging

This commit is contained in:
David Bomba 2023-04-15 08:40:50 +10:00
parent fde27e8e0b
commit d2c2000f3d

View File

@ -115,9 +115,6 @@ class AdjustProductInventory implements ShouldQueue
$p->in_stock_quantity -= $i->quantity;
$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) {
$this->notifyStockLevels($p, 'product');