fixed typo, fixed variable name

This commit is contained in:
Godfrey M 2025-01-16 12:00:49 -08:00
parent f47a2b10c0
commit db11fc35f4
2 changed files with 2 additions and 2 deletions

View file

@ -139,7 +139,7 @@ class LicenseSeatsController extends Controller
if ($is_checkin) {
$licenseSeat->logCheckin($target, $request->input('note'));
if(!$licenseSeat->license->ressignable){
if(!$licenseSeat->license->reassignable){
$licenseSeat->dead = 1;
$licenseSeat->save();
}

View file

@ -653,7 +653,7 @@ class License extends Depreciable
{
return $this->licenseseats()
->whereNull('deleted_at')
->where('unavailable', '=', 0)
->where('dead', '=', 0)
->where(function ($query) {
$query->whereNull('assigned_to')
->whereNull('asset_id');