accountdetails); $account_hierarchy = json_decode($responses->accounthierarchy); template_header('Account', 'account', 'view'); $view = '
'; if (isset($success_msg)){ $view .= ''.$success_msg.'
'.(($responses->status == 'Customer')? ''.$responses->status:''.$responses->status).'
'.$account_details->billcompany.'
'.$account_details->billfirstname.'
'.$account_details->billlastname.'
'.$account_details->billemail.'
'.$account_details->billphonenumber.'
'.$account_details->contactfirstname.'
'.$account_details->contactlastname.'
'.$account_details->contactemail.'
'.$account_details->contactphonenumber.'
| '.$account_billstreetadress.' | '.$account_details->billstreetadress.' |
| '.$account_details->billdistrict.' | |
| '.$account_billpostalcode.' | '.$account_details->billpostalcode.' |
| '.$account_billcity.' | '.$account_details->billcity.' |
| '.$account_billstate.' | '.$account_details->billstate.' |
| '.$account_billcountry.' | '.$account_details->billcountry.' |
| '.$account_streetadress.' | '.$account_details->streetadress.' |
| '.$account_postalcode.' | '.$account_details->postalcode.' | '.$account_details->district.' |
| '.$account_city.' | '.$account_details->city.' |
| '.$account_state.' | '.$account_details->state.' |
| '.$account_country.' | '.$account_details->country.' |
| '.$account_vatnumber.' | '.$account_details->vatnumber.' |
| '.$account_loghandlername.' | '.$account_details->loghandlername.' |
| '.$account_loghandleraccount.' | '.$account_details->loghandleraccount.' |
| '.$general_salesid.' | '.$account_hierarchy->salesid.' |
| '.$general_soldto.' | '.$account_hierarchy->soldto.' | '.$general_created.' | '.getRelativeTime($responses->created).' |
| '.$general_createdby.' | '.$responses->createdby.' |