A long-running dispute at the DESA leather factory in Turkey has come to an end after the company agreed to reinstate some former workers and give priority to others when it hires new staff.