Let’s look at the first electrical panel. There are 3 problems with this panel. #1 The 2 high voltage lines and the neutral line coming into the the main shot off switch are painted white. These is not legal, The 2 high voltage lines required to be marked in black and the neutral must be marked in white. This is not only a state code but a national code.
#2 If a person needed to add and outlet on an existing circuit and opened up and an existing outlet box cover and saw the white wire he would automatically think black with black wire, the white with white wire and ground, with ground wire. 98% of the time you would be right, but if the white wire is not labeled properly in the panel as a 220-volt, at the same time the outlet box is also improperly labeled you would cross wiring a 110-volt appliance with 220-volts and burn it out that is if it doesn’t start a electrical fire.
The 3rd problem is this panel is a 2nddairy sub panel. When you wire a sub panel the neutral wire must go to the neutral bar and the ground wires must go to the grounding bar. They cannot be mixed it the law.
On this next photo this electrical panel was done properly. The high voltage lines are labeled properly as well as the 220-volt circuits and the neutrals and grounds are supported properly.