mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Merge remote-tracking branch 'origin/v3' into v3-master
This commit is contained in:
commit
7c4b2caadf
|
@ -51,10 +51,10 @@ class Statuslabel extends Model
|
|||
return 'pending';
|
||||
} elseif ($this->archived == 1) {
|
||||
return 'archived';
|
||||
} elseif (($this->archived == 0) && ($this->deployable == 0) && ($this->deployable == 0)) {
|
||||
return 'undeployable';
|
||||
} else {
|
||||
} elseif ($this->deployable == 1) {
|
||||
return 'deployable';
|
||||
} else {
|
||||
return 'undeployable';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue