The past tense of have the last laugh is had the last laugh.
The third-person singular simple present indicative form of have the last laugh is has the last laugh.
The present participle of have the last laugh is having the last laugh.
The past participle of have the last laugh is had the last laugh.