The appellate court shall disregard all mere technical errors and irregularities which do not affirmatively appear to have prejudicially affected the substantial rights of the party complaining, where it appears upon the whole record that substantial justice has been done by the judgment or order of the trial court; and in any case pending before it, the court shall render such final judgment as it deems that justice requires, or direct such judgment to be rendered by the court from which the appeal was taken, without regard to technical errors and irregularities in the proceedings of the trial court.
K.S.A. 60-2105