Good grief!! Someone needs to get her to a Vet ASAP!! Someone also needs to get her out of that home if she is being abused! Call Animal Control and report that jerk.
Your friend better dump this jerk before she is his next victim!!
Please step in and do something!!
Everything Margot said and more that I can't print here. Get the dog to a vet and encourage your friend to dump the boyf. If there's known routine abuse going on, I'd maybe also call animal welfare to step in.
Tony