diff --git a/post.php b/post.php index 80a7739b..de5f0028 100644 --- a/post.php +++ b/post.php @@ -2953,6 +2953,8 @@ if(isset($_GET['email_quote'])){ $contact_extension = $row['contact_extension']; $contact_mobile = formatPhoneNumber($row['contact_mobile']); $client_website = $row['client_website']; + $client_currency_code = $row['client_currency_code']; + $client_currency_symbol = htmlentities(get_currency_symbol($client_currency_code)); //Needs HTML entities due to encoding (Â was showing up) $base_url = $_SERVER['HTTP_HOST'] . dirname($_SERVER['REQUEST_URI']); $company_name = $row['company_name']; $company_country = $row['company_country']; @@ -2993,7 +2995,7 @@ if(isset($_GET['email_quote'])){ $mail->isHTML(true); // Set email format to HTML $mail->Subject = "Quote"; - $mail->Body = "Hello $contact_name,

Thank you for your inquiry, we are pleased to provide you with the following estimate.


Total Cost: $$quote_amount


View and accept your estimate online here


~
$company_name
$company_phone"; + $mail->Body = "Hello $contact_name,

Thank you for your inquiry, we are pleased to provide you with the following estimate.


Total Cost: $client_currency_symbol$quote_amount


View and accept your estimate online here


~
$company_name
$company_phone"; $mail->send(); echo 'Message has been sent';