Add firma flag to availability and show office/home label

Server query gets the last stamp's BU_TERM in the same OUTER APPLY
as LAST_STAMP, exposing FIRMA (1 = Zeiterfassung/Büro). Three OUTER
APPLYs reduced to two by combining MAX(BU_BU) with TOP 1 ORDER BY.

Client model gains a firma boolean and the people-tile indicator
appends "· Büro" or "· Home" next to the timestamp, but only when
the user is logged in.
This commit is contained in:
2026-04-13 12:55:51 +02:00
parent 74992a020f
commit 523477ffba
5 changed files with 25 additions and 11 deletions
+1
View File
@@ -3,4 +3,5 @@ export class AvailabilityInfo {
public loggedIn: boolean;
public extension: string;
public lastStamp: string;
public firma: boolean;
}