client/public/elements/pages/grant/rp-page-grant.js
/**
   * @method _grantAwardStatus
   * @description returns the status of the grant award as a string based on 
   * on the interval.
   * 
   * @returns {String}
   */
@method _grantAwardStatus
@description returns the status of the grant award as a string based on
on the interval.

@returns {String}
@method _grantAwardStatus @description returns the status of the grant award as a string based on on the interval . @returns { String }
async _grantAwardStatus(){
    this.dateStart = this.grant.dateTimeInterval.start.dateTime;
    this.dateEnd = this.grant.dateTimeInterval.end.dateTime;
    let today = new Date();
    let endDate = new Date(this.dateEnd);
    if(today > endDate){
      return 'Inactive';
    } else if(today <= endDate){
      return 'Active';
    }
    return 'Undetermined';
  }
async _grantAwardStatus ( ) { this . dateStart = this . grant . dateTimeInterval . start . dateTime ; this . dateEnd = this . grant . dateTimeInterval . end . dateTime ; let today = new Date ( ) ; let endDate = new Date ( this . dateEnd ) ; if ( today > endDate ) { return 'Inactive' ; } else if ( today <= endDate ) { return 'Active' ; } return 'Undetermined' ; }
@method _grantAwardStatus
 @description returns the status of the grant award as a string based on
 on the interval.
@method _grantAwardStatus @description returns the status of the grant award as a string based on on the interval .