How to validate due amount to end only in 0 or 5?