We need to know if your friend has signed any contract with the pervious company, and what was the notice period. If you do not serve the notice period of that company, did the contract mention any clause for the same. we need to know only then we would be able to advice.
Regards, The Benchmark Law firm. Adv.Mrs. K.H.Mujawar.