auth page udpate
This commit is contained in:
@@ -100,21 +100,21 @@ class User extends Authenticatable
|
||||
}
|
||||
|
||||
public function srpOpen() {
|
||||
return App\Models\SRP\Ship::where([
|
||||
return Ship::where([
|
||||
'character_id' => $this->character_id,
|
||||
'approved' => 'Under Review',
|
||||
])->count();
|
||||
}
|
||||
|
||||
public function srpDenied() {
|
||||
return App\Models\SRP\Ship::where([
|
||||
return hip::where([
|
||||
'character_id' => $this->character_id,
|
||||
'approved' => 'Denied',
|
||||
])->count();
|
||||
}
|
||||
|
||||
public function srpApproved() {
|
||||
return App\Models\SRP\Ship::where([
|
||||
return Ship::where([
|
||||
'character_id' => $this->character_id,
|
||||
'approved' => 'Approved',
|
||||
])->count();
|
||||
|
||||
Reference in New Issue
Block a user