The council of cities of the first and second classes shall have power to prescribe and enforce penalties for the nonpayment, within the time fixed for their payment, of taxes imposed under authority of this act, and for the violation of the provisions of ordinances passed under authority of this act.
53 P.S. § 15973