#4 Prevent duplicate customers on create and update

Samengevoegd
dcovington heeft 1 commits samengevoegd van Unique_Attribute naar main 2 weken geleden

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 weken geleden
The pull request has been merged as dc2a7d1fe6.
Log in om deel te nemen aan deze discussie.
Geen label
Geen mijlpaal
Niet toegewezen
1 deelnemers
Vervaldatum

Geen vervaldatum ingesteld.

Afhankelijkheden

This pull request currently doesn't have any dependencies.

Laden…
Annuleren
Opslaan
Er is nog geen inhoud.

Powered by TurnKey Linux.