Commit 673381ec by Jansa Jose

Merge branch 'master' into 'local_production'

get near mechanice See merge request !123
parents 00eb221f 3596d5a2
......@@ -454,7 +454,7 @@ class Webservice_model extends CI_Model {
return 0;
}
foreach ($mechData as $key => $value) {
$mechData[$key]['distance'] = (float)$value['distance'];
$mechData[$key]['distance'] = round((float)$value['distance'],2);
$mechData[$key]['review'] = [];
$this->db->order_by('id','DESC');
$this->db->limit('2','0');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment