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UAA8U,iCAAiC,qEAAqE,iCAAiC,wFAAwF,eAAe,67CAA67C,+DAA+D,+KAA+K","sources":["./src/app/pages/reviews/reviews-routing.module.ts","./src/app/pages/reviews/reviews.module.ts","./src/app/pages/reviews/reviews.page.ts","./src/app/pages/reviews/reviews.page.html"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\n\nimport { ReviewsPage } from './reviews.page';\n\nconst routes: Routes = [\n {\n path: '',\n component: ReviewsPage\n }\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class ReviewsPageRoutingModule {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { SharedModule } from '../../modules/shared/shared.module';\nimport { IonicModule } from '@ionic/angular';\n\nimport { ReviewsPageRoutingModule } from './reviews-routing.module';\n\nimport { ReviewsPage } from './reviews.page';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n IonicModule,\n SharedModule,\n ReviewsPageRoutingModule\n ],\n declarations: [ReviewsPage]\n})\nexport class ReviewsPageModule {}\n","import { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { SettingsService } from 'src/app/services/settings.service';\nimport { UpdateService } from 'src/app/services/update.service';\n\n@Component({\n selector: 'app-reviews',\n templateUrl: './reviews.page.html',\n styleUrls: ['./reviews.page.scss'],\n})\nexport class ReviewsPage implements OnInit {\n public pageId = null;\n public reviews: any = [];\n public company: any = {};\n\n constructor(\n private actRoute: ActivatedRoute, \n public settings: SettingsService,\n private update: UpdateService, \n ) { \n this.settings.log(1,'ReviewPage constructor start');\n this.pageId = this.actRoute.snapshot.params['id'];\n }\n\n ngOnInit() {\n }\n \n ionViewWillEnter() {\n let t = this;\n let s = this.settings; \n this.settings.log(1,'ionViewWillEnter ReviewsPage');\n this.update.pageIsReady('ReviewsPage',this.pageId).then((result) => {\n // track page views\n t.settings.trackPageView('Reviews');\n this.reviews = result.reviews;\n this.company = result.company;\n\n }).catch((error)=>{\n this.settings.log(1,\"ReviewsPage pageIsReady error \" + error.message);\n }); \n\t \n }\n\n}\n","export default \"\\n \\n
\\n
\\n \\n \\n \\n \\n \\n
\\n \\n \\n \\n \\n
\\n
\\n
\\n\\n\\n
\\n \\n
\\n
\\n \\n \\n
\\n
\\n
\\n
\\n \\\"{{company.CompanyName}}\\n \\\"{{company.CompanyName}}\\n
\\n
\\n
\\n
\\n
\\n

\\n {{company.CompanyName}} \\n

\\n
{{settings.capitalize(company?.CapRole)}}
\\n
\\n
\\n
\\n
\\n
\\n \\n \\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n

{{company?.CompanyState}}

\\n
{{company?.CompanyAddress}}
\\n
\\n {{company?.CompanyCity}}\\n {{company?.CompanyState}}\\n
\\n
\\n {{company?.CompanyCountry}}\\n {{company?.CompanyPostcode}}\\n
\\n
\\n \\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n
Orders
\\n
{{company?.CapSales}}
\\n
\\n
\\n
Cancellations
\\n
{{company?.CapCancellations}}
\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n

\\n Auto Brands\\n

\\n
    \\n
  • {{m}}
  • \\n
\\n
\\n
\\n
\\n
\\n
\\n\\n \\n\\n
\\n

Company Reviews

\\n
\\n
Company
\\n
Feedback
\\n
\\n
Date
\\n
\\n
\\n
\\n {{r.ReviewerCompanyName}}\\n \\n \\n
\\n
{{r.Description}}
\\n
\\n \\n
\\n
Timely communication?
\\n
\\n
\\n
\\n
Fair negotiation?
\\n
\\n
\\n
\\n
Good quality?
\\n
\\n
\\n
\\n
Good price?
\\n
\\n
\\n
\\n
{{settings.formatDateTime('D MMM YYYY HH:mm',r.CreatedDateTime)}}
\\n
\\n
\\n\\n
\\n There are no reviews for the company yet.\\n
\\n
\\n
\";"],"names":[],"sourceRoot":"webpack:///"}