Added product_type, parent_id fields to date_sales()