This ending makes no sense, here's what should have happened.
What should have happened:
The kid tells his mom at the last minute that he's working a job at the water park, so she agrees to stay there with him for the rest of the summer while Trent and his daughter leaves. That would have been perfect. But instead it showed them sucking up to Trent.