sign up country selection settings added

This commit is contained in:
Muammer Top 2020-10-13 17:43:10 +03:00
parent 8ff6179572
commit 779c4e5bd2

View File

@ -1,5 +1,5 @@
<?php
use Visiosoft\LocationModule\Country\CountryRepository;
use \Visiosoft\LocationModule\Country\CountryModel;
return [
'navigation_title' => [
'type' => 'anomaly.field_type.boolean',
@ -82,7 +82,7 @@ return [
return [config('visiosoft.theme.base::countries.default')];
},
'options' => function () {
$array = \Visiosoft\LocationModule\Country\CountryModel::query()->get();
$array = CountryModel::query()->get();
$cur = array();
foreach ($array as $key => $value) {
$cur[$value['abv']] = $value['name'];