$lang->itemOrdered | || $lang->unitPrice | || $lang->quantity | || $lang->extendedPrice |
---|---|---|---|
$temp_item_name | $cfg_currency_symbol$temp_item_unit_price | $temp_quantity_purchased | $cfg_currency_symbol$temp_item_cost |
$lang->saleSubTotal: $cfg_currency_symbol$subtotal |
$lang->tax: $cfg_currency_symbol$final_tax |
$lang->saleTotalCost: $cfg_currency_symbol$sale_total_cost |
$lang->amtTendered: $cfg_currency_symbol$amt_tendered |
$lang->amtChange: $cfg_currency_symbol$amt_change |
$lang->saleID: $saleID |
";
if($cfg_address!='')
{
$temp_address=nl2br($cfg_address);
$body .= "$lang->address: $temp_address
";
}
if($cfg_phone!='')
{
$body .= "$lang->phoneNumber: $cfg_phone
";
}
if($cfg_email!='')
{
$body .= "$lang->email: $cfg_email
";
}
if($cfg_fax!='')
{
$body .= "$lang->fax: $cfg_fax
";
}
if($cfg_website!='')
{
$body .= "$lang->website $cfg_website
";
}
if($cfg_other!='')
{
$body .= "$lang->other: $cfg_other
";
}
echo "$body";
//EMAIL RECIEPT TO MEMBER!
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= "From: $cfg_emailFromAddress" . "\r\n";
$message = "