"tell me if you go to court what proof do you have that she worked in that company for 2 year"

Getting monthly salary for 2 years from the company is ample proof of the Emoloyment under a cout of law.

If you don't have a specific labour contract, The Qatar Labour law applies (Qatar Labour Law take precedence over any employment contract)

She is entitled for leave salary + notice period as stipulated in Labour Law.

These Employers think they are so smart and try to manupulate the workers but they don't know they in for real trouble if the there is an investigation against them by the labour dept.