Skip to content

Commit

Permalink
Merge pull request #3073 from CihanSenturk/fix-contact-person-duplica…
Browse files Browse the repository at this point in the history
…te-issue

Fixed contact person duplicate issue
  • Loading branch information
cuneytsenturk committed Oct 18, 2023
2 parents b0adafe + 86b9d69 commit 34c4676
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/Models/Common/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ class Contact extends Model
*/
public $sortable = ['name', 'email', 'phone', 'enabled'];

/**
* @var array
*/
public $cloneable_relations = ['contact_persons'];

/**
* The "booted" method of the model.
*
Expand Down

0 comments on commit 34c4676

Please sign in to comment.