I have a brother who works at a factory where they make cars. His father told him to work with him at grocery store. They don't sell beer or any thing Haram except they have lotto machine That is gambling but the money they collect from the lotto goes separate from the store money. He refused to obey his father's saying it is Haram. Pleas clarify that.
Praise be to Allah, the Lord of the Worlds; and may His blessings and peace be upon our Prophet Muhammad and upon all his Family and Companions.
If the money of the lotto machine is independent from that of the grocery, then your brother should accept his father's offer and work with him within the limits of that which is lawful and staying away from the prohibited.
He should also try to advise his father and convince him to remove this lotto machine from the store. If he succeeds, he will be highly rewarded for that as he combined obeying his father and removing a Munkar (bad thing), hence stopping its bad use.
Allah knows best.
You can search for fatwa through many choices