Cash received from company's director

Cash received from company's director

Hi.

Please help me on below issue.

I received cash from company's director. The money is used to purchase all office equipments and supplies. The question is how do I record the cash received from director? And if I record an expense how to click on the right account the money comes out from the cash received from director?

Thank you in advance for your help.