On the day when matters were concluded between Richard and Mr. Badger, we were all under engagement to dine at Mr. Badger's house. 
On the day when these matters were concluded, we were invited to dine at Mr. Badger's house. 