Youch!
Well, on the plus side, you can see the volute did it's job - the extra wood there isn't just a reference point for your fretting hand, it's intended to beef up the critical nut area which would be the thinnest and weakest part of the neck in the event of catastrophe like this.
Since the lower part of the headstock survived, it means that this kind of repair preserved all the original wood from the factory in the business part of the bass.
It looks like the repair that was done tried to preserve the neck and wood, which would have had more impact if a scarf joint were attempted. I wonder if the factory would have done that though - the surface area were the new headstock was added is small and, much worse, it's an end-grain butt joint which wouldn't be very strong. The scarf joint is a lot more work, but the gluing surfaces are along the length of the grain and there's probably 3x the surface, too. The new face laminates should help stabilize everything, but they probably didn't start life expecting they'd be structural members of the new headstock.
David Fung