It shall be unlawful for the mayor or any member of the council to be interested, either directly or indirectly, in any contract with the city on any public work or improvement or in furnishing supplies of any kind for the use of the city or in any transaction in any way involving the expenditure of the money of the city, except as may be approved in advance by the consent of a majority of the other members of the mayor and council. Violation of this section shall render any such contract or transaction void unless subsequently approved by a majority of the mayor and council at a regular or special meeting.