mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-19 04:23:59 +00:00
big commit
This commit is contained in:
@@ -12,7 +12,7 @@ class CreatesCompanyConnection
|
||||
public function execute(ConnectionObject $connection){
|
||||
$connection->getInviter()->connections()->attach($connection->getInvitee(),
|
||||
[
|
||||
'marking' => mt_rand(100, 999).(new GeneratesInitials())->name($connection->getInviter()->company->name)->length(3)->generate(),
|
||||
'marking' => mt_rand(3000, 9999).(new GeneratesInitials())->name($connection->getInviter()->company->name)->length(3)->generate(),
|
||||
'status' => ConnectionStatus::APPROVED,
|
||||
'instigator' => $connection->getInvitee()->id
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user