When calculating cost of sales on a financial statement do you use sales before discounts of after discounts?