Broker: {{ criteria.brokerName }}
@@ -380,24 +377,15 @@
diff --git a/bizmatch/src/app/components/search-modal/search-modal.component.ts b/bizmatch/src/app/components/search-modal/search-modal.component.ts
index be46a2a..ac9496f 100644
--- a/bizmatch/src/app/components/search-modal/search-modal.component.ts
+++ b/bizmatch/src/app/components/search-modal/search-modal.component.ts
@@ -89,9 +89,9 @@ export class SearchModalComponent {
this.selectedPropertyType ||
this.criteria.minNumberEmployees ||
this.criteria.maxNumberEmployees ||
- this.criteria.establishedSince ||
- this.criteria.establishedUntil ||
- this.criteria.brokerName
+ this.criteria.establishedMin ||
+ this.criteria.brokerName ||
+ this.criteria.title
);
}
removeFilter(filterType: string) {
@@ -131,12 +131,14 @@ export class SearchModalComponent {
this.criteria.maxNumberEmployees = null;
break;
case 'established':
- this.criteria.establishedSince = null;
- this.criteria.establishedUntil = null;
+ this.criteria.establishedMin = null;
break;
case 'brokerName':
this.criteria.brokerName = null;
break;
+ case 'title':
+ this.criteria.title = null;
+ break;
}
this.searchService.search(this.criteria);
}
diff --git a/bizmatch/src/app/pages/details/details-business-listing/details-business-listing.component.ts b/bizmatch/src/app/pages/details/details-business-listing/details-business-listing.component.ts
index f205a37..90ea8e5 100644
--- a/bizmatch/src/app/pages/details/details-business-listing/details-business-listing.component.ts
+++ b/bizmatch/src/app/pages/details/details-business-listing/details-business-listing.component.ts
@@ -150,12 +150,28 @@ export class DetailsBusinessListingComponent extends BaseDetailsComponent {
const result = [
{ label: 'Category', value: this.selectOptions.getBusiness(this.listing.type) },
{ label: 'Located in', value: `${this.listing.location.name ? this.listing.location.name : this.listing.location.county}, ${this.selectOptions.getState(this.listing.location.state)}` },
- { label: 'Asking Price', value: `${this.listing.price ? `$${this.listing.price.toLocaleString()}` : ''}` },
- { label: 'Sales revenue', value: `${this.listing.salesRevenue ? `$${this.listing.salesRevenue.toLocaleString()}` : ''}` },
- { label: 'Cash flow', value: `${this.listing.cashFlow ? `$${this.listing.cashFlow.toLocaleString()}` : ''}` },
+ { label: 'Asking Price', value: `${this.listing.price ? `$${this.listing.price.toLocaleString()}` : 'undisclosed '}` },
+ { label: 'Sales revenue', value: `${this.listing.salesRevenue ? `$${this.listing.salesRevenue.toLocaleString()}` : 'undisclosed '}` },
+ { label: 'Cash flow', value: `${this.listing.cashFlow ? `$${this.listing.cashFlow.toLocaleString()}` : 'undisclosed '}` },
+ ...(this.listing.ffe
+ ? [
+ {
+ label: 'Furniture, Fixtures / Equipment Value (FFE)',
+ value: `$${this.listing.ffe.toLocaleString()}`,
+ },
+ ]
+ : []),
+ ...(this.listing.inventory
+ ? [
+ {
+ label: 'Inventory at Cost Value',
+ value: `$${this.listing.inventory.toLocaleString()}`,
+ },
+ ]
+ : []),
{ label: 'Type of Real Estate', value: typeOfRealEstate },
{ label: 'Employees', value: this.listing.employees },
- { label: 'Established since', value: this.listing.established },
+ { label: 'Years established', value: this.listing.established },
{ label: 'Support & Training', value: this.listing.supportAndTraining },
{ label: 'Reason for Sale', value: this.listing.reasonForSale },
{ label: 'Broker licensing', value: this.listing.brokerLicencing },
diff --git a/bizmatch/src/app/pages/listings/business-listings/business-listings.component.html b/bizmatch/src/app/pages/listings/business-listings/business-listings.component.html
index 8e3a812..0d69647 100644
--- a/bizmatch/src/app/pages/listings/business-listings/business-listings.component.html
+++ b/bizmatch/src/app/pages/listings/business-listings/business-listings.component.html
@@ -36,7 +36,7 @@
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 }}
+ Years established: {{ listing.established }}