You might like to go for your friend. I'd send a card to your friend and to his family. I'm there is no need to send flowers unless you'd like to give some to your friend later.
I have a bit of a similar dilemma with my sister in law's mother who is fading in hospital. I will go for sil and DN but not sure what else to do apart from sending cards.
I'm a big believer in sending cards to show you are thinking of someone who is rather more remotely connected.
Richard Osman and his House of Games
Wedding Present Dinner Service.
Sudden pain in back of leg behind knee
My daughter is lying about me and editing me out of her life.
