dashboard/application/models/computing-support/Ownership_model.php 1 location
|
@@ 47-52 (lines=6) @@
|
| 44 |
|
return $query->result_array(); |
| 45 |
|
} |
| 46 |
|
|
| 47 |
|
public function email_id($staff_full) { |
| 48 |
|
$this->db->select('email'); |
| 49 |
|
$this->db->where('full_name', $staff_full); |
| 50 |
|
$query = $this->db->get('users_ad'); |
| 51 |
|
return $query->result_array(); |
| 52 |
|
} |
| 53 |
|
|
| 54 |
|
public function approve($id) { |
| 55 |
|
|
dashboard/application/models/computing-support/Private_drive_model.php 1 location
|
@@ 62-68 (lines=7) @@
|
| 59 |
|
return $query->result_array(); |
| 60 |
|
} |
| 61 |
|
|
| 62 |
|
public function get_email_approver($full_name) { |
| 63 |
|
|
| 64 |
|
$this->db->select('email'); |
| 65 |
|
$this->db->from('users_ad'); |
| 66 |
|
$this->db->where('full_name', $full_name); |
| 67 |
|
return $this->db->get()->row('email'); |
| 68 |
|
} |
| 69 |
|
|
| 70 |
|
public function cancel($id) { |
| 71 |
|
|