A baseball bat cost $30 each from a manufacturer. If a store purchases more than 10 bats, the store receives a 15% discount on the total order. A store ordered 24 bats. What was the total amount of the order before sales tax?