The mayor and council shall prescribe by ordinance the procedures for all purchases of real and personal property by the city. Prior to the making of purchases and contracts, the availability of adequate funds shall be certified as provided by ordinance.