diff --git a/force-app/main/default/classes/getRecommendations.cls b/force-app/main/default/classes/getRecommendations.cls index 2d78d66f..8b94f25d 100644 --- a/force-app/main/default/classes/getRecommendations.cls +++ b/force-app/main/default/classes/getRecommendations.cls @@ -3,7 +3,7 @@ public with sharing class getRecommendations { public static list getRecommendations(id contactId) { Client_Profile__c CP = getProfile(contactId); List services = getRecommendationsServiceQuery.primaryQuery(CP); - + System.debug('services' + services); // convert to ServiceRecommendation list output = servicesToRecommendations(services); diff --git a/force-app/main/default/lwc/serviceRecommendation/serviceRecommendation.css b/force-app/main/default/lwc/serviceRecommendation/serviceRecommendation.css index 1e3c6715..fc95e90b 100644 --- a/force-app/main/default/lwc/serviceRecommendation/serviceRecommendation.css +++ b/force-app/main/default/lwc/serviceRecommendation/serviceRecommendation.css @@ -1,10 +1,22 @@ -.hiddenRecsDiv .parentCard .slds-card .slds-card_narrow{ - border: 1px solid grey !important; +.parentCard { + margin-top:0.5em !important; + margin-bottom:0.5em !important; + border:1px solid grey !important; border-radius:5px !important; + width: 100%; +} + +.headerdv { + display: flex; +} + + +.headerText label { + font-size:10px; } .relevanceHeader { - font-size:13px; + font-size:14px; color: #006dcc !important; } @@ -50,9 +62,15 @@ .relevanceDiv { padding: 5px; - margin-right: 20px; - margin-top: 25px; border-radius: 5px; color:rgb(91, 90, 90); } +footer { + padding: 1em; +} + +.bodyList li { + padding-top: 0.5em; +} + diff --git a/force-app/main/default/lwc/serviceRecommendation/serviceRecommendation.html b/force-app/main/default/lwc/serviceRecommendation/serviceRecommendation.html index 55c7ecd1..d4e5d2a6 100644 --- a/force-app/main/default/lwc/serviceRecommendation/serviceRecommendation.html +++ b/force-app/main/default/lwc/serviceRecommendation/serviceRecommendation.html @@ -1,228 +1,227 @@ diff --git a/force-app/main/default/lwc/serviceRecommendation/serviceRecommendation.js b/force-app/main/default/lwc/serviceRecommendation/serviceRecommendation.js index 4cd28f08..6c4a6c2f 100644 --- a/force-app/main/default/lwc/serviceRecommendation/serviceRecommendation.js +++ b/force-app/main/default/lwc/serviceRecommendation/serviceRecommendation.js @@ -145,6 +145,11 @@ export default class ServiceRecommendation extends LightningElement { }); } + handleAccountRedirect(){ + let url = '/'+this.servicerecommendation.AccountId; + window.open(url); + } + handleShowAddComment(){ window.console.log('add comment'); diff --git a/force-app/main/default/lwc/serviceRecommendations/serviceRecommendations.css b/force-app/main/default/lwc/serviceRecommendations/serviceRecommendations.css index 1f27624e..20304c50 100644 --- a/force-app/main/default/lwc/serviceRecommendations/serviceRecommendations.css +++ b/force-app/main/default/lwc/serviceRecommendations/serviceRecommendations.css @@ -6,19 +6,15 @@ } .innerRecDiv { - margin-top:0.5em; - border: 1px solid grey; - border-radius:5px; - width: 100%; + margin-top:0.5em; + height:40em; } .innerRecModalDiv { - margin:0.5em; - border: 1px solid grey; - border-radius:5px; - width: 100%; + height:25em; } + .iconNameDiv { height: 40px; line-height: 40px; diff --git a/force-app/main/default/lwc/serviceRecommendations/serviceRecommendations.html b/force-app/main/default/lwc/serviceRecommendations/serviceRecommendations.html index 1684c34b..eca0df97 100644 --- a/force-app/main/default/lwc/serviceRecommendations/serviceRecommendations.html +++ b/force-app/main/default/lwc/serviceRecommendations/serviceRecommendations.html @@ -21,11 +21,295 @@
-
+
+ +
+

No Recommendations Yet

-
- +
+
@@ -39,23 +323,22 @@

No Recommendations Yet

- - - - - - - - + + + + + + +
- +
-
+