Hi All
We are greatly struggling to bring back one record (quote) for contacts that have multiple quotes (to be sent an email with variables included in the email (quote)), this problem is replicated to any entity where contacts have more than one record associated,
Is anyone able to assist?
Warm Regards
<style>
th, td {
padding: 2px;
text-align: left;
}
</style>
<table>
<tbody><tr>
<th>Quote Number:</th>
<td>
<ul>
<!-- {{#each contact.quote_contact_customerid}} -->
{{this.quotenumber}}
<!--{{/each}} -->
</ul>
</td>
</tr>
<tr>
<th>Created On:</th>
<td>
<ul>
<!-- {{#each contact.quote_contact_customerid}} -->
{{this.createdon}}
<!--{{/each}} -->
</ul>
</td>
</tr>
<tr>
<th>Course:</th>
<td>
<ul>
<!-- {{#each contact.quote_contact_customerid}} -->
{{this.uct_course}}
<!--{{/each}} -->
</ul>
</td>
</tr>
<tr>
<th>Number of Lessons:</th>
<td>
<ul>
<!-- {{#each contact.quote_contact_customerid}} -->
{{this.uct_numberoflessonsid}}
<!--{{/each}} -->
</ul>
</td>
</tr>
<tr>
<th>Number of Weeks:</th>
<td>
<ul>
<!-- {{#each contact.quote_contact_customerid}} -->
{{this.uct_numberofweeks}}
<!--{{/each}} -->
</ul>
</td>
</tr>
<tr>
<th>Course Cost:</th>
<td>
<ul>
<!-- {{#each contact.quote_contact_customerid}} -->
{{this.uct_coursecost}}
<!--{{/each}} -->
</ul>
</td>
</tr>
<tr>
<th>Registration Fee:</th>
<td>
<ul>
<!-- {{#each contact.quote_contact_customerid}} -->
{{this.uct_registrationfee}}
<!--{{/each}} -->
</ul>
</td>
</tr>
<tr>
<th>Accomodation Cost:</th>
<td>
<ul>
<!-- {{#each contact.quote_contact_customerid}} -->
{{this.uct_accommodationcost}}
<!--{{/each}} -->
</ul>
</td>
</tr>
<tr>
<th>Regional Discount:</th>
<td>
<ul>
<!-- {{#each contact.quote_contact_customerid}} -->
{{this.uct_regionaldiscount}}
<!--{{/each}} -->
</ul>
</td>
</tr>
<tr>
<th>Total Amount:</th>
<td>
<ul>
<!-- {{#each contact.quote_contact_customerid}} -->
{{this.totalamount}}
<!--{{/each}} -->
</ul>
</td>
</tr></tbody></table>