Business groups are opposed to the legislation, saying it will hurt small businesses across the state.