|
|
@@ -181,4 +181,19 @@ class WithdrawList extends \common\libs\dataList\DataList implements DataListInt
|
|
|
}
|
|
|
return $this->filterTypes;
|
|
|
}
|
|
|
+
|
|
|
+ public function getCountry()
|
|
|
+ {
|
|
|
+ $countries = Countries::getFromCache();
|
|
|
+
|
|
|
+ $data = [];
|
|
|
+ foreach ($countries as $country) {
|
|
|
+ $data[] = [
|
|
|
+ 'id' => $country['ID'],
|
|
|
+ 'name' => $country['NAME'],
|
|
|
+ ];
|
|
|
+ }
|
|
|
+
|
|
|
+ return $data;
|
|
|
+ }
|
|
|
}
|