commit
Showing
... | @@ -133,15 +133,18 @@ public function getExpressData(){ | ... | @@ -133,15 +133,18 @@ public function getExpressData(){ |
$status = $this->Express_model->addExpress($_POST); | $status = $this->Express_model->addExpress($_POST); | ||
if($status['status'] == 1){ | if($status['status'] == 1){ | ||
$profile_id =encode_param($status['profile_id']); | |||
$template = getNotifTemplate(); | $template = getNotifTemplate(); | ||
$to =$_POST['email']; | $to =$_POST['email']; | ||
$sender_email = "[email protected]"; | $sender_email = "[email protected]"; | ||
$data['name']=$_POST['name']; | $data['name']=$_POST['name']; | ||
$data['email']=$_POST['email']; | $data['email']=$_POST['email']; | ||
$data['reg_url']=base_url('Registration_request/editExpresss/'.$profile_id); | |||
$data['registration_mail']=$template['registration_mail']; | $data['registration_mail']=$template['registration_mail']; | ||
$data['password']=$temp_password; | $data['password']=$temp_password; | ||
$mail_head = "Your Access Account is now activated"; | $mail_head = "Your Access Account is now activated"; | ||
if(isset($template['registration_mail']) && !empty($template['registration_mail'])){ | if(isset($template['registration_mail']) && !empty($template['registration_mail'])){ | ||
... | ... |
... | @@ -134,12 +134,13 @@ public function getGarageData(){ | ... | @@ -134,12 +134,13 @@ public function getGarageData(){ |
$status = $this->Garage_model->addGarage($_POST); | $status = $this->Garage_model->addGarage($_POST); | ||
if($status['status'] == 1){ | if($status['status'] == 1){ | ||
$profile_id =encode_param($status['profile_id']); | |||
$template = getNotifTemplate(); | $template = getNotifTemplate(); | ||
$to =$_POST['email']; | $to =$_POST['email']; | ||
$sender_email = "[email protected]"; | $sender_email = "[email protected]"; | ||
$data['name']=$_POST['name']; | $data['name']=$_POST['name']; | ||
$data['email']=$_POST['email']; | $data['email']=$_POST['email']; | ||
$data['reg_url']=base_url('Registration_request/editGarege/'.$profile_id); | |||
$data['registration_mail']=$template['registration_mail']; | $data['registration_mail']=$template['registration_mail']; | ||
$data['password']=$temp_password; | $data['password']=$temp_password; | ||
$mail_head = "Your Access Account is now activated"; | $mail_head = "Your Access Account is now activated"; | ||
... | ... |
... | @@ -134,12 +134,13 @@ public function getPosData(){ | ... | @@ -134,12 +134,13 @@ public function getPosData(){ |
$status = $this->Pos_model->addPos($_POST); | $status = $this->Pos_model->addPos($_POST); | ||
if($status['status'] == 1){ | if($status['status'] == 1){ | ||
$profile_id =encode_param($status['profile_id']); | |||
$template = getNotifTemplate(); | $template = getNotifTemplate(); | ||
$to =$_POST['email']; | $to =$_POST['email']; | ||
$sender_email = "[email protected]"; | $sender_email = "[email protected]"; | ||
$data['name']=$_POST['name']; | $data['name']=$_POST['name']; | ||
$data['email']=$_POST['email']; | $data['email']=$_POST['email']; | ||
$data['reg_url']=base_url('Registration_request/editPos/'.$profile_id); | |||
$data['registration_mail']=$template['registration_mail']; | $data['registration_mail']=$template['registration_mail']; | ||
$data['password']=$temp_password; | $data['password']=$temp_password; | ||
$mail_head = "Your Access Account is now activated"; | $mail_head = "Your Access Account is now activated"; | ||
... | ... |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
admin/application/views/Regpos_request.php
0 → 100644
This diff is collapsed.
Click to expand it.
admin/application/views/login2.php
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
File added
4.18 KB
4.18 KB
4.18 KB
4.18 KB
27.1 KB
4.18 KB
4.18 KB
File added
27.1 KB
4.18 KB
4.18 KB
File added
File added
4.18 KB
4.18 KB
File added
File added
File added
4.18 KB
4.18 KB
27.1 KB
File added
27.1 KB
27.1 KB
27.1 KB
27.1 KB
File added
This diff is collapsed.
Click to expand it.
4.18 KB
pos/application/controllers/Dashboard.php
0 → 100644