Product EngineeringFeaturesOrder SplitFrontend

Overview

Overview of UI architecture, modal workflow, Redux dependencies, and split interaction behavior in Order Update.

👤 Sachin Sharma, Nilesh Bhusari📅 Updated: Mar 24, 2026🏷️ feature🏷️ frontend🏷️ react🏷️ redux

Overview

This section describes frontend behavior for Order Split in livehealth-frontend.

Frontend implementation focuses on:

  • Entry point action in Order Update footer.
  • Split modal selection and API submission flow.
  • Client-side guards before split submit.
  • Redux state refresh after successful split.

Core responsibilities

Split entry and user interaction

  • Exposes split action from BillUpdateFooter.
  • Opens SplitOrderModal using existing footer modal lifecycle.

Selection and request construction

  • Allows selection of test rows to move.
  • Accepts optional destination source.
  • Sends bill_id, test_ids, and new_source to backend.

Result handling and refresh

  • Shows success/failure user alerts.
  • Refreshes billed-user test list.
  • Updates Redux bill data and closes the split flow on success.

Frontend pages in this section

On this page