Addressed the issue where enabling one tax list caused the previously enabled tax list to become default. Also, ensured that only one tax list can be set as default at a time by updating the logic to clear the default status of existing default tax modes before setting a new one as default.
1062
Steps to Test
Create tax list and try to toggle enable and default options
Checklist
[ ] I have tested these changes
[ ] I have updated the relevant documentation
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the codebase
[ ] My changes generate no new warnings or errors
[ ] The title of my pull request is clear and descriptive
Description
Addressed the issue where enabling one tax list caused the previously enabled tax list to become default. Also, ensured that only one tax list can be set as default at a time by updating the logic to clear the default status of existing default tax modes before setting a new one as default.
1062
Steps to Test
Checklist