feat(qma): implement unit position tracking, gate auto-sync, history log, and exports

This commit is contained in:
Ray1111-aa
2026-10-20 20:15:24 +07:00
parent e45f6ce581
commit 1590c5f1c6
11 changed files with 2133 additions and 3 deletions
+5
View File
@@ -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()) {