Looks more like the box was dropped in shipment, and the transformer broke loose in the case. Probably fell out of a truck, and they sent it back as damaged after opening on the ground, and seeing the dents. Screws probably pulled from impact a few more drops later on and likely at install they were half stripped anyway. Case a can of matt black will fix it, knock the dents flat with a large and small hammer and a cloth to protect the metal, and it will work.
Switch and fuse holder typical sweat shop soldering, just they used the cheapest ones, which are pretty poor and break, and the indicator was taken out by the transformer. Disconnect the indicator and insulate the wires to it temporarily, temporarily put in a fuse holder and 5A fuse, and plug in and turn on, them measure the output voltage, likely it will be 100VAC, if the right transformer, or 230VAC, if they put it in the wrong way. then you can consider to buy a decent switch and fuse holder, solder in the fuse holder, and use spade connectors for the switch, and heat shrink sleeving over the connections after installing, and use it. Use small nuts and bolts, along with washers, to hold the transformer down, not the tiny rivets they used.