Changeset View
Changeset View
Standalone View
Standalone View
src/app/Observers/UserObserver.php
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | class UserObserver | ||||
* | * | ||||
* @param \App\User $user The user created. | * @param \App\User $user The user created. | ||||
* | * | ||||
* @return void | * @return void | ||||
*/ | */ | ||||
public function created(User $user) | public function created(User $user) | ||||
{ | { | ||||
$settings = [ | $settings = [ | ||||
'country' => 'CH', | 'country' => \App\Utils::countryForRequest(), | ||||
'currency' => 'CHF', | 'currency' => 'CHF', | ||||
/* | /* | ||||
'first_name' => '', | 'first_name' => '', | ||||
'last_name' => '', | 'last_name' => '', | ||||
'billing_address' => '', | 'billing_address' => '', | ||||
'organization' => '', | 'organization' => '', | ||||
'phone' => '', | 'phone' => '', | ||||
'external_email' => '', | 'external_email' => '', | ||||
▲ Show 20 Lines • Show All 129 Lines • Show Last 20 Lines |