cash discount term not working properly

hi all

i had made a discount term as 1/1n5.invoice date is 10-10-2012.due date is 11-10-2012.but after due date the invoice still shows discount.i want to know why this happen?according to rule it had to show full amount after due date?