It's awful Fitton, but do what you have to do for the dog.
Was in a similar situation myself just 2 years back and it was a truly horrendous decision to have to make. Even just typing this makes me fill up, but I knew the right decision had been made.
If your dog IS put to sleep then please understand it is painless and not distressing to the dog.
Good luck x