#4 Prevent duplicate customers on create and update

Unito
dcovington ha unito 1 commit da Unique_Attribute a main 2 settimane fa
dcovington 2 settimane fa ha commentato

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 branch Unique_Attribute eliminato 2 settimane fa
The pull request has been merged as dc2a7d1fe6.
Effettua l'accesso per partecipare alla conversazione.
Nessuna etichetta
Nessuna milestone
No Assignees
1 Partecipanti
Data di scadenza

Nessuna data di scadenza impostata.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
Annulla
Salva
Non ci sono ancora contenuti.

Powered by TurnKey Linux.