removed unused models, castged unreassignable_seat, clean up in general

This commit is contained in:
Godfrey M
2025-01-21 11:43:47 -08:00
parent 6bab6e7151
commit 2143952a1e
9 changed files with 39 additions and 42 deletions
+1 -1
View File
@@ -594,7 +594,7 @@ class License extends Depreciable
{
$total = $this->licenseSeatsCount;
$taken = $this->assigned_seats_count;
$unreassignable = Helper::unReassignableCount($this);
$unreassignable = LicenseSeat::unReassignableCount($this);
$diff = ($total - $taken - $unreassignable);
return (int) $diff;