Same when I worked at McDonald's in the early 70s. One guy got fired for accepting a tip.
When I worked at Publix during summers they would fire you if you took tips for taking the customers bags to their car. They would actually have managers on the roof observing.