Commit 7553a26d by 张立顺

docs: define customer updatedDate submit cleanup

1 parent 6377c87c
# Remove customer.updatedDate from create-order submissions
## Goal
The create-order page must omit `customer.updatedDate` from every order submission request while leaving the page's customer archive data unchanged.
## Design
Add `updatedDate` to the existing `SUBMIT_CUSTOMER_PROPERTIES_TO_DELETE` list in `submitPayload.helpers.js`. `buildSubmitPayload` already deep-clones `orderObj` and removes the listed customer properties at the final request serialization boundary, so the page state and customer profile echo remain untouched.
This applies consistently to normal payment, prerecorded, correction, and supplement submissions because all of them use the same payload builder. Root-level `updatedDate` continues to be removed by the existing root cleanup rule.
## Verification
Extend the submit-payload unit test fixture with `customer.updatedDate` and assert that the generated request omits it while preserving an unrelated customer field. Run the focused unit test, the create-order test suite, and the full work-order verification suite.
## Out of scope
- Changing customer archive data in page state.
- Removing other customer fields.
- Changing API selection or submission routing.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!