import { api, wire,LightningElement } from 'lwc'; import { getRecord } from 'lightning/uiRecordApi'; export default class LexOpportunity12Rating extends LightningElement { @api recordId; @wire(getRecord,{ recordId: '$recordId', fields: [ 'Opportunity.Rating01__c', 'Opportunity.Rating02__c', 'Opportunity.Rating03__c', 'Opportunity.Rating04__c', 'Opportunity.Rating05__c', 'Opportunity.Rating06__c', 'Opportunity.Rating07__c', 'Opportunity.Rating08__c', 'Opportunity.Rating09__c', 'Opportunity.Rating10__c', 'Opportunity.Rating11__c', 'Opportunity.Rating12__c' ] }) opp; month = new Date().getMonth; ifMonth1 = this.month == 1; ifMonth2 = this.month == 2; ifMonth3 = this.month == 3; ifMonth4 = this.month == 4; ifMonth5 = this.month == 5; ifMonth6 = this.month == 6; ifMonth7 = this.month == 7; ifMonth8 = this.month == 8; ifMonth9 = this.month == 9; ifMonth10 = this.month == 10; ifMonth11 = this.month == 11; ifMonth12 = this.month == 12; }