#4 Prevent duplicate customers on create and update

Sammanfogat
dcovington sammanfogade 1 incheckningar från Unique_Attribute in i main 2 veckor sedan

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 tog bort grenen Unique_Attribute 2 veckor sedan
The pull request has been merged as dc2a7d1fe6.
Logga in för att delta i denna konversation.
Ingen Etikett
Ingen Milsten
No Assignees
1 Deltagare
Förfallodatum

Inget förfallodatum satt.

Beroenden

This pull request currently doesn't have any dependencies.

Laddar…
Avbryt
Spara
Det finns inget innehåll än.

Powered by TurnKey Linux.