| } | } | ||||
| $nP = ''; | $nP = ''; | ||||
| $ptype = ''; | |||||
| if(!empty($f->project_type)){ | |||||
| $ptype = $f->project_type; | |||||
| } | |||||
| array_push($nested_data, array( | array_push($nested_data, array( | ||||
| 'formT' => $n1.$i.$f->type_application, | 'formT' => $n1.$i.$f->type_application, | ||||
| 'phone' => $f->Subscriber->phone1, | 'phone' => $f->Subscriber->phone1, | ||||
| 'unit' => $unit, | 'unit' => $unit, | ||||
| 'building' => $building, | 'building' => $building, | ||||
| 'projectT' => $ptype, | |||||
| 'street' => $address, | 'street' => $address, | ||||
| // 'postcode' => $f->Subscriber->postcode, | // 'postcode' => $f->Subscriber->postcode, | ||||
| // 'city' => $f->Subscriber->city, | // 'city' => $f->Subscriber->city, |