Ask an Immigration Solicitor. Get an Answer ASAP.
If this was an absence due to holidays approved by your employer they will have to state that in a letter. Did you apply for a new Tier 2 visa. Was your employment concluded?
OK why did your employer issue a P45?
If you can get your employer to confirm period away was for work that will be great.
Your employer would need to clarify the situation because they are your sponsor.
Your employer should be able to guide you. They have a responsibility as a Home Office sponsorship holder.
It would be my pleasure to assist you but it is against JA policy as I understand it to directly engage with users. I will make enquiries with JA first to see if it is acceptable and if so I will make contact.