THat's sounds dodgy..

You can work and stay here legally while your application is in the Home Office.

SHow your ILR Note to your employer (it shows there about your status) and contact the Home Office ASAP to get an advice, they might give a letter or reference for your employer to check your status.