mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
fixed typo, fixed variable name
This commit is contained in:
parent
f47a2b10c0
commit
db11fc35f4
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue