how to repair bi-fold door with fallen slats?
Apply glue and clamping pressure from the center and work slowly upwards. As you gradually tighten the clamps, fit the slots back in place working upwards as the space between the stiles closes. It should slide back together. You might add a mechanical fastener to the top to strengthen it.

I've fixed similar doors this way. Be patient and don't rush it.