There are two types of discounts in Orderry — Discount and Company discount. The difference is in how they affect the calculation of employees' bonuses.
Discount. Employees' wages are calculated including the discount. That is, such a discount reduces the wage amount.
Company discount. Employees' wages are calculated without taking into account the discount. Thus, this discount type does not affect the amount of the employee's wage.
On the Settings > Prices and Discounts > Discounts page, you can select the desired discount type, and it will be set by default in orders, sales, and invoices. To prevent employees from being able to change the discount type, you have to check the “Can set the discount type” option in the settings of the employee role.