|
@@ 209-223 (lines=15) @@
|
| 206 |
|
} |
| 207 |
|
} |
| 208 |
|
|
| 209 |
|
public function history() { |
| 210 |
|
|
| 211 |
|
if (in_array('CN=DG06,OU=Distribution Groups,OU=Email Groups,OU=Accounts,DC=cant-col,DC=ac,DC=uk', $_SESSION['ldap']['groups']) || |
| 212 |
|
in_array('CN=Dashboard_Estates_Room_Move,OU=Dashboard_Group,OU=Intranet_Group,OU=Groups,DC=cant-col,DC=ac,DC=uk', $_SESSION['ldap']['groups'])) { |
| 213 |
|
|
| 214 |
|
$data = array(); |
| 215 |
|
$data['room_move'] = $this->room_move_model->get_all(); |
| 216 |
|
|
| 217 |
|
$this->load->view('templates/header'); |
| 218 |
|
$this->load->view('computing-support/room-move/history', $data); |
| 219 |
|
$this->load->view('templates/footer'); |
| 220 |
|
} else { |
| 221 |
|
redirect('permissions'); |
| 222 |
|
} |
| 223 |
|
} |
| 224 |
|
|
| 225 |
|
public function check() { |
| 226 |
|
|
|
@@ 235-249 (lines=15) @@
|
| 232 |
|
$this->load->view('templates/footer'); |
| 233 |
|
} |
| 234 |
|
|
| 235 |
|
public function pending() { |
| 236 |
|
|
| 237 |
|
if (in_array('CN=Dashboard_CS_NS,OU=Dashboard_Group,OU=Intranet_Group,OU=Groups,DC=cant-col,DC=ac,DC=uk', $_SESSION['ldap']['groups']) || |
| 238 |
|
in_array('CN=Dashboard_Estates_Room_Move,OU=Dashboard_Group,OU=Intranet_Group,OU=Groups,DC=cant-col,DC=ac,DC=uk', $_SESSION['ldap']['groups'])) { |
| 239 |
|
|
| 240 |
|
$data = array(); |
| 241 |
|
$data['room_move'] = $this->room_move_model->get_pending(); |
| 242 |
|
|
| 243 |
|
$this->load->view('templates/header'); |
| 244 |
|
$this->load->view('computing-support/room-move/pending', $data); |
| 245 |
|
$this->load->view('templates/footer'); |
| 246 |
|
} else { |
| 247 |
|
redirect('permissions'); |
| 248 |
|
} |
| 249 |
|
} |
| 250 |
|
|
| 251 |
|
public function cancel() { |
| 252 |
|
|