#4 Prevent duplicate customers on create and update

Yhdistetty
dcovington yhdistetty 1 committia lähteestä Unique_Attribute kohteeseen main 2 viikkoa sitten

Adds CustomerRepository::findDuplicate() which checks for an existing record with the same customer_type_id and attribute_values before any write. The update path excludes the current record so saving without changes does not trigger a false positive. Both the create and edit forms now display a linked error banner identifying the conflicting customer by ID and type name.

Adds CustomerRepository::findDuplicate() which checks for an existing record with the same customer_type_id and attribute_values before any write. The update path excludes the current record so saving without changes does not trigger a false positive. Both the create and edit forms now display a linked error banner identifying the conflicting customer by ID and type name.
dcovington deleted branch Unique_Attribute 2 viikkoa sitten
The pull request has been merged as dc2a7d1fe6.
Sign in to join this conversation.
Ei tunnistetta
Ei merkkipaalua
No Assignees
1 osallistujaa
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
Peruuta
Tallenna
Sisältöä ei vielä ole.

Powered by TurnKey Linux.