|
|
@ -130,14 +130,14 @@ class Individual extends Component |
|
|
]); |
|
|
]); |
|
|
|
|
|
|
|
|
$user = new User([ |
|
|
$user = new User([ |
|
|
'name' => $this->name, |
|
|
|
|
|
'birthday' => Carbon::createFromFormat('d/m/Y', $this->birthday), |
|
|
|
|
|
'address' => $this->address, |
|
|
'address' => $this->address, |
|
|
'profile' => $this->profile, |
|
|
|
|
|
'document' => $this->document, |
|
|
|
|
|
'discussion' => $this->discussion, |
|
|
|
|
|
|
|
|
'birthday' => Carbon::createFromFormat('d/m/Y', $this->birthday), |
|
|
'contribution' => $this->contribution, |
|
|
'contribution' => $this->contribution, |
|
|
|
|
|
'discussion' => $this->discussion, |
|
|
|
|
|
'document' => $this->document, |
|
|
'email' => $this->email, |
|
|
'email' => $this->email, |
|
|
|
|
|
'name' => $this->name, |
|
|
|
|
|
'profile' => $this->profile, |
|
|
]); |
|
|
]); |
|
|
|
|
|
|
|
|
$user->user_category_id = UserCategory::where('key', 'individual')->first()->id; |
|
|
$user->user_category_id = UserCategory::where('key', 'individual')->first()->id; |
|
|
|