Fixed the validation of all the monetary inputs and fixed the logic of cancellation calculation.