I have to agree with George....if this is a "friend", it probably would've been better to just say, "hey, I'll do this for you, but it's gonna be T&M. my rate is $XX per hour, and I'll work as efficiently as I can, but with this type of work, if I run into problems, it could take a LOT longer."
no offense, but $840 for 7 outlets for a "friend" seems a little steep. If they agree to the T&M, you're at least getting your hourly rate and materials. Maybe you can still figure it out that way for them, and resubmit a new bill to them as a gesture....assuming T&M ends up less? :-)