In with all the "OMG's" ther are a few honest questions that I think we ought to answer.
"Isn't PVC just PVC?" Well, the answer is yes, no, and maybe ... and not necessarily in that order. Let's look at that topic a bit more:
Electrical PVC conduit is made to "Schedule 40" dimensions, so it's the same size as Schedule 40 plumbing PVC pipe. In out picture, though, we see PVC drain/ sewer tile, which is NOT "Schedule 40" pipe. It has a much thinner wall.
Plumbing uses elbows with much tighter bends than we are allowed to use for wire. This is plain to see in the picture, by comparing the gray 'sweep' to the white 90's.
The ANSI standard for PVC conduit requires it to be sunlight resistant. There is no such requirement for plumbing pipe. That's pretty much irrellevant as regards this picture.
Electrical pipe also has 'stiffeners' added to it to make it more rigid. Plumbing pipe assumes it will be filled with water, and the water will help support the pipe. That, at least, is the official word from the geek at Can-Tex.
Unfortunately, the geek never enters the plant, and the production guru tells me that they actually do use the exact same plastic, just adding color, and changing the labeling. Maybe they do; there's no technical reason one could not make a pipe that met BOTH standards. That UL lable costs $$$, though. Maybe the color beads have the 'stiffeners' in them too; I just don't know.
If you want to get technical, you're also required to use listed PVC glue. I've only seen clear glue with the UL lable for electrical use; the stuff in the plumbing aisle has a different lable on it. The NEC makes no mention of PVC cleaners and primers. Personally, I'll switch between the 'thin' bodied clear glue and the 'medium' bodied gray (and not listed) glue depending on temperature and sunlight conditions; the clear stuff gives me more working time in the Summer.
Of course, PVC glue is completely useless on the black ABS pipe. We MIGHT bee looking at a plumbing / sewer transition piece with an O-ring inside.
The support methods used are typical of plumbing, and of themselves are allowed. There are not, however, enough of them- especially just above the panels. That open 'sanitary tee' also needs to be closed off.
Romex, by itself, is allowed in most commercial construction these days. This installation is lacking the necessary supports, though. If anything, this picture makes me pine for the good old days, where commercial work automatically meant a licensed EC was called in.