on CC, under "Drivers" > "Banking details", when a user tries to update a driver's banking details, the Command centre creates another an additional banking profile instead of updating the edited one. And when a user creates new banking details, the CC duplicates the newly created details.
Expected Behavior
on CC, under "Drivers" > "Banking details", when a user tries to update a driver's banking details, the CC should only update the banking details that are being edited. And when a user creates new banking details, the CC should only create one banking profile (instead of duplicated ones)
Steps to Reproduce
Log into CC
Click on drivers
Click on Banking details
Try to update banking details or create new banking details
Current Behavior
on CC, under "Drivers" > "Banking details", when a user tries to update a driver's banking details, the Command centre creates another an additional banking profile instead of updating the edited one. And when a user creates new banking details, the CC duplicates the newly created details.
Expected Behavior
on CC, under "Drivers" > "Banking details", when a user tries to update a driver's banking details, the CC should only update the banking details that are being edited. And when a user creates new banking details, the CC should only create one banking profile (instead of duplicated ones)
Steps to Reproduce
Reproduction Link
https://dashboard.lulaloop.co.za/drivers/49
What browsers are you seeing the problem on?
Safari
Screenshot (Optional)
https://github.com/user-attachments/assets/874bc713-c135-40d3-892e-e2f75e3fbc21
Additional Information
https://github.com/user-attachments/assets/bcdb4474-380a-4591-8f0d-80aef55b2a5d