Commit Graph

  • 32e5292e20 fix footer pdf css main mahdahar 2026-04-24 11:34:26 +07:00
  • 0a1c600b8a fix(report): normalize report footer layout for web and PDF mahdahar 2026-04-24 11:27:12 +07:00
  • ee40438b0e Sanitize request payload recursively before JSON response mahdahar 2026-04-22 15:43:09 +07:00
  • 741ca13b04 change pdf link to 254 mahdahar 2026-04-22 10:18:11 +07:00
  • b142a1076d Keep validation dialog in sync after removing an item mahdahar 2026-04-21 12:36:40 +07:00
  • 4a14dbddce Fix validate page PDF queueing mahdahar 2026-04-21 12:26:56 +07:00
  • ab8f4819e7 feat : change pdf from hostordernumber to accessnumber mahdahar 2026-04-17 11:25:22 +07:00
  • f968b0c5e2 feat: default request sorting by status mahdahar 2026-04-07 11:03:54 +07:00
  • cd05a93047 fix: make request search case-insensitive mahdahar 2026-04-07 10:45:46 +07:00
  • cec2289105 fix: make requests table filter case-insensitive mahdahar 2026-04-07 10:25:58 +07:00
  • 2aa2ef50f2 feat: add v2 dashboards and server-side request pagination mahdahar 2026-04-02 13:02:29 +07:00
  • 5262808860 fix report style mahdahar 2026-04-02 09:12:48 +07:00
  • 008ca712ff fix: normalize telephone data for JSON mahdahar 2026-03-15 13:50:09 +07:00
  • 09a1c6715f fix: show UnVal button for validated but incomplete requests mahdahar 2026-03-12 12:49:52 +07:00
  • 643413c8d3 chore: cleanup old files and Serena config mahdahar 2026-03-11 10:05:49 +07:00
  • 3ab2258b1b fix: reduce spooler timeout to prevent batch processing hang mahdahar 2026-03-11 09:43:40 +07:00
  • 25c1eaaa3d perf: use direct method calls for PDF batch generation (option 3) mahdahar 2026-03-11 09:40:59 +07:00
  • eab11dba95 fix: use cURL instead of direct controller instantiation for PDF batch mahdahar 2026-03-11 09:36:37 +07:00
  • 0fad3baab7 feat: add PDF batch generation page for superuser mahdahar 2026-03-11 09:34:11 +07:00
  • d8dc4e95f2 feat: add batch/pdf endpoint with no auth for internal PDF generation mahdahar 2026-03-11 09:17:21 +07:00
  • caf8b332f4 feat: rewrite batch PDF script to use curl endpoint with localhost bypass mahdahar 2026-03-11 09:11:47 +07:00
  • eb7729478e debug: add timing info to identify bottlenecks in batch PDF generation mahdahar 2026-03-11 08:56:53 +07:00
  • 0b569c58d9 fix: add progress output and better timeout handling for batch PDF script mahdahar 2026-03-11 08:54:49 +07:00
  • f35d6647c5 feat: add batch PDF generator CLI script mahdahar 2026-03-11 08:52:06 +07:00
  • e5eac13036 feat: auto-select sample when scanning sample number mahdahar 2026-03-10 15:52:11 +07:00
  • 2b1cccd2be fix: allow admin and superuser to unvalidate any validated record mahdahar 2026-03-10 12:17:55 +07:00
  • 8b91bc8dc3 fix: use COLLECTIONDATE instead of REQDATE for PDF links mahdahar 2026-03-09 14:25:17 +07:00
  • d9e72c0e95 always enable save button on collection mahdahar 2026-03-09 14:02:32 +07:00
  • 70517d68f0 perf: move PHP session/config logic outside table loop to reduce RAM usage mahdahar 2026-03-09 12:33:31 +07:00
  • 4fcf17c905 add print button on preview mahdahar 2026-03-09 12:10:39 +07:00
  • 80a6100575 fix dasboard status button mahdahar 2026-03-09 09:23:13 +07:00
  • 38e27f1172 feat: reset form after save on collection page mahdahar 2026-03-07 16:25:06 +07:00
  • 527e047e68 add our creation mahdahar 2026-03-07 09:25:42 +07:00
  • 4990934126 Add Serena configuration and project memories; update report controller and view scripts mahdahar 2026-03-06 16:56:13 +07:00
  • ea32cdab67 Fix undefined array key error in report template by ensuring sequential array keys mahdahar 2026-03-06 15:07:21 +07:00
  • 1ea1fd4d0e Fix memory leaks in dashboard: clear iframe src on dialog close, limit toast queue, add cleanup destroy method mahdahar 2026-03-05 16:18:43 +07:00
  • a65feb0495 Update report filtering, helper, and template mahdahar 2026-03-05 12:34:24 +07:00
  • b102ba657c Add ISPDF flag endpoint and dashboard indicator mahdahar 2026-03-05 09:59:02 +07:00
  • c2c70505e5 Remove unused dialog include and add Phlebo role-specific UI logic mahdahar 2026-03-04 13:49:46 +07:00
  • c2d66d0082 Add uncollect feature and security improvements mahdahar 2026-03-04 13:12:21 +07:00
  • ee68d22d15 Update ReportController, RequestsController, and PdfHelper mahdahar 2026-02-26 13:13:27 +07:00
  • 42d5abc25a Update printer configuration, label controller, and shared views mahdahar 2026-02-26 12:42:49 +07:00
  • 5f6cf47689 Add engineering result dialog and functionality across all roles mahdahar 2026-02-25 16:38:07 +07:00
  • 4fa33194a5 Add validation user column and Reports menu items, fix phlebo routes mahdahar 2026-02-24 10:32:28 +07:00
  • 5d1b01c4e8 Fix empty table data - add missing compute chain calls mahdahar 2026-02-16 10:54:56 +07:00
  • 8d762261d4 Remove all Alpine.js calls to fix memory leaks mahdahar 2026-02-16 10:52:49 +07:00
  • e947fc74d4 Refactor Alpine.js components: remove memory cleanup code from requests, fix keyboard event handling in validation mahdahar 2026-02-16 10:23:23 +07:00
  • 79e6ab63a0 fix: additional memory leak prevention in Alpine.js watchers and audit events mahdahar 2026-02-16 07:17:09 +07:00
  • 3577ee870f Fix memory leak in Alpine.js computed properties mahdahar 2026-02-15 18:16:16 +07:00
  • c1cf2bbc9f fix: line ending normalization for content_requests.php mahdahar 2026-02-13 09:20:06 +07:00
  • 0b30d76a86 feat: conditionally disable preview based on request status - Show pending button for Pend/PartColl/Coll statuses instead of preview mahdahar 2026-02-13 09:15:44 +07:00
  • 0d8e998c50 feat: add datetime to val1 and val2 on report - Display validation timestamps in dd-MM-yyyy hh:mm format mahdahar 2026-02-12 13:55:02 +07:00
  • f2e01adfc5 feat: auto-generate PDF after val2 validation from preview - Call /report/{accessnumber}/pdf endpoint when second validation succeeds mahdahar 2026-02-12 13:50:01 +07:00
  • 7b6d7f6d85 fix: capture accessnumber in local variable for PDF fetch - Prevents null value in async PDF generation URL after val2 mahdahar 2026-02-12 13:09:30 +07:00
  • 9e374103fa feat: auto-generate PDF after second validation - Trigger PDF generation via /report/{accessnumber}/pdf endpoint after VAL2 - Add preview dialog for admin/lab/superuser roles - Update role configs with previewEnabled flag mahdahar 2026-02-12 13:02:31 +07:00
  • dcb09804f5 feat: Update lab printer path and validation date filtering logic mahdahar 2026-02-11 15:18:35 +07:00
  • 1534544bb9 refactor: Change collect/unreceive endpoints to use path parameters instead of JSON body mahdahar 2026-02-11 05:53:55 +07:00
  • 38bb5b58e8 style: Fix indentation in content_requests.php mahdahar 2026-02-11 05:24:51 +07:00
  • 2202770fa7 fix: Update UAT checklist print styles for landscape layout mahdahar 2026-02-10 16:53:36 +07:00
  • 96e031bda1 Fix scrolling across all pages - constrain viewport height and enable overflow scrolling mahdahar 2026-02-10 13:57:21 +07:00
  • 08337b300d feat: Add specimen collection page and improve error handling mahdahar 2026-02-09 13:39:51 +07:00
  • 46dc493af1 feat: Add PDF generation audit tracking and simplify result dialog mahdahar 2026-02-05 14:12:17 +07:00
  • 8b4c71d1a3 feat: Replace PDF retry with direct link and generate dialog mahdahar 2026-02-05 13:23:03 +07:00
  • 440f8b0362 feat: Add UAT checklist HTML version and enhance report generation with collection date support mahdahar 2026-02-05 11:33:29 +07:00
  • cfb81201a2 feat: Implement configurable printer system and enhance UAT workflow mahdahar 2026-02-05 06:21:08 +07:00
  • 0b4fdcfe5f feat: Extend audit trail with tube received tracking and enhance PDF workflow mahdahar 2026-02-04 11:09:42 +07:00
  • a9b387b21f docs: Compact node_spooler README.md (429→308 lines) mahdahar 2026-02-03 11:44:44 +07:00
  • 2843ddd392 Migrate PDF generation from legacy spooler_db to CI4 + node_spooler mahdahar 2026-02-03 11:33:55 +07:00
  • 848d8d663f feat: Extend report access to CS role and refactor report generation mahdahar 2026-02-03 07:26:41 +07:00
  • 31acb6bf33 feat: Implement comprehensive report generation system with role-based access control mahdahar 2026-02-02 16:54:22 +07:00
  • 01908bb002 feat: Implement status-based row coloring and enhance validation dialog mahdahar 2026-02-02 14:27:12 +07:00
  • e649b6c398 update checklist mahdahar 2026-01-26 12:47:56 +07:00
  • be4decb918 update checklist mahdahar 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 mahdahar 2026-01-23 16:41:12 +07:00
  • 8e82cbad52 Merge branch 'haris' of https://github.com/mikael-zakaria/gdc_cmod_v2 into haris ammending commit mahdahar 2026-01-22 18:40:58 +07:00
  • 33ccb976cc Refactor: Consolidate duplicate dashboard views into shared components mahdahar 2026-01-22 17:02:47 +07:00
  • 71f08e2e94 tau ah mahdahar 2026-01-22 17:02:47 +07:00
  • 7ee5332edf add username edit to users page mahdahar 2026-01-22 07:34:19 +07:00
  • 02762bb355 Fix Superuser User Management and Refactor Dashboard Layouts mahdahar 2026-01-21 17:00:05 +07:00
  • 13591da5b4 Update Tampilan Yang beda antara 1 role dengan yang lain mikael-zakaria 2026-01-21 13:32:37 +07:00
  • 207948aeb3 Update semua role pada tempatnya done mikael-zakaria 2026-01-20 10:53:11 +07:00
  • a81a919d68 Update Merge p0_zaka dan Haris mikael-zakaria 2026-01-20 10:00:04 +07:00
  • ddb76d4570 Update Role User (superuser, admin, lab, phlebo, cs) dan pengelompokan controller dan views mikael-zakaria 2026-01-20 09:56:16 +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 mahdahar 2026-01-20 09:53:56 +07:00
  • afc2e14271 Update log_v1 mikael-zakaria 2026-01-19 16:47:53 +07:00
  • e7cacba1c3 feature : - add table sort - add sidebar menu - remove IND, ENG on Preview mahdahar 2026-01-19 16:46:05 +07:00
  • 582faacdad add project_backlog.md mahdahar 2026-01-19 11:21:08 +07:00
  • 2857935545 add TODO.md mahdahar 2026-01-19 11:01:46 +07:00
  • b29f807295 Refactor: Remove V2 namespace and consolidate role-based architecture - Moved all V2 controllers (Lab, Requests, Samples, Users) to App\Controllers - Removed deprecated role controllers (Admin, Doctor, Analyst, CustomerService) - Simplified routes by removing /v2 prefix - Added AGENTS.md with project conventions and TODO.md with task tracking - Updated README.md with RBAC documentation - Fixed hardcoded dates, status color mappings, and duplicate database calls mahdahar 2026-01-19 10:55:10 +07:00
  • 3b9c3dec10 add print dialog, add preview button, add print dropdown button mahdahar 2025-12-16 16:44:25 +07:00
  • d3534e62a1 add change password per user mahdahar 2025-12-10 16:37:51 +07:00
  • 43c8823803 post to prod mahdahar 2025-12-09 14:10:43 +07:00
  • d3703ab653 prework mahdahar 2025-12-08 19:49:35 +07:00
  • 315e2ce400 finish v2 mahdahar 2025-12-06 18:47:56 +07:00
  • 656aef8f7c go go alpine ranger mahdahar 2025-12-05 16:54:55 +07:00
  • 5f6139b85d prework mahdahar 2025-12-05 07:11:43 +07:00
  • cf1e4795b4 Merge branch 'main' of https://github.com/mikael-zakaria/gdc_cmod_v2 mahdahar 2025-12-04 16:54:33 +07:00
  • d4a835fe0b prework mahdahar 2025-12-04 16:54:22 +07:00
  • 4b84f60a6a Pernaikan tampilan CS mikael-zakaria 2025-12-04 15:58:49 +07:00
  • cb0c01fba2 Update ENG & Print2 mikael-zakaria 2025-12-04 15:50:00 +07:00