No warrants shall be drawn for any sum on account of any salary or payroll in excess of the amount then due, nor shall any warrant for any purpose be drawn except in accordance with the provisions of law.