sms based on statusupdation
This commit is contained in:
parent
8c2cb30ba1
commit
4183bb6839
@ -129,7 +129,11 @@ $getlastansbookstatus = $this->GetLastAns_status($arr[0]['StudentID'],$arr[0]['S
|
|||||||
|
|
||||||
$upperresult=strtoupper($getlastansbookstatus);
|
$upperresult=strtoupper($getlastansbookstatus);
|
||||||
|
|
||||||
// echo $upperresult;
|
$UpperstatusToMsg = strtoupper($upperresult);
|
||||||
|
|
||||||
|
$WithoutspaceStatus = preg_replace('/\s+/', '', $UpperstatusToMsg);
|
||||||
|
|
||||||
|
// echo $WithoutspaceStatus;
|
||||||
// die();
|
// die();
|
||||||
if($answerBookletStatus['isIssueToStudentExist'] == 0 && $answerBookletStatus['statusCount'] != 0)
|
if($answerBookletStatus['isIssueToStudentExist'] == 0 && $answerBookletStatus['statusCount'] != 0)
|
||||||
{
|
{
|
||||||
@ -139,9 +143,10 @@ $upperresult=strtoupper($getlastansbookstatus);
|
|||||||
$studentName = $this->getStudentName($arr[0]['StudentID']);
|
$studentName = $this->getStudentName($arr[0]['StudentID']);
|
||||||
$CmntToMsg = $arr[0]['Comments'];
|
$CmntToMsg = $arr[0]['Comments'];
|
||||||
$statuToMsg = $this->get_status_name_ListCode($arr[0]['ListCode']);
|
$statuToMsg = $this->get_status_name_ListCode($arr[0]['ListCode']);
|
||||||
//echo $latestappstatus;die();
|
|
||||||
|
//echo $statuToMsg;die();
|
||||||
// $cerNamtToMsg = $this->get_certificate_name($arr[0]['CertificationType']);
|
// $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();
|
// echo 'if';die();
|
||||||
@ -367,8 +372,15 @@ $upperresult=strtoupper($getlastansbookstatus);
|
|||||||
$this->updateBookletStatusInCallTrack($arr, $reqDetails);
|
$this->updateBookletStatusInCallTrack($arr, $reqDetails);
|
||||||
$studentName = $this->getStudentName($arr[0]['StudentID']);
|
$studentName = $this->getStudentName($arr[0]['StudentID']);
|
||||||
$statuToMsg = $this->get_status_name_ListCode($arr[0]['ListCode']);
|
$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']);
|
// $cerNamtToMsg = $this->get_certificate_name($arr[0]['CertificationType']);
|
||||||
if( $statuToMsg == 'received' || $statuToMsg == 'Received' || $statuToMsg == 'RECEIVED'){
|
if( $WithoutspaceStatus = 'RECEIVEDFROMSTUDENT'){
|
||||||
$cerNamtToMsg = 'Answer booklet';
|
$cerNamtToMsg = 'Answer booklet';
|
||||||
$getSemYearMsg = $this->get_couser_sem_yr_msg($arr[0]['CourseID']);
|
$getSemYearMsg = $this->get_couser_sem_yr_msg($arr[0]['CourseID']);
|
||||||
$getSemYearANDType = "$getSemYearMsg";
|
$getSemYearANDType = "$getSemYearMsg";
|
||||||
|
|||||||
@ -568,10 +568,17 @@ app.controller('dashboardCtrl', ["$scope", "$rootScope", "toaster", "$filter", "
|
|||||||
$scope.showRowLines = true;
|
$scope.showRowLines = true;
|
||||||
$scope.rowAlternationEnabled = true;
|
$scope.rowAlternationEnabled = true;
|
||||||
$scope.adYeargrid = {
|
$scope.adYeargrid = {
|
||||||
|
|
||||||
showBorders: true,
|
showBorders: true,
|
||||||
columnAutoWidth: true,
|
columnAutoWidth: true,
|
||||||
//columnWidth: 100,
|
//columnWidth: 100,
|
||||||
|
|
||||||
|
caption: {
|
||||||
|
title: 'DAYBOOK DETAILS',
|
||||||
|
width: '300px',
|
||||||
|
style: 'font-size:50px;color:blue;'
|
||||||
|
},
|
||||||
|
|
||||||
"export": {
|
"export": {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
fileName: "AdmissionsYear",
|
fileName: "AdmissionsYear",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user