Advertisement
Guest User

Untitled

a guest
Jan 28th, 2015
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. require_once('modules/Leads/Lead.php');
  2. $contact = new Lead();
  3. $contact->retrieve($this->bean->leadsid_c);
  4.  
  5. $lead = new Lead();
  6. $lead->retrieve($bean->leads_quotes_1_c.contacts_leads_1contacts_ida );
  7.  
  8. $addressBS[0][$mod_strings['LBL_PDF_BILLING_ADDRESS']] = $lead->first_name.' '. $lead->last_name;
  9. // $addressBS[1][$mod_strings['LBL_PDF_BILLING_ADDRESS']] = $this->bean->billing_account_name;
  10. $addressBS[1][$mod_strings['LBL_PDF_BILLING_ADDRESS']] = $lead->primary_address_street;
  11. if(!empty($lead->primary_address_city) || !empty($lead->primary_address_postalcode)) {
  12. $addressBS[2][$mod_strings['LBL_PDF_BILLING_ADDRESS']] = $lead->primary_address_city.", ".$lead->primary_address_state." ".$lead->primary_address_postalcode;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement