adds count on tabs and reports and index
This commit is contained in:
@@ -594,7 +594,8 @@ class License extends Depreciable
|
||||
{
|
||||
$total = $this->licenseSeatsCount;
|
||||
$taken = $this->assigned_seats_count;
|
||||
$diff = ($total - $taken);
|
||||
$unreassignable = Helper::unReassignableCount($this);
|
||||
$diff = ($total - $taken - $unreassignable);
|
||||
|
||||
return (int) $diff;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user