It's wired not according to spec, but it should be fine.
I suspect the breaker is bad, OR, the breaker supplying power to the subpanel is 1/2 tripped, or is bad.
What we need to do is find out where the problem is.
To do that, we need to measure the voltage coming into the subpanel, at the two main "hot" lugs of the Bus Bar (The black and Red, NOT on the breaker, but coming from the house into the subpanel).
If you get ~240, then check voltage again at the red and black of the breaker.
If you don't get ~240, then we'll go from there, but 1st things 1st
