Commit Graph

15 Commits

Author SHA1 Message Date
CPAMAP 788ec55bde Filter availability by US_ACTIVE
Restricts the availability listing to projectmanagement.dbo.CP_USER
rows where US_ACTIVE = 1, so deactivated users are not returned.
2026-04-13 14:14:14 +02:00
CPATRD 21683f5e8b Client aktualisiert 2026-04-13 13:23:50 +02:00
CPAMAP 2874ea78c4 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.
2026-04-13 13:18:02 +02:00
CPAMAP 523477ffba 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.
2026-04-13 12:55:51 +02:00
CPAMAP 74992a020f Add lastStamp to availability and show it on people tiles
Server query extended with MAX(BU_BU) per user as LAST_STAMP,
exposed via the Availability model. Client formats it as
DD.MM. HH:mm next to the loggedIn dot, replacing the mocked time.
2026-04-13 12:29:43 +02:00
CPATRD 18c6f6f10e Updated client library 2026-04-13 10:52:35 +02:00
CPATRD 02c8e0ea3c Get Availability and extension for all users 2026-04-13 10:44:55 +02:00
CPATRD ccf1f63f1b Bump Version to 9.5.1 2026-04-10 12:06:16 +02:00
CPATRD 8459f7938d Move userscript to server 2026-04-10 12:02:03 +02:00
CPATRD d8b9fd7664 Added CPATapi.Server API Client 2026-04-09 14:14:04 +02:00
CPATRD 6d1d165aba Added OpenAPI 2026-04-09 14:14:04 +02:00
CPATRD 2886ab6522 Serilog 2026-03-19 14:32:20 +01:00
CPATRD 766ed86999 Modernize and Dockerize server 2026-03-19 14:32:14 +01:00
CPATRD 76a2bf0e88 Modernized 2026-03-19 13:42:42 +01:00
CPATRD fe8fcdf45b 3cx Tapi Server 2026-03-19 13:42:36 +01:00