{% if showMore is defined and showMore is not empty %}
<a href="{{ url('mautic_dealflow_index', {'search' : searchString}) }}" data-toggle="ajax">
    <span>{{ 'mautic.core.search.more'|trans({'%count%' : remaining})|escape }}</span>
</a>
{% else %}
<a class="gsearch--results-common" href="{{ url('mautic_dealflow_view', {'objectId' : item.getId()}) }}" data-toggle="ajax">
    <i class="ri-briefcase-4-fill gsearch--results-common__icon mr-3"></i>
    <span class="fw-sb">{{ item.getTitle()|escape }}</span>
    <span class="ml-4 mr-4">#{{ item.getId() }}</span>
    {% if item.getStage() %}
        <span class="label label-default ml-2">{{ item.getStage().getName()|escape }}</span>
    {% endif %}
    {% if item.getAmount() %}
        <span class="pull-right text-muted">{{ item.getAmount()|number_format(0, '.', ',') }}</span>
    {% endif %}
</a>
{% endif %}
