Fixed User set locale, but not working translation

This commit is contained in:
Cüneyt Şentürk
2021-06-15 14:46:18 +03:00
parent 33877c90d2
commit d63c09c17f
7 changed files with 10 additions and 8 deletions

View File

@ -29,13 +29,13 @@ class Modules extends Seeder
Artisan::call('module:install', [
'alias' => 'offline-payments',
'company' => $company_id,
'locale' => session('locale', app()->getLocale()),
'locale' => session('locale', company($company_id)->locale),
]);
Artisan::call('module:install', [
'alias' => 'paypal-standard',
'company' => $company_id,
'locale' => session('locale', app()->getLocale()),
'locale' => session('locale', company($company_id)->locale),
]);
}
}