I am getting error saying Cash acount must be type payable

I want to make payment to supplier while I am selecting cash or bank it say respective account must be of type payable but I am receiving payment of customer to the same account. How should I solve the issue?

I found the problem, I mistakenly put Account to “Paid From”!

Thanks For the Reply.