East Ayrshire and West Dunbartonshire are among the council areas with the lowest budget for school necessities.