If "B" is a reservoir, then VB = 0, so that's the first thing you're doing wrong.
Also, when you write the Bernoulli equation from A to B, then hf has to be from A to B. From what you wrote above, your hf is only from A to the end of branch 1. So, yes, you need to add the friction loss across...