|
|
@ -42,6 +42,7 @@ class Uitslag_model extends CI_Model |
|
|
|
$this->db->from('subgroep'); |
|
|
|
$this->db->from('subgroep'); |
|
|
|
$this->db->where('subgroep.regioid', $this->session->regio); |
|
|
|
$this->db->where('subgroep.regioid', $this->session->regio); |
|
|
|
$this->db->where('subgroep.jaar', date('Y')); |
|
|
|
$this->db->where('subgroep.jaar', date('Y')); |
|
|
|
|
|
|
|
$this->db->where('subgroep.id', $subgroepid); |
|
|
|
$this->db->join('groep', 'subgroep.groepid=groep.id', 'left'); |
|
|
|
$this->db->join('groep', 'subgroep.groepid=groep.id', 'left'); |
|
|
|
|
|
|
|
|
|
|
|
$query = $this->db->get(); |
|
|
|
$query = $this->db->get(); |
|
|
|