Except as provided by any order of the court, no attorney assigned to represent a person by reason of poverty shall take or agree to take or seek to obtain from the client, payment of any fee, profit or reward for the conduct of such proceedings for office or other expenses; but no attorney shall be required to expend any personal funds in the prosecution of the cause.