Hi Sallybun.
Depending on how far gone the rot is, you could use a two pack hard filler to repair the wood. If you can scrape out all the rot and your left with a hole no bigger than a golf ball i would say fill it.
You will need to fix the glass in, but i would get some glazing sprigs for a...