|
|
e649b6c398
|
update checklist
|
2026-01-26 12:47:56 +07:00 |
|
|
|
be4decb918
|
update checklist
|
2026-01-23 16:43:26 +07:00 |
|
|
|
3cf4cc7f3f
|
feat: Implement audit trail system for dual-level validation workflow
This commit adds comprehensive audit logging for specimen requests and sample collection activities across all roles.
Changes Summary:
New Features:
- Added AUDIT_EVENTS table schema for tracking validation and sample collection events
- Created ApiRequestsAuditController with /api/requests/(:any)/audit endpoint to retrieve audit history
- Added dialog_audit.php view component for displaying audit trails in UI
- Integrated audit logging into validation workflow (VAL1, VAL2, UNVAL events)
Database:
- Created AUDIT_EVENTS table with columns: ACCESSNUMBER, EVENT_TYPE, USERID, EVENT_AT, REASON
- Supports tracking validation events and sample collection actions
Controllers:
- RequestsController: Now inserts audit records for all validation operations
- ApiRequestsAuditController: New API controller returning validation and sample collection history
Routes:
- Added GET /api/requests/(:any)/audit endpoint for retrieving audit trail
- Removed DELETE /api/samples/collect/(:any) endpoint (uncollect functionality)
Views Refactoring:
- Consolidated dashboard layouts into shared components:
- layout.php (from layout_dashboard.php)
- script_requests.php (from script_dashboard.php)
- script_validation.php (from script_validate.php)
- content_requests.php (from dashboard_table.php)
- content_validation.php (from dashboard_validate.php)
- Added content_validation_new.php for enhanced validation interface
|
2026-01-23 16:41:12 +07:00 |
|
|
|
33ccb976cc
|
Refactor: Consolidate duplicate dashboard views into shared components
- Created shared dashboard components in app/Views/shared/:
- dashboard_config.php, dashboard_table.php, dashboard_validate.php
- dialog_sample.php, dialog_val.php, script_dashboard.php, script_validate.php
- layout_dashboard.php
- Removed duplicate views from role-specific directories (admin, cs, lab, phlebo, superuser)
- Consolidated 575-line duplicate index.php files into shared components
- Updated controllers to use new shared view structure
- Added ApiValidateController for validation endpoints
- Reduced code duplication across 5 role-based dashboards
🤖 Generated with [Claude Code](https://claude.com/claude-code)
|
2026-01-22 18:32:53 +07:00 |
|
|
|
7ee5332edf
|
add username edit to users page
|
2026-01-22 07:34:19 +07:00 |
|
mikael-zakaria
|
13591da5b4
|
Update Tampilan Yang beda antara 1 role dengan yang lain
|
2026-01-21 13:32:37 +07:00 |
|
|
|
ebc75097c1
|
fix: - add filterTable $watch to reset pagination - add click handler to table cells (SP_ACCESSNUMBER, HOSTORDERNUMBER, STATS) - change STATS from button to text cell
|
2026-01-20 09:53:56 +07:00 |
|
|
|
e7cacba1c3
|
feature :
- add table sort
- add sidebar menu
- remove IND, ENG on Preview
|
2026-01-19 16:46:05 +07:00 |
|