Rename firma to atCompany on server and client

Renames the Zeiterfassung-vs-home flag to a clearer English name
(SQL alias AT_COMPANY, model property AT_COMPANY, JSON atCompany)
in both the server query/model and the client AvailabilityInfo
type and people-tile renderer.
This commit is contained in:
2026-04-13 13:18:02 +02:00
parent d5558b61b2
commit 2874ea78c4
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -3,5 +3,5 @@ export class AvailabilityInfo {
public loggedIn: boolean;
public extension: string;
public lastStamp: Date;
public firma: boolean;
public atCompany: boolean;
}
+1 -1
View File
@@ -73,7 +73,7 @@ export class Availability {
}
var location = ''
if (entry.loggedIn) {
location = entry.firma ? ' · Büro' : ' · Home'
location = entry.atCompany ? ' · Büro' : ' · Home'
}
indicator.innerHTML = '<span class="tapi-dot ' + dotClass + '"></span><small>' + time + location + '</small>'
}