adds count on tabs and reports and index

This commit is contained in:
Godfrey M
2025-01-13 14:31:54 -08:00
parent 8a0ed49623
commit 5e1562ae4c
6 changed files with 28 additions and 8 deletions
+2 -1
View File
@@ -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;
}