Please check if the PR fulfills these requirements:
[X] After these changes, the app was run and still works as expected
[X] Tests for these changes were added (if applicable)
[X] All existing unit tests were run and still pass
Please specify the type of change this PR introduces (Bug fix, feature addition, content update, chore, etc.):
--All fields except the Plan Reference Number are optional in the CSR form for both Pay Patient and Pay Practitioner
--To elaborate: they have been made Not Required in their validators, and any additional validations have been set to optional (eg. they only apply if there is input in the field)
--Added end-to-end tests to check that optional fields are, indeed, optional in the CSR version
--Fixes bug in ReviewTableList where empty store input would cause a reference error
--Puts API Service call in an if block so it only runs if not CSR
--It only flags a validation error for isContainingNoChargeFeeItem if not CSR path
--Changes some validators to account for CSR status (hospitalVisitDateValidator + Past Validator and FutureValidator)
Please check if the PR fulfills these requirements:
Please specify the type of change this PR introduces (Bug fix, feature addition, content update, chore, etc.):
--All fields except the Plan Reference Number are optional in the CSR form for both Pay Patient and Pay Practitioner --To elaborate: they have been made Not Required in their validators, and any additional validations have been set to optional (eg. they only apply if there is input in the field) --Added end-to-end tests to check that optional fields are, indeed, optional in the CSR version --Fixes bug in ReviewTableList where empty store input would cause a reference error --Puts API Service call in an if block so it only runs if not CSR --It only flags a validation error for isContainingNoChargeFeeItem if not CSR path --Changes some validators to account for CSR status (hospitalVisitDateValidator + Past Validator and FutureValidator)
Additional Notes:
Refers to CLMWEBDE-84