A laptop is priced at $1200 before tax. If a 15% sales tax is added to the price, and a customer applies a discount that makes the final price after tax $1300, what was the discount percentage applied? Let's think step by step and output the final answer within \boxed{}.
user