Yeah I guess he was on a season long loan (or some loan deal) and they've already decided to sign permanently now instead of at the end of his loan deal. The loan deal covers up until the end of the season then his new permanent deal will kick in the day after his load expires I guess.
The two clubs will then have an agreement on who pays his wages until the end of the season.