mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 14:27:33 -08:00
Removed debugging
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
fa5b59cf21
commit
9858cc5baf
|
@ -356,13 +356,8 @@ class Accessory extends SnipeModel
|
||||||
public function numRemaining()
|
public function numRemaining()
|
||||||
{
|
{
|
||||||
$checkedout = $this->numCheckedOut();
|
$checkedout = $this->numCheckedOut();
|
||||||
\Log::debug('checked out: '.$checkedout);
|
|
||||||
|
|
||||||
$total = $this->qty;
|
$total = $this->qty;
|
||||||
\Log::debug('total: '.$total);
|
|
||||||
|
|
||||||
$remaining = $total - $checkedout;
|
$remaining = $total - $checkedout;
|
||||||
\Log::debug('remaining: '.$remaining);
|
|
||||||
|
|
||||||
return $remaining;
|
return $remaining;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue