Merge branch 'master' of https://bitbucket.org/venbainformationtechnology/apollodec
This commit is contained in:
commit
40a50d448a
@ -318,7 +318,8 @@ class StatusUpdation_model extends CI_Model {
|
||||
$getSemYearMsg = $this->get_couser_sem_yr_msg($arr[0]['CourseID']);
|
||||
$getSemYearANDType = "$getSemYearMsg $cerNamtToMsg";
|
||||
// $mesg = "Status Update : $cerNamtToMsg $getSemYearMsg - $statuToMsg $dateToMsg.";
|
||||
$mesg = "$cerNamtToMsg Received - Dear $studentName, Your $getSemYearANDType had been received.";
|
||||
// $mesg = "$cerNamtToMsg Received - Dear $studentName, Your $getSemYearANDType had been received.";
|
||||
$mesg = "Answer booklet Received - Dear $studentName, Your answer booklet for $getSemYearANDType has been received.";
|
||||
$this->smssend($arr, $mesg);
|
||||
$this->mailsend($arr, $mesg, $cerNamtToMsg);
|
||||
$result['addStatus'] = true;
|
||||
@ -590,11 +591,11 @@ class StatusUpdation_model extends CI_Model {
|
||||
$this->load->library('email');
|
||||
//SMTP & mail configuration
|
||||
$config = array(
|
||||
'protocol' => 'ssmtp',
|
||||
'smtp_host' => 'ssl://smtp.example.com',
|
||||
'smtp_port' => 465,
|
||||
'smtp_user' => 'noreply@apollodec.com',
|
||||
'smtp_pass' => 'Apollo@123',
|
||||
'protocol' => 'smtp',
|
||||
'smtp_host' => 'smtp.sendgrid.net',
|
||||
'smtp_port' => 25,
|
||||
'smtp_user' => 'apikey',
|
||||
'smtp_pass' => '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',
|
||||
'mailtype' => 'html',
|
||||
'charset' => 'utf-8'
|
||||
);
|
||||
|
||||
@ -540,7 +540,7 @@ $scope.disableSendButton = true;
|
||||
swal(" ", response.data.message, "success");
|
||||
// swal(" ", "Status added successfully.", "success");
|
||||
$scope.initgroup()
|
||||
$state.go($state.current, {}, { reload: true });
|
||||
//$state.go($state.current, {}, { reload: true });
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -897,7 +897,8 @@ if(group == '')
|
||||
swal(" ", response.data.message, "success");
|
||||
// swal(" ", "Status added successfully.", "success");
|
||||
$scope.initgroup()
|
||||
$state.go($state.current, {}, { reload: true });
|
||||
myModel.GroupName = '';
|
||||
// $state.go($state.current, {}, { reload: true });
|
||||
} else {
|
||||
|
||||
swal(" ", response.data.message, "error");
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
Phone Number<span class="symbol required"></span>
|
||||
</label>
|
||||
|
||||
<input type="text" placeholder="Enter Phone Number" tabindex="1" class="form-control" name="Phone" id="Phone" ng-model="p.ListName" ng-pattern="/^[0-9-+]*$/" minlength="6" maxlength="13"/>
|
||||
<input type="text" placeholder="Enter Phone Number" tabindex="1" class="form-control" name="Phone" id="Phone" ng-model="p.ListName" ng-pattern="/^[0-9-+]*$/" minlength="10" maxlength="13"/>
|
||||
<!-- <span class="error text-small block" ng-if="Form.ListName.$dirty && Form.ListName.$error.required">Phone number required</span> -->
|
||||
|
||||
<span class="error text-small block" ng-if="Form.ListName.$dirty && Form.ListName.$error.pattern && Form.ListName.$error.minlength && Form.ListName.$error.maxlength">Phone number required </span>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user