How to pay Zakah (obligatory charity) due on articles of merchandise?
Articles of merchandise are estimated by their whole sale market price at the end of each lunar year, and (2.5%) of their value is paid as Zakah whether it (value) went up, or down compared to actual purchasing price, and whether the increase (profit) was in the article itself such as an increase in the animal`s weight, or in the prices themselves. And Allah Knows Best.
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.
Does bleeding from the body, such as from wounds, invalidate ablution?
Bleeding doesn't invalidate person's ablution. And Allah Knows Best.
Is prayer nullified by having thoughts while performing it?
Prayer isn`t nullified by having thoughts while performing it, provided that the praying person offers all of its pillars and meets all of its conditions. However, the reward decreases significantly in the absence of reverence since a praying person is rewarded according to the attentiveness of his/her heart during prayer.