devsofttech_hms_ci4/app/Views
DevSoftTech Server 82b7b27273 fix(abha): persist OTP-verified mobile number when bridge response omits it
Abha::verifyOtp() and Abha::verifyCommOtp() were overwriting the
user-typed, OTP-verified mobile number with whatever the ABDM bridge's
verify-otp response echoed back for 'mobile'. Many bridge responses
(especially plain mobile-OTP verification, as opposed to Aadhaar eKYC)
do not echo the mobile at all, so it silently became empty and was
never saved to patient_master.mphone1 during ABHA Register (By ABHA
Number / QR / Facility QR / Mobile OTP) or ABHA Create/Verify.

Fix: fall back to the originally submitted/verified mobile when the
gateway response omits it. Also updated Patient_V.php JS (Verify ABHA
tab, ABHA Register Method 1 and Method 4) to resend the mobile number
along with the verify_comm_otp call so the server has it available.

Address/email are unaffected by this bug: those fields are already
mapped via applyAbhaMetaColumns() when present, but the ABDM mobile-OTP
verification API generally doesn't return KYC demographic data (that
only comes from the Aadhaar-eKYC flow) - so they may legitimately
stay blank for phone-based registration methods.
2026-07-29 13:52:07 +05:30
..
abdm Fix invalid ABDM HIType codes (HealthDocument->HealthDocumentRecord, Wellness->WellnessRecord) causing consent_request 400; fix extractErrorText for array-shaped bridge error responses 2026-07-28 22:16:22 +05:30
abha Update ABHA card branding assets 2026-07-25 22:26:28 +05:30
account Add dedicated Save Settings button for user preferences 2026-04-28 13:54:46 +05:30
auth Add dark border theme for better visibility on old LED screens 2026-06-05 16:10:38 +05:30
billing fix(abha): persist OTP-verified mobile number when bridge response omits it 2026-07-29 13:52:07 +05:30
dashboard Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
diagnosis Implement ABDM bridge health record flows 2026-07-20 03:02:09 +05:30
doctor_document Add patient immunization module 2026-07-19 00:41:12 +05:30
errors Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
finance feat: ABDM OPD Queue + ABHA Register flow + patient ABHA search fix 2026-05-16 04:21:31 +05:30
immunization Add E-Atria immunization master sync 2026-07-19 01:00:43 +05:30
Invoice Handle no-records cleanly without DataTable warning in Invoice lists 2026-07-10 00:45:07 +05:30
ipd_discharge Add IPD Discharge search functionality with AJAX 2026-06-06 14:43:10 +05:30
ipd_nursing feat: Complete bed management system with transfer and time tracking 2026-06-09 08:39:48 +05:30
medical Pharmacy product edit: debounce and cancel drug autocomplete requests 2026-07-23 12:11:28 +05:30
org_packing Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
partials Replace ABDM HIU M3 sidebar console with global ABHA Patient Request List (Phase 3 across all patients) 2026-07-28 17:06:41 +05:30
PathLab_Report Improve radiology template workflow and editor stability 2026-05-30 18:01:20 +05:30
report Implement medical store credit payout workflow and optimize payout pool DataTable grouping 2026-04-30 01:42:03 +05:30
Setting ABDM Gateway settings: add admin UI toggle for SSL certificate verification 2026-07-28 03:47:06 +05:30
setup Fix: {{advice}} prints as-is (no Hindi/AI conversion); fix Schema Diff truncation 2026-04-16 12:31:42 +05:30
storestock feat: update storestock flow and ABDM bridge handling 2026-06-18 17:38:20 +05:30
tools feat: OPD speech-to-text mic, medicine label enhancements & template search 2026-03-30 18:46:33 +05:30
welcome_message.php Fix duplicate load_form execution and undefined OPD navigation 2026-07-10 22:46:49 +05:30