Commit Graph

7 Commits

Author SHA1 Message Date
Ichsan Kurniawan aa99536a32 Route server requests through local API
Use BASE_URL_API_LOCAL_SERVER for server-side data requests and load the layout session through the cached helper. Update production URLs to HTTPS and use 127.0.0.1 for local API endpoints.
2026-11-10 17:23:53 +07:00
Ichsan Kurniawan 1b37ff65f5 Enforce action permissions across admin pages
Gate administration actions by role permissions, centralize cached session access for data fetching, and return forbidden responses for unauthorized pages. Also lazy-load user exports and adjust search field sizing.
2026-11-09 15:02:29 +07:00
Ichsan Kurniawan 7f8e6637e4 Move auth config and build admin menus
Extract NextAuth configuration into a shared library, load admin sidebar items from role permissions, and update related RBAC types and UI.
2026-11-06 18:25:54 +07:00
Ichsan Kurniawan aeda578c78 Add query-string helper and centralize filtering
Introduce getQueryStringFilteredAssignments in lib/fetchData and use it across task pages to append backend filter params to API requests. Move client/assignment filtering into shared helpers (getFilteredAssignments, getFilteredClients) and remove duplicated local filter logic from client/project pages. Expand searchable fields and adjust getFilteredAssignments signature to accept (list, query, sortBy). Update IClient type and add ProjectStatusSummary. Miscellaneous UI/UX fixes: use fullname in AssignmentTable tooltip, fix debounce usage, pass correct prop to FilterComponent in HomeTask, and normalize isEdit handling in project-assignment page.
2026-05-04 18:39:27 +07:00
Ichsan Kurniawan 5a3629badf update performance, manual attendance, redownload leave form
Added the ability to view and re-download leave application forms in the Employee History page (Leave, Permit, and Sick tabs)
Added employee alpha stats and employee alpha detail in Employee Performance Page
Added total WFO, WFH and WFS in Admin Summary Report
Added batch import from Excel files in Admin Manual Attendance
2026-02-20 15:19:42 +07:00
Ichsan Kurniawan 09ad78ed03 update opengraph 2026-02-09 16:22:14 +07:00
Ichsan Kurniawan 7e172f5cf7 initial commit for new hats app 2025-12-19 13:57:55 +07:00