Patch doctor_fullname and doctor_id directly in selected_transaction.details
and transactions using prm.selected_doctor from the existing action payload.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
test.status in template comes from selected_transaction.details[*].status,
not from selected_transaction.status. Update details array too via shared
_applyStatusUpdate action.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Same pattern as savefisik — use So_ResultEntryID and
So_ResultEntryStatus from response to patch the list item
without re-fetching.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
No BE change needed — records already contains So_ResultEntryID
and So_ResultEntryStatus. Map status to status_name on FE side.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Backend now returns updated_trx (re_id, status, status_name) in
savefisik response. Frontend uses it to patch just the affected
item in the transaction list, removing the costly search+get_details
round-trip on every save.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
normal flag was set whenever perut_18 existed in details array,
not when it was actually checked — causing perut_15/perut_16 chx
to always be forced false on save.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>