When any money is due any county, city, town or school district in this state from sale, lease or rental or any public property, or royalty, or for compensation for service of public employees or other purpose, it shall be paid over to the lawful treasurer thereof.
The governing board shall have authority to direct by written resolution duly entered in the minutes of its meeting at the time such money is received or prior thereto that such money shall be credited to the fund account from which such property was derived or from which payment has been or will be made for such services rendered or other purposes.
If there be no resolution by the governing board directing the disposition of the money received as contemplated herein it shall be the duty of the treasurer to credit such money so received to the general fund.
The governing board shall have authority to direct that a fund derived for such sources as herein contemplated, where applicable to a public utility, be created and used to repair, relocate or replace any utility or part thereof new or hereafter existing.
Okla. Stat. tit. 62, § 335