hasAuth()) { $id = $doc->getAuth()->getData('id'); $data = $this->_getFromDb($id); if ('y' == Qs_Array::get($data['shipping'], 'asBilling')) { $data['shipping']['asBilling'] = 'Yes'; $data['shipping'] = array_merge($data['shipping'], $data['billing']); } else { $data['shipping']['asBilling'] = 'No'; } $data = Qs_Array::flattenAssoc($data, true); $this->_setHtmlPlaceholdersData($data); } return parent::getPlaceholdersData(); } }