Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require_once('modules/Leads/Lead.php');
- $contact = new Lead();
- $contact->retrieve($this->bean->leadsid_c);
- $lead = new Lead();
- $lead->retrieve($bean->leads_quotes_1_c.contacts_leads_1contacts_ida );
- $addressBS[0][$mod_strings['LBL_PDF_BILLING_ADDRESS']] = $lead->first_name.' '. $lead->last_name;
- // $addressBS[1][$mod_strings['LBL_PDF_BILLING_ADDRESS']] = $this->bean->billing_account_name;
- $addressBS[1][$mod_strings['LBL_PDF_BILLING_ADDRESS']] = $lead->primary_address_street;
- if(!empty($lead->primary_address_city) || !empty($lead->primary_address_postalcode)) {
- $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