{% if userCompany %} {% fetchxml filteredCompanies %}
<fetch>
<entity name="Support">
<attribute name="orgid"></attribute>
<attribute name="heading"></attribute>
<attribute name="subheading"></attribute>
<attribute name="supportdetails"></attribute>
<attribute name="date"></attribute>
<filter>
<condition attribute="orgid" operator="eq" value="{{ userCompany }}"></condition>
</filter>
</entity>
</fetch>
{% endfetchxml %}
<table class="table table-bordered table-striped" aria-describedby="support-table-desc">
<caption id="support-table-desc" class="sr-only">
Support records for your company
</caption>
<thead>
<tr>
<th scope="col">Date</th>
<th scope="col">Heading</th>
<th scope="col">SubHeading</th>
<th scope="col">Support Details</th>
</tr>
</thead>
<tbody>
{% for record in filteredCompanies.results.entities %}
<tr>
<td>{{ record.date | escape }}</td>
<td>{{ record.heading | escape }}</td>
<td>{{ record.subheading | escape }}</td>
<td>{{ record.supportdetails | escape }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<p>No company information found for your user profile.</p>
{% endif %}