auth page udpate

This commit is contained in:
2026-04-06 22:39:09 -05:00
parent af4bd102b6
commit b4b9d7c3f9

View File

@@ -9,7 +9,7 @@ use App\Models\Auth\UserRole;
use App\Models\Auth\UserPermission;
use App\Models\Esi\EsiScope;
use App\Models\Esi\EsiToken;
use App\Models\SRP\Ship;
use App\Models\SRP\Ships as SRPShips;
class User extends Authenticatable
{
@@ -100,21 +100,21 @@ class User extends Authenticatable
}
public function srpOpen() {
return Ship::where([
return SRPShips::where([
'character_id' => $this->character_id,
'approved' => 'Under Review',
])->count();
}
public function srpDenied() {
return hip::where([
return SRPShips::where([
'character_id' => $this->character_id,
'approved' => 'Denied',
])->count();
}
public function srpApproved() {
return Ship::where([
return SRPShips::where([
'character_id' => $this->character_id,
'approved' => 'Approved',
])->count();