@if(listings?.length>0){
@for (listing of listings; track listing.id) {
{{ selectOptions.getBusiness(listing.type) }}

{{ listing.title }} @if(listing.draft){ Draft }

{{ selectOptions.getState(listing.location.state) }}

{{ getDaysListed(listing) }} days listed

Asking price: {{ listing.price | currency : 'USD' : 'symbol' : '1.0-0' }}

Sales revenue: {{ listing.salesRevenue | currency : 'USD' : 'symbol' : '1.0-0' }}

Net profit: {{ listing.cashFlow | currency : 'USD' : 'symbol' : '1.0-0' }}

Location: {{ listing.location.name ? listing.location.name : listing.location.county }}

Established: {{ listing.established }}

Company logo
}
} @else if (listings?.length===0){

There’s no listing here

Try changing your filters to
see listings

}
@if(pageCount>1){ }