What ever rules company have, should follow the minimum described in the Labour Law. Even resigned or not all employees are entitled for 21 days of leave salary + 21 days end of service benefits for each years in service. Later 28 days of both from 6th year.