ENTITY PD FIXED3
This commit is contained in:
parent
6de3331064
commit
4e3ce4f11c
@ -139,10 +139,12 @@ class Entity_Management_Controller extends REST_Controller {
|
|||||||
{
|
{
|
||||||
foreach($entity_child as $child)
|
foreach($entity_child as $child)
|
||||||
{
|
{
|
||||||
if($child['entity_child_id'] != "" ||$child['entity_child_id'] != null)
|
if($child['entity_child_id'] != "" || $child['entity_child_id'] != null)
|
||||||
(
|
(
|
||||||
$entity_child_array = array('contact_person'=>$child['contact_person'],'contact_email'=>$child['contact_email'],'contact_mobile_no'=>$child['contact_mobile_no'],'fk_entity_id'=>$entity_id,'updatedon'=>$records['updatedon'],'fk_updatedby'=>$records['fk_updatedby'],'isactive'=>$child['isactive']);
|
$entity_child_array = array('contact_person'=>$child['contact_person'],'contact_email'=>$child['contact_email'],'contact_mobile_no'=>$child['contact_mobile_no'],'fk_entity_id'=>$entity_id,'updatedon'=>$records['updatedon'],'fk_updatedby'=>$records['fk_updatedby'],'isactive'=>$child['isactive']);
|
||||||
|
|
||||||
$where_condition_array = array('entity_child_id'=>$child['entity_child_id']);
|
$where_condition_array = array('entity_child_id'=>$child['entity_child_id']);
|
||||||
|
|
||||||
$this->Entity_Management_Model->updateRecords($entity_child_array,ENTITYCHILD,$where_condition_array);
|
$this->Entity_Management_Model->updateRecords($entity_child_array,ENTITYCHILD,$where_condition_array);
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user