compromise of suit

Where it is proved to the satisfaction of the court that a suit has been adjusted wholly or in part by any lawful agreement or compromise or where the defendant satisfied the plaintiff in respect of the whole or and part of the subject-matter of the suit, the court shall order such agreement, compromise or satisfaction to be recorded, and shall pass a decree in accordance therewith so far as it relates to the suit.