A friend of mine signed a contract with Company A, but his work site is based in Company B's office, and reports to Company B's manager.
But from the legal perspective, Company A extended the offer, signed the contract with them, receives salary from them and at the end of the year T4 is also...