public function read() { $ret = parent::read(); $ret['percent'] = round($ret['current'] / $ret['steps'] * 100); return $ret; }
public function read() { $ret = parent::read(); $ret['percent'] = round($ret['current'] / $ret['steps'] * 100); return $ret; }