gdc_cmod/TODO.md
mahdahar 46dc493af1 feat: Add PDF generation audit tracking and simplify result dialog
- Add PDF generation events (GEN_PDF, REGEN_PDF) to AUDIT_REQUESTS table
- Track PDF print/generate/regenerate with timestamp and language
- Fix language parameter handling in ReportController (engQuery vs engQuery typo)
- Simplify result dialog to show report in iframe instead of async PDF loading
- Add PDF tab to audit dialog showing generation history
2026-02-05 14:12:17 +07:00

38 lines
1.7 KiB
Markdown

# Project Checklist: Glen RME & Lab Management System
**Last Updated:** 20260205
Pending:
- Test and fix Reprint label
Completed:
- Update User Role levels (Standardize roles: Superuser, Admin, Lab, Phlebo, CS)
- Role-Based Dashboard Filtering (Filter by patient_status or service_type)
- Fix Table Sorting (Enable sorting by "No Register" and "Patient Name")
- Fix Language Toggle (Toggle lab result preview between Indonesian and English)
- Apply Row Color-Coding (Color-code "No Register" column)
- Initialize RME Sidebar Menu (Create menu items)
- Dashboard Performance (When getting data more than 100 rows, it load too slow)
- Dashboard for Lab -> no test with only number, remove request with empty test
- Dashboard for Others -> complete
- Refactor same views/*role* to views/shared
- Move all CDN to local
- Remove 'status' field on dashboard
- Restrict 'Validate' to Lab, Admin, Superuser
- Hide/Disable 'Validation' button after 2nd validation (Prevent redundant validation actions)
- Restrict 'UnValidate' to Admin, Superuser
- Remove 'UnCollect'
- Audit Trail (Track all actions: validation, unvalidation, collection, uncollection)
- Create Validate Page
- Sync color with old gdc_cmod
- Add Val1 Val2 on the result
- Show Print / PDF button when val1 val2 done
- Restrict Print/Save-to-PDF to CS Role only (Admin, Lab, CS can print/save)
- Add Receive to Audit
- Put all action to dropdown on request / dashboard
- Auto generate PDF on second val
- Validate delay when loading result
- Reprint Label (Add functionality to reprint labels)
- Create Eng Result UI UX on request dashboard
- Test and fix PDF Generation
- Print Result Audit (Track when result reports are printed/exported, log user and timestamp)