gdc_cmod/TODO.md
mahdahar cfb81201a2 feat: Implement configurable printer system and enhance UAT workflow
Add comprehensive printer configuration support:
- New Printers.php config with role-based printer defaults (lab, phlebo, reception)
- Update LabelController for configurable printer routing with error handling
- Add ResponseTrait for proper JSON responses (success/error status)
- Update routes to accept optional printer parameter for label printing
- Add default printer configuration per role in shared config

Enhance report generation workflow:
- Support REPORT_LANG from CM_REQUESTS table for language preference
- Prioritize URL parameter, then database value, then default
- Add language info to PDF generation response (Indonesian/English)
- Update all report methods (view, eng, preview, generate) with unified logic

Improve UI and user experience:
- Add dialog_results_generate to all role dashboards (superuser, admin, lab, phlebo, cs)
- Update skeleton loading states widths in content requests
- Add printer selection capability in sample collection flow

Add comprehensive UAT documentation:
- New UAT_GDC_CMOD_Checklist.md with 150+ test cases
- Cover all roles: superuser, admin, lab, phlebo, cs, and cross-role scenarios
- Include acceptance criteria (functional, security, performance, usability, data integrity)
- Test categories: authentication, user management, validation, sample management, audit trail, reporting
- Detailed sign-off structure for stakeholders

Add barcode printing documentation:
- docs/barcode_print_all.php - all labels printing implementation
- docs/barcode_print_coll.php - collection label implementation
- docs/barcode_print_disp.php - dispatch label implementation

Update TODO tracking:
- Mark Reprint Label and PDF Generation as completed
- Update pending tasks for testing and audit trails
2026-02-05 06:21:08 +07:00

1.7 KiB

Project Checklist: Glen RME & Lab Management System

Last Updated: 20260204

Pending:

  • Test and fix Reprint label
  • Test and fix PDF Generation
  • Print Result Audit (Track when result reports are printed/exported, log user and timestamp)

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