<?php
include_once('dealerEmail.php');
if($dealerInfo[$info['dealer']]['eventID'] != "")
{
$_GET['promo'] = $dealerInfo[$info['dealer']]['campaign'];
$_GET['eventID'] = $dealerInfo[$info['dealer']]['eventID'];
$_GET['source'] = 'web';
$_GET['lastName'] = $info['customer']['lastname'];
$_GET['firstName'] = $info['customer']['firstname'];
$_GET['mainPhone'] = $info['customer']['mainPhone'];
$_GET['email'] = $info['customer']['email'];
$_GET['postalCode'] = $info['customer']['postalCode'];
$_GET['currentVehicleYear'] = $info['tradeIn']['years'];
$_GET['currentVehicleModel'] = $info['tradeIn']['makes'] . ' ' . $info['tradeIn']['models'];
$_GET['currentVehicleKM'] = $info['tradeIn']['kilometers'];
$_GET['notes'] = 'Vehicle Appraised: ' . $info['tradeIn']['years'] . ' ' . $info['tradeIn']['makes'] . ' ' . $info['tradeIn']['models'] . ' ' . $info['tradeIn']['trims'] . ' ' . $info['tradeIn']['styles'] . ' ' . $info['tradeIn']['kilometers'] . "KM ";
if($info['tradeIn']['values']['tradeInLow'] != "" && $info['tradeIn']['values']['tradeInLow'] != 0) $_GET['notes'] .= 'Trade in Value: '. '$' . number_format($info['tradeIn']['values']['tradeInLow']) . ' - $' . number_format($info['tradeIn']['values']['tradeInHigh']);
else $_GET['notes'] .= "Trade in Value: N/A";
include_once('../misc/rsvp.php');
}
?>