public function getVendorList() { $rows = R::getAll("SELECT *FROM user where type= 2 and isactive = 1 order by id DESC limit 200 "); foreach ($rows as $row) { $row['currency'] = L::getBaseCurrencyFromValue($row['currency']); $data[] = $row; } return $data; }