Needs soldering, and reglueing - if it has taken a knock in transit hard enough to dislodge that cap (unless these have a history of the glue failing on the smoothing caps?), I would also check out the rest of the PCB for dry joints.
Does it have transport screws, and were they used for shipping? Sounds like you got lucky.
Richard