sms based on statusupdation

This commit is contained in:
venbatechnologies@gmail.com 2018-11-01 15:31:07 +05:30
parent 8c2cb30ba1
commit 4183bb6839
2 changed files with 24 additions and 5 deletions

View File

@ -129,8 +129,12 @@ $getlastansbookstatus = $this->GetLastAns_status($arr[0]['StudentID'],$arr[0]['S
$upperresult=strtoupper($getlastansbookstatus);
// echo $upperresult;
// die();
$UpperstatusToMsg = strtoupper($upperresult);
$WithoutspaceStatus = preg_replace('/\s+/', '', $UpperstatusToMsg);
// echo $WithoutspaceStatus;
// die();
if($answerBookletStatus['isIssueToStudentExist'] == 0 && $answerBookletStatus['statusCount'] != 0)
{
//echo "SEND SMS";
@ -139,9 +143,10 @@ $upperresult=strtoupper($getlastansbookstatus);
$studentName = $this->getStudentName($arr[0]['StudentID']);
$CmntToMsg = $arr[0]['Comments'];
$statuToMsg = $this->get_status_name_ListCode($arr[0]['ListCode']);
//echo $latestappstatus;die();
//echo $statuToMsg;die();
// $cerNamtToMsg = $this->get_certificate_name($arr[0]['CertificationType']);
if( ($statuToMsg == 'received' || $statuToMsg == 'Received' || $statuToMsg == 'RECEIVED') && $upperresult == 'RECEIVED'){
if( ($statuToMsg == 'received' || $statuToMsg == 'Received' || $statuToMsg == 'RECEIVED') && $upperresult == 'RECEIVEDFROMSTUDENT'){
// echo 'if';die();
@ -367,8 +372,15 @@ $upperresult=strtoupper($getlastansbookstatus);
$this->updateBookletStatusInCallTrack($arr, $reqDetails);
$studentName = $this->getStudentName($arr[0]['StudentID']);
$statuToMsg = $this->get_status_name_ListCode($arr[0]['ListCode']);
$UpperstatusToMsg = strtoupper($statuToMsg);
$WithoutspaceStatus = preg_replace('/\s+/', '', $UpperstatusToMsg);
//echo $WithoutspaceStatus;die();
// $cerNamtToMsg = $this->get_certificate_name($arr[0]['CertificationType']);
if( $statuToMsg == 'received' || $statuToMsg == 'Received' || $statuToMsg == 'RECEIVED'){
if( $WithoutspaceStatus = 'RECEIVEDFROMSTUDENT'){
$cerNamtToMsg = 'Answer booklet';
$getSemYearMsg = $this->get_couser_sem_yr_msg($arr[0]['CourseID']);
$getSemYearANDType = "$getSemYearMsg";

View File

@ -568,10 +568,17 @@ app.controller('dashboardCtrl', ["$scope", "$rootScope", "toaster", "$filter", "
$scope.showRowLines = true;
$scope.rowAlternationEnabled = true;
$scope.adYeargrid = {
showBorders: true,
columnAutoWidth: true,
//columnWidth: 100,
caption: {
title: 'DAYBOOK DETAILS',
width: '300px',
style: 'font-size:50px;color:blue;'
},
"export": {
enabled: true,
fileName: "AdmissionsYear",