I need to find a movie where the lead guy sees his fate (i guess)

0

A movie where the lead actor dreams his children grown up and his father dead. The meets angel of death at the cemetry. He then faints at a party and is hospitalised where his son meets him and he go up to them when he leaves and he sees angel of death and hears him say “it’s time” and he dies (goes with the angel). Then he wakes up on a couch at a store where the store rep watched him sleep and he goes back to his house and be happy with his family and visits his father.

Answered question

“click” is close to this, but not a perfect match
https://en.m.wikipedia.org/wiki/Click_(2006_film)