imports/vx/both/code/util.js
/**
     * Get the configuration for a specified report.
     *
     * @param {string} reportType Report type.
     * @return {object} Configuration object for report.
     */
Get the configuration for a specified report.
@param {string} reportType Report type.
@return {object} Configuration object for report.
Get the configuration for a specified report . @param { string } reportType Report type . @return { object } Configuration object for report .
reportConfig(reportType) {
        let reportTypeObject = Meteor.i18nMessages.codes.reportType[reportType]
        if (!reportTypeObject) {
            OLog.error("util.js reportConfig could not find reportType=" + reportType)
            return
        }
        return reportTypeObject.config
    }
reportConfig ( reportType ) { let reportTypeObject = Meteor . i18nMessages . codes . reportType [ reportType ] if ( ! reportTypeObject ) { OLog . error ( "util.js reportConfig could not find reportType=" + reportType ) return } return reportTypeObject . config }
Get the configuration for a specified report.
Get the configuration for a specified report .