How to Exclude the penalties

Is there any way to “exclude penalty” in mifos while repaying… penalty should not be applied or it should not be added in to next installment/outstanding amount(in case of late payment)…it should be calculated(Total penalties)at the end of loan closing process.
please guide for the same.
Thank you!