Updated Map View
This commit is contained in:
1 parent
6fad966b7e
commit
05ca994253
52 files changed
+2038
-803
No files matched your search
@@ -17,4 +17,13 @@ class Country extends Model
|
||||
{
|
||||
return $this->hasMany(Region::class);
|
||||
}
|
||||
|
||||
function sortedRegions(): array
|
||||
{
|
||||
return $this
|
||||
->regions()
|
||||
->orderBy('name')
|
||||
->get()
|
||||
->toArray();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user