What happens if there’s no money for a funeral??

My best friend’s father in law just passed and there’s no money for the funeral. They’re already going to cremate him, but at 3grand for transportation of the body etc., they can’t afford it. Does anyone have any advice?