All fines and costs collected or received by the municipal court shall be reported and paid monthly, or at such other intervals as may be provided by an ordinance of the municipality, to the treasurer of the municipality and deposited in the general fund of the municipality.