Hey {{ name }},
-You got an inquiry a
-- {{inquiry}} -
\ No newline at end of file diff --git a/bizmatch-server/dist/main.d.ts b/bizmatch-server/dist/main.d.ts deleted file mode 100644 index cb0ff5c..0000000 --- a/bizmatch-server/dist/main.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/bizmatch-server/dist/models/main.model.d.ts b/bizmatch-server/dist/models/main.model.d.ts deleted file mode 100644 index 482cf85..0000000 --- a/bizmatch-server/dist/models/main.model.d.ts +++ /dev/null @@ -1,126 +0,0 @@ -export interface KeyValue { - name: string; - value: string; -} -export interface KeyValueStyle { - name: string; - value: string; - icon: string; - bgColorClass: string; - textColorClass: string; -} -export type SelectOptionAsking price: {{listing.price | currency}}
Sales revenue: {{listing.salesRevenue | currency}}
Net profit: {{listing.cashFlow | currency}}
-Location: {{selectOptions.getLocation(listing.location)}}
+Location: {{selectOptions.getState(listing.state)}}
Established: {{listing.established}}
} @if (listing.listingsCategory==='professionals_brokers'){ -Location: {{selectOptions.getLocation(listing.location)}}
+Location: {{selectOptions.getState(listing.state)}}
EMail: {{listing.email}}
Website: {{listing.website}}
} @if (listing.listingsCategory==='investment'){ -Location: {{selectOptions.getLocation(listing.location)}}
+Location: {{selectOptions.getState(listing.state)}}
EMail: {{listing.email}}
Website: {{listing.website}}
Phone Number: {{listing.phoneNumber}}
diff --git a/bizmatch/src/app/pages/listings/listings.component.ts b/bizmatch/src/app/pages/listings/listings.component.ts index 0d2c8a4..b192b27 100644 --- a/bizmatch/src/app/pages/listings/listings.component.ts +++ b/bizmatch/src/app/pages/listings/listings.component.ts @@ -34,9 +34,9 @@ export class ListingsComponent { maxPrice: string; minPrice: string; type:string; - locations = []; - locationsSet = new Set(); - location:string; + states = []; + statesSet = new Set(); + state:string; first: number = 0; rows: number = 12; totalRecords:number = 0; @@ -61,25 +61,25 @@ export class ListingsComponent { } async init(){ this.listings=await this.listingsService.getListings(this.criteria); - this.setLocations(); + this.setStates(); this.filteredListings=[...this.listings]; this.totalRecords=this.listings.length this.filteredListings=[...this.listings].splice(this.first,this.rows); this.cdRef.markForCheck(); this.cdRef.detectChanges(); } - setLocations(){ - this.locationsSet=new Set(); + setStates(){ + this.statesSet=new Set(); this.listings.forEach(l=>{ - if (l.location){ - this.locationsSet.add(l.location) + if (l.state){ + this.statesSet.add(l.state) } }) - this.locations = [...this.locationsSet].map((ls) =>({name:this.selectOptions.getLocation(ls as string),value:ls})) + this.states = [...this.statesSet].map((ls) =>({name:this.selectOptions.getState(ls as string),value:ls})) } async search() { this.listings= await this.listingsService.getListings(this.criteria); - this.setLocations(); + this.setStates(); this.totalRecords=this.listings.length this.filteredListings =[...this.listings].splice(this.first,this.rows); this.cdRef.markForCheck(); diff --git a/bizmatch/src/app/pages/subscription/account/account.component.html b/bizmatch/src/app/pages/subscription/account/account.component.html index 3927124..0a6c0ef 100644 --- a/bizmatch/src/app/pages/subscription/account/account.component.html +++ b/bizmatch/src/app/pages/subscription/account/account.component.html @@ -8,41 +8,90 @@You can only modify your email by contacting us at emailchange@bizmatch.net