Lawmakers passed a bill on Thursday to allow Durham voters to add a one-percent sales tax on prepared food.