I'm the one who has to look at the code.
What I see can't be saved. It is a total mess. The team is clueless but at the other hand they really put a lot of effort and work hard. They now want to change the framework and refactor a portion of the software. But I have a feeling that this a never ending story.
What it makes it really difficult is to accept the loss, trow away all the money and time and begin all over again. So the founder has the feeling that there must be a way to launch with this code base and delay the rewrite.
In the meantime, the founder should take a couple of web development courses. There are some great Intro classes through Skillshare, Codecademy, etc. It will definitely help him in the long term if he is planning on running a tech startup.
It might be worth it to find a developer who can look at what you have so far and talk to the outsourcing company to find out if 1) what you have is salvageable and 2) whether the team is capable of completing the project. There are a lot of hacks out there that will hold themselves out as accomplished outsourcing firms. You have to be careful who you hire.