#4 Prevent duplicate customers on create and update

已合并
dcovington 2 周前 将 1 次代码提交从 Unique_Attribute合并至 main
dcovington 评论于 2 周前

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.
dcovington2 周前 关闭
dcovington2 周前 删除了分支 Unique_Attribute
该合并请求已作为 dc2a7d1fe6 被合并。
登陆 并参与到对话中。
未选择标签
未选择里程碑
未指派成员
1 名参与者
到期时间

未设置到期时间。

依赖工单

此合并请求当前没有任何依赖。

正在加载...
取消
保存
这个人很懒,什么都没留下。

Powered by TurnKey Linux.