fix
This commit is contained in:
@@ -71,10 +71,16 @@ class Practice extends Admin_Controller {
|
||||
|
||||
public function resendEmail() {
|
||||
|
||||
$this->load->model('backend_model');
|
||||
$out = array();
|
||||
|
||||
$data['pending_practice_id'] = trim($this->input->get('pending_practice_id'));
|
||||
echo "Sending " . $data['pending_practice_id'];
|
||||
echo "..Sending.."; // . $data['pending_practice_id'];
|
||||
$data['action'] = MERMS_PROVIDERS_RESNDSTARTLNK;
|
||||
$data['practice_pending_id'] = $data['pending_practice_id'];
|
||||
$res = $this->backend_model->mermsemr_api($data, $out);
|
||||
echo "Completed " ;
|
||||
|
||||
// return false;
|
||||
}
|
||||
|
||||
public function selectPracticeAction() {
|
||||
@@ -110,6 +116,7 @@ class Practice extends Admin_Controller {
|
||||
$pending_practice_id = $data['pending_practice_id'] = trim($this->input->get('pending_practice_id'));
|
||||
$this->load->model('Practice_model');
|
||||
$data = $this->Practice_model->loadPendingPractice($pending_practice_id);
|
||||
$data['pending_id'] =$pending_practice_id; // needed on button actions
|
||||
$this->load->view('practice/parts/view_pending.php', $data);
|
||||
}
|
||||
|
||||
@@ -132,6 +139,16 @@ class Practice extends Admin_Controller {
|
||||
$this->renderPracticePage('view_practice', $data);
|
||||
}
|
||||
|
||||
|
||||
public function rejectPracticeSignup(){
|
||||
|
||||
echo 'User Rejected and Removed from Signup';
|
||||
|
||||
}
|
||||
|
||||
public function approvePracticeSignup(){
|
||||
echo 'User Approval Process Started';
|
||||
}
|
||||
protected function renderPracticePage($page_name, $data) {
|
||||
$this->load->view('template/secure_header', $data);
|
||||
$this->load->view('practice/' . $page_name, $data);
|
||||
|
||||
Reference in New Issue
Block a user