CAPTURE THREE LOCATIONS

This commit is contained in:
velz 2019-01-17 11:20:06 +05:30
parent 437f600a74
commit 796cb60f49

View File

@ -533,12 +533,15 @@ class PD_Controller extends REST_Controller {
unset($pd_details['mobile_no']);
unset($pd_details['firstName']);
unset($pd_details['officerName']);
$pd_details['initiate_location'] = $pd_details['link'];
unset($pd_details['link']);
$this->aws_sns->sendSMS($msg,$no);
}
if($pd_details['pd_status'] == STARTED)
{
$pd_details['start_location'] = $pd_details['link'];
unset($pd_details['link']);
$string2 = str_shuffle('1234567890');
$OTP = substr($string2,0,6);
$msg = "Code for starting your personal discussions with the verification officer is ".$OTP .". Pls share this only when the officer has reached your place in person";
@ -549,6 +552,11 @@ class PD_Controller extends REST_Controller {
}
if($pd_details['pd_status'] == COMPLETED)
{
$pd_details['complete_location'] = $pd_details['link'];
}
if($pd_details['pd_status'] == TRIGGERED)
{