Termination without notice

I am the permt Emp of X cmpy.My payroll cmpy is X and they hav taken contract of another cmpyY.Now i have been paid by Xcmpy and i hav been on site working for Ycmpy as they paid my salary to Xcmpy.I have marked mail for my own marriage leave 2 Months back(Dec) as my engagement and marriage was scheduled on Feburary 2th ,19th.I had a call from my Asst Mgm from Y cmpy.And infrmed me tht we will adjust as per leave.This was a call on 31st dec2017.Now on the Jan 28-29 she called me and infrmd me tht we cannot give you leave as we had a big concall with mgmt and she infrmd me take decision either cancel leave or put papers and go.I infrmd her tht this should be infrmd to me 2 month before van i hav mailed you regarding leave so tht i would have been resigned.You are infrmg you just 3days before my engagement,And you will also not get marriage leave as scheduled by you..And she has put another allegation on me stating tht marking attendance as present instead of leave on some days of Jan2018 attendance.I infrmd her tht it was by mistake,and i am sorry for tht,at tht time she told me tht you were not the only person there were many more,but leave it its for 2days.But remember next time.I got my lve bt have to rescheduled my leave and aftr long quarrel she granted leave as planned by her.And infrmd me to mail tht rescheduled leave mail.Marking her and site in charge on mail.Now i was on leave from 15th Feb to 25th feb2018 joining was on 26th Feb.On the 2 day of my marriage my father suffered major attack and he was on ventilator for 13 days in another state.After consultating with DR i came to know tht his condn is not good and it will take some more days to stable the condn.On 25th Feb 2018 i called Ycmpy RM,that i have to extend my leaves informing the condn of my father.I also messaged to Ycmp Site incharge thru msg.As RM has infrmd me that he will inform my Site incharge.On 26th Feb2018 i got warning mail stating instead of 2 warning mail.i hav been not report to site till date,i quickly revert on the same day stating my father condition on tht mail and also whom i have informed.I again mailed on 16th Mar 2018 informing that i am in mumbai after doing follow up report i will join the site.On 23rd Mar2018 i infrmd site incharge thru SMS joining site frm 2marrow.She infrmd tht you are no more with this site hence dnt report.I infrmd Xcmpy abt this they infrmed me tht "yourunethical behavior, irresponsibility towards your work and no intonation on your leave extensions has hampered the operations drasctically. Past also you have followed wrong norms of updating the attendance as present in spite of taking leave .Hnc your rejoining with the organization cannot be considered."I have submitted med reports to cmpyX and they infrmed me to call Ycmpy Asst Mgm,but she never recevies my call.And the person whom i have infrmed also taken U turn.And also taken transfer to another site.What Shld i donow to get my papr Exp,Releaving back.my Feb mth sal also nt gvn