feat(qma): implement unit position tracking, gate auto-sync, history log, and exports
This commit is contained in:
@@ -183,6 +183,11 @@ class User extends Authenticatable
|
||||
return null;
|
||||
}
|
||||
|
||||
public function locationHistories(): HasMany
|
||||
{
|
||||
return $this->hasMany(VehicleLocationHistory::class);
|
||||
}
|
||||
|
||||
public function isEmployee(): bool
|
||||
{
|
||||
if ($this->isSuperAdmin()) {
|
||||
|
||||
Reference in New Issue
Block a user