update the api
This commit is contained in:
@@ -33,12 +33,7 @@ export default function LeaderboardPage() {
|
||||
|
||||
<FeatureUnavailable
|
||||
title="Attendance and performance ranking"
|
||||
description="Ranking staff needs rostering data — shifts, attendance, sales attributed per person — which the platform does not record. /api/team answers who can sign in, not who was on the floor."
|
||||
endpoints={[
|
||||
'GET /api/staff — shop-floor roster, distinct from console accounts',
|
||||
'GET /api/staff/attendance — present, late, absent, on leave',
|
||||
'GET /api/reports/staff-sales — sales attributed per person',
|
||||
]}
|
||||
description="Ranking staff needs shift and attendance records, and sales credited to the person who made them. The platform records who can sign in to this console — not who was on the shop floor, or which sale was theirs. Until the app records that, any ranking here would be guesswork."
|
||||
/>
|
||||
</VStack>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user