A Barnsley-based carpet and flooring company has gained grant funding to invest in solar panels which will generate more than 70 percent of the energy it needs.