What is the ruling on not fulfilling a vow?
A vow is a commitment towards Allah, The Almighty, and so, it should be observed as much as possible, and it is impermissible to take it lightly. Allah, The Exalted, Says –in commending the believers (What means): "(Because) they perform the vow and fear a day whereof the evil is wide-spreading." [Al-Insan/7].
Does ill-gotten money hinder the answering of the Du`a (supplication) and the means of subsistence?
Sins hinder the answering of the Du`a, and deprive the sinner from means of subsistence; whereas, acts of obedience facilitate making a living. Allah, The Almighty, Says (What means) : "And for those who fear God, He (ever) prepares a way out. And He provides for him from (sources) he never could imagine." [At-Talaq/2-3].
I work in an accounting and auditing office, and among the clients of the office are restaurants, hotels, and supermarkets that sell alcohol. Our work is limited to collecting invoices, whether purchases, sales, or expenses, and recording them in daily books. We also review income and sales taxes on behalf of these clients.
You are more knowledgeable about the nature of your work. If you see it as assisting in wrongdoing, then it is forbidden, as Allah The Exalted Says (What means): "And cooperate in righteousness and piety, but do not cooperate in sin and aggression" [Al-Ma’idah/2]. However, if your work is merely documenting the reality, then I hope there is no sin upon you. The the pious predecessors (Salaf) used to take the tithe from the traders of the People of the Book, even if it included alcohol, after knowing the value of their goods. And Allah The Almighty Knows Best.
Is it permissible for a person who had vowed to give a certain amount of money to another, but didn`t find the latter to donate that money to the mosque?
In principle, the vowing person should abide by his vow as much as possible. Therefore, if he couldn`t find the person that he had made the vow for, then the vow itself is countless and nothing is due on its maker. However, if the latter happens to find the former later on then, he has to give him that money.