Change in calculation for MCO sales statistics

When creating sales statistics, the line amount is deducted with the discount amount, for invoice line types 31 (labor), 32 (material), 34 (subcon), and 36 (miscellaneous).

2274173