diff --git a/src/app/pages/feedbacks/feedbacks.component.html b/src/app/pages/feedbacks/feedbacks.component.html index 30c8fb6..e1372f1 100644 --- a/src/app/pages/feedbacks/feedbacks.component.html +++ b/src/app/pages/feedbacks/feedbacks.component.html @@ -128,25 +128,25 @@ - Name + Rating {{ customer.name }} - Country - {{ customer.country.name }} + Services recommended + {{ customer.company }} - Representative - {{ customer.representative.name }} + Services not recommended + {{ customer.date }} - Date - {{ customer.date }} + Suggestions + {{ customer.status }} - Status + Willing to callback {{ - customer.status + customer.activity }} diff --git a/src/app/pages/feedbacks/feedbacks.component.ts b/src/app/pages/feedbacks/feedbacks.component.ts index e2ccc0a..0d684c7 100644 --- a/src/app/pages/feedbacks/feedbacks.component.ts +++ b/src/app/pages/feedbacks/feedbacks.component.ts @@ -18,7 +18,7 @@ export class FeedbacksComponent implements OnInit { rightIconRoute: 'logout', leftIcon: backButton, leftIconRoute: 'home', - title: 'FEEDBACKS', + title: 'Customer Feedbacks', }; customers: Customer[]; @@ -54,27 +54,6 @@ export class FeedbacksComponent implements OnInit { this.loading = false; }); - this.representatives = [ - { name: 'Amy Elsner', image: 'amyelsner.png' }, - { name: 'Anna Fali', image: 'annafali.png' }, - { name: 'Asiya Javayant', image: 'asiyajavayant.png' }, - { name: 'Bernardo Dominic', image: 'bernardodominic.png' }, - { name: 'Elwin Sharvill', image: 'elwinsharvill.png' }, - { name: 'Ioni Bowcher', image: 'ionibowcher.png' }, - { name: 'Ivan Magalhaes', image: 'ivanmagalhaes.png' }, - { name: 'Onyama Limba', image: 'onyamalimba.png' }, - { name: 'Stephen Shaw', image: 'stephenshaw.png' }, - { name: 'XuXue Feng', image: 'xuxuefeng.png' }, - ]; - - this.statuses = [ - { label: 'Unqualified', value: 'unqualified' }, - { label: 'Qualified', value: 'qualified' }, - { label: 'New', value: 'new' }, - { label: 'Negotiation', value: 'negotiation' }, - { label: 'Renewal', value: 'renewal' }, - { label: 'Proposal', value: 'proposal' }, - ]; this.primengConfig.ripple = true; } diff --git a/src/assets/customers-large.json b/src/assets/customers-large.json index a592ea2..0e2813f 100644 --- a/src/assets/customers-large.json +++ b/src/assets/customers-large.json @@ -2,99 +2,20 @@ "data": [ { "id": 1000, - "name": "James Butt", + "name": "9", "country": { "name": "Algeria", "code": "dz" }, - "company": "Benton, John B Jr", - "date": "2015-09-13", - "status": "unqualified", - "activity": 17, + "company": "Servicing team interaction (wait time, service advisor knowledge, friendliness), Cost of service (cost of paid/un-covered service, spare parts", + "date": "Nothing", + "status": "nothing for now", + "activity": "yes", "representative": { "name": "Ioni Bowcher", "image": "ionibowcher.png" } - }, - { - "id": 1001, - "name": "Josephine Darakjy", - "country": { - "name": "Egypt", - "code": "eg" - }, - "company": "Chanay, Jeffrey A Esq", - "date": "2019-02-09", - "status": "proposal", - "activity": 0, - "representative": { - "name": "Amy Elsner", - "image": "amyelsner.png" - } - }, - { - "id": 1002, - "name": "Art Venere", - "country": { - "name": "Panama", - "code": "pa" - }, - "company": "Chemel, James L Cpa", - "date": "2017-05-13", - "status": "qualified", - "activity": 63, - "representative": { - "name": "Asiya Javayant", - "image": "asiyajavayant.png" - } - }, - { - "id": 1000, - "name": "James Butt", - "country": { - "name": "Algeria", - "code": "dz" - }, - "company": "Benton, John B Jr", - "date": "2015-09-13", - "status": "unqualified", - "activity": 17, - "representative": { - "name": "Ioni Bowcher", - "image": "ionibowcher.png" - } - }, - { - "id": 1001, - "name": "Josephine Darakjy", - "country": { - "name": "Egypt", - "code": "eg" - }, - "company": "Chanay, Jeffrey A Esq", - "date": "2019-02-09", - "status": "proposal", - "activity": 0, - "representative": { - "name": "Amy Elsner", - "image": "amyelsner.png" - } - }, - { - "id": 1002, - "name": "Art Venere", - "country": { - "name": "Panama", - "code": "pa" - }, - "company": "Chemel, James L Cpa", - "date": "2017-05-13", - "status": "qualified", - "activity": 63, - "representative": { - "name": "Asiya Javayant", - "image": "asiyajavayant.png" - } } + ] }