All payments made prior to trial by or on behalf of the defendant shall be subtracted from the judgment before interest as provided in subsection (1) of section 45-103.02 is added.