task 16 back office. Priority of discount