FI report images : ps
This commit is contained in:
parent
e0940bff27
commit
37d5f6fa7d
@ -19,6 +19,7 @@ class Template_Management_Controller extends REST_Controller {
|
|||||||
parent::__construct();
|
parent::__construct();
|
||||||
$this->load->model('PD_Model');
|
$this->load->model('PD_Model');
|
||||||
$this->load->model('Template_Management_Model');
|
$this->load->model('Template_Management_Model');
|
||||||
|
$this->load->helper('satellite_image');
|
||||||
$this->external_path = $this->config->item('external_data_path');
|
$this->external_path = $this->config->item('external_data_path');
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -1702,6 +1703,10 @@ class Template_Management_Controller extends REST_Controller {
|
|||||||
$res['msg'] = "Updated";
|
$res['msg'] = "Updated";
|
||||||
$data['uri'] = null;
|
$data['uri'] = null;
|
||||||
}else if($records['pd_document_id'] == "") {
|
}else if($records['pd_document_id'] == "") {
|
||||||
|
if ($records['image_key'] == 'selfie_with_person_met') {
|
||||||
|
$this->PD_Model->updateRecords(array('start_location' => $records['location']), PDTRIGGER, array('pd_id' => $records['pd_id']));
|
||||||
|
satellite_image::getSatelliteImage($records['pd_id']);
|
||||||
|
}
|
||||||
$res = $this->saveBase64Images($records);
|
$res = $this->saveBase64Images($records);
|
||||||
}
|
}
|
||||||
if (!empty($res)) {
|
if (!empty($res)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user