File: //home/arjun/projects/buyercall/buyercall/blueprints/widgets/templates/widgets/mail/adf_lead.txt
<?xml version="1.0"?>
<?adf version="1.0"?>
<adf>
<prospect status="new">
<requestdate>{{ adf_updated_on }}</requestdate>
<vehicle status="new">
<year>{{ vehicle_year }}</year>
<make>{{ vehicle_make }}</make>
<model>{{ vehicle_model }}</model>
<trim>{{ vehicle_trim }}</trim>
<price type="call" currency="USD"></price>
</vehicle>
<customer>
<contact>
<name part="first">{{ firstname }}</name>
<name part="last">{{ lastname }}</name>
<email preferredcontact="1">{{ email }}</email>
<phone preferredcontact="1">{{ phonenumber }}</phone>
<address>
<street line="1" />
<street line="2" />
</address>
</contact>
<comments>{{ lead_comments }}</comments>
</customer>
<vendor>
<vendorname>{{ vendor_name }}</vendorname>
<contact />
</vendor>
{% if campaign_exists == True %}
<campaign>
{{ campaign_name }}
</campaign>
{% endif %}
<provider>
<id sequence="1" source="BuyerCall">{{ call_lead_id }}</id>
<name part="full">{{ receiver }}</name>
<service>Call lead</service>
<url>www.buyercall.com</url>
</provider>
</prospect>
</adf>