Now that the whole picture is uncovered (no proper design from the start), you could keep trying to thrash all the pieces into a solution, or, you could work with the customer to do the design work, and see what pops out at the other end. From that design, some or all of the current pieces then might fit (be reused) in the new design.
At the least, and just guessing because the design requirements aren't obvious, I'd say move to 24v or 48v inverter, being as someone thought they needed two 5kw 12v inverters. The good news is that you can assemble some beefy 24v or 48v battery-banks from the pile of 12v batteries.
Customer might complain, but that is a consequence of possible purchase before design ...