Browse Source

Subgroepnummer bij overzicht.

master
Rogier Neeleman 8 years ago
parent
commit
1bdfce48b3
  1. 2
      application/models/Edit_model.php
  2. 2
      application/views/edit_score.php

2
application/models/Edit_model.php

@ -52,7 +52,7 @@ class Edit_model extends CI_Model
public function get_subgroepen() public function get_subgroepen()
{ {
$this->db->select('id, naam, themanaam'); $this->db->select('id, naam, themanaam, nummer');
$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'));

2
application/views/edit_score.php

@ -21,7 +21,7 @@
<tbody> <tbody>
<?php foreach ($subgroepen as $subgroep) {?> <?php foreach ($subgroepen as $subgroep) {?>
<tr> <tr>
<td><?php echo $subgroep['themanaam']; ?></td> <td><?php echo '('.$subgroep['nummer'].') '.$subgroep['themanaam']; ?></td>
<?php foreach ($vragen as $vraag) { ?> <?php foreach ($vragen as $vraag) { ?>
<td> <td>

Loading…
Cancel
Save